# 卖家信息
# 首次填写
POST /api/v2/mall/shop-info
1
请求参数
参数 | 类型 | 描述 |
---|---|---|
qrCode | string | 可选,二维码 |
weChat | string | 可选,微信号 |
phone | string | 可选,联系电话 |
Status: 201 Created
1
{
"message": "保存成功"
}
1
2
3
2
3
# 检测
GET /api/v2/mall/shop-info-check
1
{
"status": true, // 是否有信息
"is_original": true // status 为true时出现
}
1
2
3
4
2
3
4
# 获取信息
GET /api/v2/mall/shop-info
1
{
"user_id": 4,
"is_original": null,
"qrCode": {
"url": "http://ts.test/storage/public:MjAyMC8wNC8yNi9lOTk4SFdNT2FsbWRVQkNiek1UM2NCSDRnTkppT04xS2lXcWhqZ3VVVWpYemFDNFdXRDRwQ01UWVFKYVVvb1RFLkpQRw==",
"vendor": "local",
"mime": "image/jpeg",
"size": 320452,
"dimension": {
"width": 800,
"height": 800
},
"node": "public:2020/04/26/e998HWMOalmdUBCbzMT3cBH4gNJiON1KiWqhjguUUjXzaC4WWD4pCMTYQJaUooTE.JPG"
},
"weChat": "2341",
"phone": "12341"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17