文档
测试

上传商店

POST
upload_store_info

接口描述

上传商店信息

请求参数

参数名
类型
描述
必填
user_id
int
示例:1
必填
store_name
string
示例:花花花圃
必填
head_img_id
int
示例:1
必填
store_type
string
示例:
必填
province
string
示例:山东省
必填
city
string
示例:潍坊市
必填
district
string
示例:诸城市
必填
detailed_address
string
示例:
必填
longitude
float
示例:12.4555
必填
latitude
float
示例:13.556567
必填
business_hours
string
示例:
必填
store_ describe
string
示例:
必填
contact_phone
string
示例:
必填
product_img_ids
string
示例:[1,2,3]
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:上传失败
必填

说明 / 示例

### 上传json #### { "store_name": "花花花圃", "head_img": 1, "store_type": "", "province": "山东省", "city": "潍坊市", "district": "诸城市", "detailed_address": "", "longitude": 12.4555, "latitude": 13.556567, "business_hours": "", "store_ describe": "", "contact_phone": "", "product_img_ids": "[1,2,3]" } ### 响应json #### 失败 { "code": 0, "msg": "上传失败" } #### 成功 { "code": 1, "msg": "上传成功" }