简要描述:
接口版本:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2020-04-03 |
|
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
token |
是 |
string |
token参数 |
请求参数:
返回示例:
正确时返回:
【未开店】
{
"status": 0,
"msg": "未开店",
"data": []
}
[提交开店信息]
{
"status": 200,
"msg": "获取成功",
"data": {
"shop_id": 1,
"uid": 3,
"shop_user_type": "",
"phone": "13113691111",
"shop_name": "便利炸鸡",
"shop_logo": "http://chicken.com/uploads/user/shop/2020-04-03/5e86e98314220.png",
"shop_type": [
"1",
"2"
],
"shop_describe": "便利炸鸡",
"shop_address": "深圳市龙岗区鹤呜东路46号",
"longitude": "114.342236",
"latitude": "22.790406",
"shop_status": 0,
"shop_time": "",
"order_expiration_time": 30,
"receipt_order_setting": 1,
"status": 0,
"msg": "",
"create_at": "2020-04-03 16:03:07",
}
}
错误时返回:
{
"status": 0,
"msg": "token过期",
"data": []
}
data返回参数说明:
参数名 |
类型 |
说明 |
shop_id |
int |
店铺id |
uid |
int |
用户uid |
shop_user_type |
string |
店员身份 |
phone |
string |
手机号 |
shop_name |
string |
店铺名称 |
shop_logo |
string |
店铺logo |
shop_type |
array |
店铺类型,可多选【1=便利店,2=炸鸡店】 |
shop_describe |
string |
店铺简介 |
shop_address |
string |
店铺地址 |
longitude |
string |
店铺经度 |
latitude |
string |
店铺维度 |
shop_status |
int |
店铺状态【0=待开店,1=开店,2=暂停营业】 |
shop_time |
string |
店铺营业时间 |
order_expiration_time |
int |
订单过期时间(分钟) |
receipt_order_setting |
int |
接单设置【1=自动接单,2=手动接单】 |
status |
int |
店铺审核状态【0=待审核,1=审核通过,2=审核不通过】 |
msg |
string |
审核信息 |
create_at |
string |
开店申请时间 |
备注:
文档更新时间: 2020-04-03 16:15 作者:admin