+++
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" => ''
}
}
}
+++