~~~[api]
get:app/index.php?i=1&c=entry&ctrl=wmall&ac=store&op=options&do=api&m=we7_wmall
*int:id=9755#商品id
<<<
success
{
"errno": 0,
"message": {
"id": "9755",
"uniacid": "1",
"sid": "3", //店鋪id
"cid": "1255", //商品分類id
"title": "特色漂丸砂鍋", //商品名稱
"price": "20", //價格
"box_price": "0", //餐盒價格
"is_options": "1",
"unitname": "份", //商品單位
"total": "9980", //庫存
"sailed": "11", //已售
"status": "1", //狀態
"is_hot": "0", //是否是熱銷商品
"thumb": "https:\/\/fuss10.elemecdn.com\/f\/4f\/f7a9a2f0e6163e218c243cd2b9e72jpeg.jpeg", //商品圖片
"slides": [], //商品幻燈片
"label": "",
"displayorder": "255",
"description": "",
"comment_total": "0",
"comment_good": "0",
"print_label": "0", //打印標簽
"total_update_type": "1",
"content": "", //商品描述
"number": "",
"attrs": [{ //商品屬性
"name": "辣度",
"label": ["微辣", "不辣", "中辣", "特辣"]
}],
"old_price": "18",
"elemeId": "1280482613",
"meituanId": "0",
"openplateformCode": "0",
"total_warning": "0",
"child_id": "0",
"is_showtime": "0",
"start_time1": "",
"end_time1": "",
"start_time2": "",
"end_time2": "",
"week": "",
"options": [{ //商品規格
"id": "1102",
"uniacid": "1",
"sid": "3",//商品id
"goods_id": "9755",
"name": "大", //規格名稱
"price": "20", // 價格
"total": "-1", // 庫存
"displayorder": "0", //排序
"total_warning": "0" //庫存預警
}, {
"id": "1103",
"uniacid": "1",
"sid": "3",
"goods_id": "9755",
"name": "中",
"price": "18",
"total": "-1",
"displayorder": "0",
"total_warning": "0"
}, {
"id": "1104",
"uniacid": "1",
"sid": "3",
"goods_id": "9755",
"name": "小",
"price": "16",
"total": "-1",
"displayorder": "0",
"total_warning": "0"
}],
"is_attrs": 1,
"option_id": "1102_0s0",
"thumb_": "https:\/\/fuss10.elemecdn.com\/f\/4f\/f7a9a2f0e6163e218c243cd2b9e72jpeg.jpeg",
"comment_good_percent": "0%"
}
}
<<<
error
~~~