ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 单条商品信息 /** * 单条商品信息 * @http_method get * @param id 商品id * @author 韩文博 * @return array 特殊字段说明:attr属性 spec当前规格 spec_sign规格指示(用来判断拼接的规格是哪件商品) spec_list规格列表 */ +++ get:Server/Goods/detail <<< success { "code":0, "result":{ "info":{ "data":{ "id":1062, "title":"孕婴推荐:晋皇羊肥小米孕婴卡", "category_id":702, "category_title":"线上卡券>二级>三级", "brand_id":0, "brand_title":"", "type_id":0, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20171013/1507883107522206.jpg", "attr":[ ], "body":"<div style="margin:0px;padding:0px;color:#666666;font-family:tahoma, arial, 'Microsoft YaHei', 'Hiragino Sans GB', u5b8bu4f53, sans-serif;text-align:center;background-color:#FFFFFF;"> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t8101/333/2019166789/115252/f7e7c7d2/59c24a57Nc0840629.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t8920/238/2001276008/435217/b881254e/59c3314dNb8d99673.jpg" /><br /> </div> <div style="margin:0px;padding:0px;color:#666666;font-family:tahoma, arial, 'Microsoft YaHei', 'Hiragino Sans GB', u5b8bu4f53, sans-serif;background-color:#FFFFFF;"> <div style="margin:0px;padding:0px;text-align:center;"> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t9025/33/1505530160/259489/e4345d37/59c248b3N7c51d76e.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t10624/168/398089456/817053/e5f34922/59cd9b3bNb1a6d07d.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t9184/343/1997508738/265333/4d02f050/59c248b1Nb8fb54c3.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t9757/182/380443629/806095/e1182c5/59cd9b40Na885cf68.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t8095/138/2402717565/360347/cb476aed/59cd9c7bN8dbf50bb.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t8749/151/2054848660/385706/9190dd93/59c31cd8Neca3f39f.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t8980/237/2072274086/654480/6014b126/59c4c28eN44d215c6.jpg" /><br /> <img alt="" class="" src="https://img10.360buyimg.com/imgzone/jfs/t8200/221/2014600042/427230/540a948b/59c31cd8N0f76fea4.jpg" /> </div> </div>", "state":1, "state_remark":null, "verify":1, "verify_remark":null, "lock":0, "create_time":"2017-10-13 16:28:13", "sell_time":0, "spec_name":"800g", "price":"169.00", "market_price":"169.00", "integral":null, "cost_price":"0.00", "discount":0, "serial":"", "transport_id":0, "transport_title":"", "commend":0, "freight":"0.00", "vat":0, "city_id":null, "area_id":null, "non_audit":"", "edit_time":1507883293, "flash_sale":0, "user_id":null, "evaluation_good_star":5, "evaluation_count":0, "visit_count":null, "storage":999, "sale_num":0, "share_count":0, "category_id1":2, "category_id2":687, "desc":"套餐包括:400g宝宝米+400g妈妈米", "hot_tag":null, "limit_buy":0, "place":"", "sales_time":"", "remarks":"", "goods_choice_id":0, "choice_desc":null, "sort":1, "goods_common_id":100754, "collect_count":0, "spec":[ { "id":149, "title":"800g" } ], "color_id":0, "evaluate_good_star":5, "evaluate_count":0, "b_id":null, "package_num":2, "package_title":"孕婴卡", "package_desc":"400g宝宝米+400g妈妈米", "coupon_id":34, "coupon_card_id":"pchzyw6TgLtuKzZ2qSVVnvOjr-kE", "show":1, "common_title":"孕婴推荐:晋皇羊肥小米孕婴卡", "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20171013/1507883107522206.jpg" }, { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20171013/1507883111443433.jpg" } ], "goods_evaluate_info":{ "good":0, "normal":0, "bad":0, "all":0, "image":{ "count":0 }, "good_percent":100, "normal_percent":0, "bad_percent":0, "good_star":5 }, "spec_key_name":{ "149":"800g" }, "spec_ids":[ 149 ], "spec_sign":[ { "sign":"149", "goods_id":1062 } ], "spec_list":[ { "id":10, "title":"型号", "items":[ { "id":149, "title":"800g" } ] } ], "share_title":"孕婴推荐:晋皇羊肥小米孕婴卡", "share_img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20171013/1507883107522206.jpg", "share_desc":"孕婴推荐:晋皇羊肥小米孕婴卡", "share_url":"SITE_URL/app/index/downloadapp", "tel":null, "app_url":"SITE_URL/app/goods/detail?id=1062", "choice_data":[ ] }, "recommend_goods":[ ] } }, "msg":"SUCCESS" } <<< error +++