- 获取基础设置
接口
POST https://open.jisuapp.cn/business/Shop/GetPickUpSetting
请求参数说明
Content-Type: application/x-www-form-urlencoded
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | string | Y | 用户授权的唯一票据 |
| pick_up_type | int | Y | 取货方式 2同城配送 4餐饮 |
返回参数
| 参数 | 类型 | 说明 | |
|---|---|---|---|
| app_store_data | obj | 门店详情 | |
| config_data | obj | 基础配置详情 |
参数返回示例
{
"status": 0,
"data": {
"id": "1",
"app_id": "AAAAAAAA",
"config_name": "pick_up_setting_2",
"add_time": "1546418702",
"update_time": "1563268554",
"pick_up_status": 1,
//基础设置信息config_data,字段详情跳转到 "店铺基础设置"
"config_data": {
"app_store_id": "2",
"set_deliver_area_type": "1",
"deliver_rule_data": {
"base_deliver_distance": "1000",
"base_min_deliver_price": "1",
"base_deliver_fee": "1",
"base_deliver_time": "2",
"increment_deliver_distance": "1000",
"increment_min_deliver_price": " ",
"increment_deliver_fee": "2",
"increment_deliver_time": "2"
},
"deliver_distance": "6000",
"business_rule": {
"type": "2",
"exclude_holiday": "1",
"custom": {
"business_time": [
{
"business_week": "1101110",
"business_time_interval": [
{
"start_time": "02:00",
"end_time": "19:00"
},
{
"start_time": "19:43",
"end_time": "23:00"
}
]
}
]
}
}
},
//app_store_data门店详情,字段详情跳转到 "门店-添加/修改 门店"
"app_store_data": {
"id": "149",
"contact_name": "ffg",
"contact_phone": "18610714529",
"title": "测试门店",
"logo": "http://img.weiye.me/zcimgdir/album/file_5aab244326afd.jpg",
"industry_type": "111",
"region": "2150",
"country_region_id": "1",
"address_detail": "芒果网大厦",
"longitude": "113.935493",
"latitude": "22.523899",
"store_desc": "新建门店",
"service_phone": "077512345678",
"app_id": "GumaC311tx",
"transport_id": "0",
"status": "1",
"add_time": "1527472756",
},
"update_time": "1557746844",
"user_token": "648f995c1ca51dea34170ac21a7ef4f7",
"can_use_deliver_type": [
"1",
"3"
],
"region_data": {
"region_string": "中国 广东省 深圳市 南山区 ",
"region_ids": [
"19",
"233",
"2150"
],
"region_names": {
"country": "中国",
"province": "广东省",
"city": "深圳市",
"district": "南山区"
},
"country_region_id": 1
},
},
}
}