+++
post:app/api.php?i=2&c=entry&do=store&op=list&m=we7_wmall
*lat=39.90923#用戶所處緯度(必填)
*lng=116.397428#用戶所處經度(必填)
cid#門店類型(0為所有門店)(選填)
dis#優惠活動(選填)
order#智能排序,默認按照距離排序(選填)
<<<
success
{
"message": {
"resultCode": 0,
"resultMessage": "調用成功",
"data": {
"list": [
{
"id": "2", //門店id,獲取門店詳情時會用到
"title": "幸福便利店",
"logo": "http://1.023wx.cn/attachment/images/1/2016/04/CZDD4tK5YOtdKbyFcv4RBCd24voh52.png",
"sailed": "666", //已售份數
"score": "5", //評分
"business_hours": [
{
"s": "00:00", //營業時間
"e": "23:55"
}
],
"is_in_business": "1",
"delivery_price": "0", //配送費
"delivery_free_price": "0", //滿多少錢免配送費
"send_price": "10", //起送價
"delivery_time": "30", //配送時間
"delivery_mode": "2", //門店配送方式,1:門店自己配送,2:平臺配送
"token_status": "0",
"invoice_status": "0", //是否支持開發票
"location_x": "", //門店經緯度
"location_y": "",
"forward_mode": "0",
"is_in_business_hours": true, //是否在營業時間
"hot_goods": [], //熱銷商品(這是一個數組)
"activity": { //營銷活動
"id": "3",
"uniacid": "1",
"sid": "2",
"first_order_status": "1", //首次下單優惠是否開啟
"first_order_data": {
"20": {
"condition": 20, //滿多少錢
"back": 8 //優惠多少錢
}
},
"discount_status": "0", //滿減優惠是否開啟
"discount_data": {
"30": {
"condition": 30, //滿多少錢
"back": 5 //優惠多少錢
},
"50": {
"condition": 50,
"back": 10
}
},
"grant_status": "0", //滿贈優惠是否開啟
"grant_data": [
""
],
"collect_coupon_status": "0", //進店可領取代金券
"grant_coupon_status": "0",
"amount_status": "0",
"amount_data": [
""
],
"activity_num": 1
},
"score_cn": 100,
"url": "./index.php?i=1&c=entry&do=goods&m=we7_wmall&sid=2",
"distance": 0, //客戶距離門店的距離
"is_in_business_hours_": 100000,
"displayorder_order": 100000,
"sailed_order": 66700666,
"score_order": 600005,
"click_order": 100000,
"distance_order": 0,
"send_price_order": 10,
"delivery_time_order": 30
}
"max_id": 39, //最大id
"min_id": 38 //最小id
}
}
}
<<<
error
{
"message": {
"resultCode": -1,
"resultMessage": "",
"data": {
"resultCode" => ''
}
}
}
+++