Path: /api/common/menus
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ banner | object [] | 非必须 | item 类型: object | ||
├─ name | string | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ menu | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ url | string | 必须 |
Path: /api/common/recharge_quota
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ recharge_quota | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ data | object | 必须 | |||
├─ price | number | 非必须 | |||
├─ give | number | 非必须 | |||
├─ recharge_attention | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/config
Method: GET
接口描述:
Path: /api/store/product/bag
Method: GET
接口描述:
Path: /api/store/product/bag/recommend
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/store/product/bag/explain
Method: GET
接口描述:
Path: /api/common/feedback_type
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": [
{
"feedback_category_id":154,
"pid":0,
"cate_name":"一级分类",
"sort":1,
"pic":"http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show":1,
"level":0,
"mer_id":0,
"create_time":"2020-06-08 18:28:56",
"children": [
{
"feedback_category_id":156,
"pid":154,
"cate_name":"s级分类",
"sort":1,
"pic":"http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show":1,
"level":1,
"mer_id":0,
"create_time":"2020-06-08 18:41:53"
}
]
}
]
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ feedback_category_id | number | 非必须 | |||
├─ pid | number | 非必须 | |||
├─ cate_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ level | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ children | object [] | 非必须 | item 类型: object | ||
├─ feedback_category_id | number | 非必须 | |||
├─ pid | number | 非必须 | |||
├─ cate_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ level | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ create_time | string | 非必须 |
Path: /api/upload/image/:field
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
field |
Path: /api/common/hot_banner/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ pic | string | 必须 |
Path: /api/store/product/category
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 父级 id |
Path: /api/user/history
Method: GET
接口描述:
Path: /api/common/hot_keyword
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ keyword | string | 非必须 |
Path: /api/common/express
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 |
Path: /api/user/feedback
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
type | string | 必须 | 反馈子类型 | ||
content | string | 必须 | 反馈内容 | ||
images | string [] | 必须 | 图片 | item 类型: string | |
├─ | 非必须 | ||||
realname | string | 必须 | 姓名 | ||
contact | string | 必须 | 联系方式 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/feedback/list
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"count":1,
"list": [
{
"feedback_id":6,
"uid":7238,
"type": {
"feedback_category_id":156,
"cate_name":"s级分类"
},
"content":"舍得放手",
"images": [
""
],
"realname":"王二小",
"contact":"qin@qq.com",
"create_time":"2020-06-09 09:53:25",
"status":0,
"reply":null,
"remake":null,
"is_del":0
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ feedback_id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | object | 非必须 | |||
├─ feedback_category_id | number | 非必须 | |||
├─ cate_name | string | 非必须 | |||
├─ content | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ realname | string | 非必须 | |||
├─ contact | string | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ reply | null | 非必须 | |||
├─ remake | null | 非必须 | |||
├─ is_del | number | 非必须 |
Path: /api/user/feedback/detail/:id
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"feedback_id":6,
"uid":7238,
"type":"s级分类",
"content":"舍得放手",
"images": [
""
],
"realname":"王二小",
"contact":"qin@qq.com",
"create_time":"2020-06-09 09:53:25",
"status":0,
"reply":null,
"remake":null,
"is_del":0,
"category":"一级分类"
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ feedback_id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ content | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ realname | string | 非必须 | |||
├─ contact | string | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ remake | null | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ category | string | 非必须 |
Path: /api/common/pay_key/:key
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
key |
Path: /api/lbs/geocoder
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
location | 是 | lat,lng |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/common/visit
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
page | text | 是 | 页面路径 | |
type | text | 是 | routine:小程序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/common/home
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ banner | object [] | 非必须 | banner 图 | item 类型: object | |
├─ name | string | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ menu | object [] | 非必须 | 首页菜单 | item 类型: object | |
├─ name | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ url | string | 必须 | |||
├─ hot | object [] | 非必须 | 热门推荐 | item 类型: object | |
├─ title | string | 必须 | |||
├─ s_title | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ url | string | 必须 | |||
├─ color | string | 必须 | |||
├─ ad | object | 非必须 | 广告图 | ||
├─ home_ad_pic | string | 非必须 | |||
├─ home_ad_url | string | 非必须 |
Path: /api/store/product/category/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"store_category_id": 144,
"pid": 0,
"cate_name": "美容护肤",
"sort": 1,
"pic": "http://mer.锐亚商城.net/uploads/def/fd/3219daf9180e2fd632d66c46f9916b.jpg",
"children": [
{
"store_category_id": 150,
"pid": 144,
"cate_name": "面部护理",
"sort": 100,
"pic": "http://192.168.1.37:8324/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"children": [
{
"store_category_id": 151,
"pid": 150,
"cate_name": "洗面奶",
"sort": 100,
"pic": "http://192.168.1.37:8324/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg"
},
{
"store_category_id": 154,
"pid": 150,
"cate_name": "面膜",
"sort": 0,
"pic": ""
},
{
"store_category_id": 155,
"pid": 150,
"cate_name": "化妆水",
"sort": 0,
"pic": ""
},
{
"store_category_id": 156,
"pid": 150,
"cate_name": "喷雾",
"sort": 0,
"pic": ""
}
]
},
{
"store_category_id": 157,
"pid": 144,
"cate_name": "精致彩妆",
"sort": 0,
"pic": "",
"children": [
{
"store_category_id": 158,
"pid": 157,
"cate_name": "防晒霜",
"sort": 0,
"pic": ""
},
{
"store_category_id": 159,
"pid": 157,
"cate_name": "乳液",
"sort": 0,
"pic": ""
}
]
}
]
}
]
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ store_category_id | number | 非必须 | id | ||
├─ pid | number | 非必须 | 父级id | ||
├─ cate_name | string | 非必须 | 分类名 | ||
├─ sort | number | 非必须 | 排序 | ||
├─ pic | string | 非必须 | 图标 |
Path: /api/store/product/recommend/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 4,
"list": [
{
"product_id": 169,
"cate_id": 144,
"image": "1sdfsdff",
"store_name": "鹊桥卡灰",
"sort": 100,
"sales": 0,
"price": "0.00",
"create_time": "2020-05-18 17:59:29"
},
{
"product_id": 152,
"cate_id": 144,
"image": "1sdfsdff",
"store_name": "商品名称",
"sort": 100,
"sales": 0,
"price": "99.00",
"create_time": "2020-05-11 10:04:07"
},
{
"product_id": 121,
"cate_id": 144,
"image": "1111111f",
"store_name": "商品名称",
"sort": 100,
"sales": 0,
"price": "0.00",
"create_time": "2020-05-09 12:11:09"
},
{
"product_id": 120,
"cate_id": 144,
"image": "",
"store_name": "商品名称",
"sort": 100,
"sales": 0,
"price": "0.00",
"create_time": "2020-05-09 09:56:15"
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 必须 | |||
├─ cate_id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ sales | number | 必须 | |||
├─ price | string | 必须 | |||
├─ create_time | string | 必须 |
Path: /api/common/base64
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
code | text | 是 | 二维码 | |
image | text | 是 | 图片 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/store/product/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"product_id": 200,
"mer_id": 55,
"brand_id": 118,
"image": "http://192.168.1.28:8324/uploads/def/6b/a9d77fa3ab2624273040951f3d895c.jpg",
"store_name": "三体",
"sort": 0,
"rate": "5",
"reply_count": 0,
"sales": 0,
"price": "14.00",
"cost": "10.00",
"ot_price": "5.00",
"stock": 400,
"extension_type": 1,
"create_time": "2020-05-27 15:52:38",
"max_extension": 0,
"merchant": {
"mer_id": 55,
"mer_name": "小卖部"
}
}
]
}
}
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
cate_id | 否 | 分类id | |
order | 否 | 排序方式 'is_new', 新品 'price_asc', 价格升序 'price_desc', 价格降序 'rate', 评分 'sales' 销量 默认传空或不传 | |
price_on | 否 | 价格区间 最低价 | |
price_off | 否 | 价格区间 最高价 | |
brand_id | 否 | 品牌id | |
keyword | 否 | 关键字 | |
page | 否 | 分页 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 非必须 | id | ||
├─ mer_id | number | 非必须 | 商户id | ||
├─ brand_id | number | 非必须 | 品牌id | ||
├─ image | string | 非必须 | 主图 | ||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ sort | number | 非必须 | 排序 | ||
├─ rate | string | 非必须 | 评分 | ||
├─ reply_count | number | 非必须 | 评论数 | ||
├─ sales | number | 非必须 | 销量 | ||
├─ price | string | 非必须 | 价格 | ||
├─ cost | string | 非必须 | 成本价 | ||
├─ ot_price | string | 非必须 | 原价 | ||
├─ stock | number | 非必须 | 库存 | ||
├─ extension_type | number | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ max_extension | number | 非必须 | 最高返佣 | ||
├─ merchant | object | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ mer_name | string | 非必须 | 商户名称 |
Path: /api/store/product/qrcode/:product_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
product_id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | wechat = 微信 routine= 小程序 |
Path: /api/store/product/detail/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"product_id": 200,
"mer_id": 55,
"image": "http://192.168.1.28:8324/uploads/def/6b/a9d77fa3ab2624273040951f3d895c.jpg",
"slider_image": [
"http://192.168.1.28:8324/uploads/def/6d/cda958aee6914df50afdad67010b4f.jpg",
"http://192.168.1.28:8324/uploads/def/6b/a9d77fa3ab2624273040951f3d895c.jpg"
],
"store_name": "三体",
"store_info": "",
"unit_name": "个",
"price": "14.00",
"cost": "10.00",
"ot_price": "5.00",
"stock": 400,
"sales": 100,
"video_link": "",
"sku": {
"15,15": {
"sku": "15,15",
"price": "14.00",
"stock": 100,
"image": "",
"bar_code": "122121",
"weight": "10.00",
"volume": "11.00",
"extension_one": "0.28",
"extension_two": "0.14"
},
"15,20": {
"sku": "15,20",
"price": "19.00",
"stock": 100,
"image": "",
"bar_code": "122121",
"weight": "10.00",
"volume": "11.00",
"extension_one": "0.38",
"extension_two": "0.19"
},
"20,20": {
"sku": "20,20",
"price": "19.00",
"stock": 100,
"image": "",
"bar_code": "122121",
"weight": "10.00",
"volume": "11.00",
"extension_one": "0.38",
"extension_two": "0.19"
}
},
"attr": [
{
"product_id": 200,
"attr_name": "雅诗兰黛",
"attr_values": [
"15",
"20"
],
"type": 0
},
{
"product_id": 200,
"attr_name": "兰蔻",
"attr_values": [
"15",
"20"
],
"type": 0
}
],
"content": {
"product_id": 200,
"content": "<p>好看吧</p>",
"type": 0
},
"reply": [
{
"reply_id": 2,
"uid": 2,
"nickname": "2",
"avatar": "3",
"order_id": 3,
"product_id": 200,
"product_score": 5,
"service_score": 5,
"postage_score": 1,
"comment": "1",
"create_time": "2020-05-28 11:37:21"
}
],
"merchant": {
"mer_id": 55,
"mer_name": "小卖部",
"mer_avatar": "",
"recommend": [
{
"mer_id": 55,
"product_id": 120,
"store_name": "商品名称",
"image": "",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 121,
"store_name": "商品名称",
"image": "1111111f",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 123,
"store_name": "商品名称",
"image": "ssss",
"price": "1510.00"
}
]
}
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | 主图 | ||
├─ slider_image | string [] | 非必须 | 轮播 | item 类型: string | |
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ store_info | string | 非必须 | |||
├─ unit_name | string | 非必须 | 单位名 | ||
├─ price | string | 非必须 | 价格 | ||
├─ cost | string | 非必须 | 成本价 | ||
├─ ot_price | string | 非必须 | 原价 | ||
├─ stock | number | 非必须 | 库存 | ||
├─ sales | number | 非必须 | 销量 | ||
├─ video_link | string | 非必须 | |||
├─ isRelation | string | 必须 | 是否收藏 | ||
├─ sku | object | 非必须 | |||
├─ 15,15 | object | 非必须 | 以sku为建 | ||
├─ sku | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ extension_one | string | 非必须 | |||
├─ extension_two | string | 非必须 | |||
├─ 15,20 | object | 非必须 | |||
├─ sku | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ extension_one | string | 非必须 | |||
├─ extension_two | string | 非必须 | |||
├─ 20,20 | object | 非必须 | |||
├─ sku | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ extension_one | string | 非必须 | |||
├─ extension_two | string | 非必须 | |||
├─ attr | object [] | 非必须 | 规格 | item 类型: object | |
├─ product_id | number | 必须 | |||
├─ attr_name | string | 必须 | 规格名 | ||
├─ attr_values | string [] | 必须 | 规格值 | item 类型: string | |
├─ | 非必须 | ||||
├─ type | number | 必须 | |||
├─ content | object | 非必须 | 商品介绍 | ||
├─ product_id | number | 非必须 | |||
├─ content | string | 非必须 | 产品介绍 | ||
├─ type | number | 非必须 | |||
├─ reply | object [] | 非必须 | 评论 | item 类型: object | |
├─ reply_id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ order_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_score | number | 非必须 | |||
├─ service_score | number | 非必须 | |||
├─ postage_score | number | 非必须 | |||
├─ comment | string | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ merchant | object | 非必须 | 商铺 | ||
├─ mer_id | number | 非必须 | |||
├─ mer_name | string | 非必须 | 名称 | ||
├─ mer_avatar | string | 非必须 | 头像 | ||
├─ recommend | object [] | 非必须 | 推荐商品 | item 类型: object | |
├─ mer_id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ image | string | 必须 | |||
├─ price | string | 必须 |
Path: /api/store/product/brand/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"list": [
{
"brand_id": 116,
"brand_category_id": 150,
"brand_name": "苹果",
"sort": 100,
"pic": "url",
"is_show": 1,
"create_time": "2020-04-29 16:50:12"
},
{
"brand_id": 118,
"brand_category_id": 150,
"brand_name": "华为",
"sort": 100,
"pic": "url",
"is_show": 1,
"create_time": "2020-04-29 17:15:09"
},
{
"brand_id": 119,
"brand_category_id": 150,
"brand_name": "华为",
"sort": 100,
"pic": "url",
"is_show": 1,
"create_time": "2020-04-30 11:08:36"
},
{
"brand_id": 120,
"brand_category_id": 152,
"brand_name": "服装",
"sort": 100,
"pic": "http://192.168.1.37:8324/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"is_show": 0,
"create_time": "2020-05-27 14:24:24"
}
]
}
}
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
cate_id | 否 | 平台商品的分类id | |
keyword | 否 | 商品搜索的关键字 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ brand_id | number | 必须 | |||
├─ brand_category_id | number | 必须 | |||
├─ brand_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ pic | string | 必须 | |||
├─ is_show | number | 必须 | |||
├─ create_time | string | 必须 |
Path: /api/store/merchant/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 2,
"list": [
{
"mer_id": 55,
"mer_name": "小卖部",
"mark": "备注拉拉",
"mer_avatar": "",
"rate": "0.00",
"sales": 0,
"status": 1,
"create_time": "2020-04-16 17:36:51",
"product": [
{
"mer_id": 55,
"product_id": 120,
"store_name": "商品名称",
"image": "",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 121,
"store_name": "商品名称",
"image": "1111111f",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 123,
"store_name": "商品名称",
"image": "ssss",
"price": "1510.00"
}
]
},
{
"mer_id": 56,
"mer_name": "小红红小卖部",
"mark": "备注",
"mer_avatar": "",
"rate": "0.00",
"sales": 0,
"status": 1,
"create_time": "2020-04-17 11:17:04",
"product": []
}
]
}
}
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 否 | 店铺搜索(关键字/店铺名/联系电话) | |
page | 否 | 分页 | |
order | 否 | sales 销量排序 rate 信用分排序 | |
status | 是 | 状态 0关闭 1开启 | |
date | 是 | 创建日期 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ mer_id | number | 必须 | id | ||
├─ mer_name | string | 必须 | 商铺名 | ||
├─ status | number | 必须 | |||
├─ rate | string | 必须 | 评分 | ||
├─ sales | string | 必须 | 销量 | ||
├─ create_time | string | 必须 | |||
├─ recommend | object [] | 必须 | item 类型: object | ||
├─ mer_id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ image | string | 必须 | |||
├─ price | string | 必须 |
Path: /api/store/merchant/qrcode/:mer_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | routine:小程序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/store/merchant/detail/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"mer_id": 55,
"category_id": 16,
"mer_name": "小卖部",
"mer_avatar": "",
"mer_banner": "",
"sales": 0,
"rate": "2.00",
"mark": "备注拉拉",
"status": 1,
"create_time": "2020-04-16 17:36:51",
"care": true
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商铺id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ category_id | number | 非必须 | |||
├─ mer_name | string | 非必须 | |||
├─ mer_avatar | string | 非必须 | |||
├─ mer_banner | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ rate | string | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ care | boolean | 非必须 |
Path: /api/store/merchant/category/lst/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"store_category_id": 146,
"pid": 0,
"cate_name": "家电1",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"children": [
{
"store_category_id": 148,
"pid": 146,
"cate_name": "家电2",
"sort": 100,
"pic": "http://192.168.1.37:8324/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
]
}
]
},
{
"store_category_id": 152,
"pid": 0,
"cate_name": "护肤",
"sort": 100,
"pic": "http://192.168.1.37:8324/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"children": [
{
"store_category_id": 153,
"pid": 152,
"cate_name": "洁面",
"sort": 10,
"pic": ""
}
]
}
]
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商户id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ store_category_id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ pic | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ store_category_id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ pic | string | 必须 |
Path: /api/store/merchant/product/lst/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"product_id": 123,
"mer_id": 55,
"is_new": 1,
"keyword": "关键字13",
"brand_id": 116,
"image": "ssss",
"store_name": "商品名称",
"sort": 100,
"rate": "5",
"reply_count": 0,
"sales": 0,
"price": "1510.00",
"cost": "0.00",
"ot_price": "0.00",
"stock": 101,
"extension_type": 1,
"create_time": "2020-05-09 15:56:55",
"max_extension": 0,
"merchant": {
"mer_id": 55,
"mer_name": "小卖部"
}
}
]
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商铺id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 否 | ||
order | 否 | 排序方式 'is_new', 新品 'price_asc', 价格升序 'price_desc', 价格降序 'rate', 评分 'sales' 销量 默认传空或不传 | |
mer_cate_id | 是 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ brand_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ rate | string | 非必须 | |||
├─ reply_count | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ extension_type | number | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ max_extension | number | 非必须 | |||
├─ merchant | object | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ mer_name | string | 非必须 |
Path: /api/user/relation/create
Method: POST
接口描述:
{
"status": 200,
"message": "收藏成功"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 1.商品 10. 商铺 | |
type_id | 是 | 商品 或者 商铺 Id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 1.商品 10.商铺 | |
type_id | text | 是 | 商品或商铺id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/relation/merchant/lst
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"count":1,
"list": [
{
"uid":7211,
"type_id":55,
"type":10,
"create_time":"2020-05-30 11:04:12",
"merchant": {
"mer_id":55,
"mer_avatar":"",
"mer_name":"小卖部",
"product_score":"1.0",
"service_score":"1.0",
"postage_score":"1.0",
"status":1
}
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/relation/product/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"uid": 7211,
"type_id": 152,
"type": 1,
"create_time": "2020-05-30 11:12:40",
"product": { // type 类型不同 返回不同
"product_id": 152,
"image": "1sdfsdff",
"store_name": "商品名称",
"price": "99.00",
"is_show": 1,
"status": 1
}
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/relation/delete
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 1.商品 10. 商铺 | |
type_id | text | 是 | id |
Path: /api/user/relation/batch/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type_id | text | 是 | [200,201] | 数组 |
type | text | 是 | 1 | 1.商品 10. 商铺 |
Path: /api/order/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
cart_id | string [] | 必须 | 购物车 id | item 类型: string | |
├─ | 非必须 | ||||
mark | object | 必须 | 备注 | ||
├─ [mer_id] | string | 必须 | 商户 id:备注 | ||
address_id | string | 必须 | 地址 | ||
coupon | object | 必须 | 优惠券 | ||
├─ [mer_id] | object | 必须 | 商户 id | ||
├─ store | integer | 必须 | 店铺券 | ||
├─ product | string [] | 必须 | 商品券 | item 类型: string | |
├─ | 非必须 | ||||
pay_type | string | 必须 | balance 余额 wechat 微信,retline 小程序,h5 h5支付 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/cart/change/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 购物车id cart_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cart_num | text | 是 | 数量 |
Path: /api/order/cancel/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/user/cart/again
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
data | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ is_new | number | 非必须 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/cart/delete
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cart_id | text | 是 | 数组购物车id |
Path: /api/presell/pay/:order_id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 支付方式 | |
return_url | text | 是 | 支付宝回跳链接 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/order/group_order_list
Method: GET
接口描述:
Path: /api/order/group_order_detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/user/cart/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | ||
product_attr_unique | text | 是 | sku的唯一值 uniqe | |
cart_num | text | 是 | 数量 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/ordero/express/:order_id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id |
Path: /api/order/number
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ noComment | number | 非必须 | 待评价 | ||
├─ done | number | 非必须 | 已完成 | ||
├─ refund | number | 非必须 | 已退款 | ||
├─ noDeliver | number | 非必须 | 待收货 | ||
├─ noPay | number | 非必须 | 待支付 | ||
├─ noPostage | number | 非必须 | 待发货 | ||
├─ orderPrice | number | 非必须 | 订单金额 | ||
├─ orderCount | number | 非必须 | 订单数 |
Path: /api/order/take/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/order/check
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
cart_id | string [] | 必须 | 购物车 | item 类型: string | |
├─ | 非必须 | ||||
address_id | integer | 必须 | 用户 id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/order/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 1 | 0=未发货 1=待收货 2=已评价 3=已完成 -1=已退款 |
Path: /api/order/pay/:group_order_id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
group_order_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 支付方式 wechat balance routline h5 |
Path: /api/order/status/:group_order_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
group_order_id |
Path: /api/order/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/cart/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"list": [
{
"mer_id": 56,
"mer_name": "小红红小卖部",
"mer_state": 0,
"mer_avatar": "",
"list": [
{
"cart_id": 733,
"uid": 7211,
"mer_id": 56,
"product_type": 0,
"product_id": 200,
"product_attr_unique": "e89f798e4af0",
"cart_num": 2,
"create_time": "2020-05-30 16:04:17",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 200,
"store_name": "三体",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "14.00",
"mer_status": 1
},
"productAttr": {
"product_id": 200,
"stock": 100,
"price": "19.00",
"unique": "e89f798e4af0"
},
"checkProductSku": true
},
{
"cart_id": 735,
"uid": 7211,
"mer_id": 56,
"product_type": 0,
"product_id": 200,
"product_attr_unique": "e89f799e4af0",
"cart_num": 2,
"create_time": "2020-06-01 14:54:30",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 200,
"store_name": "三体",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "14.00",
"mer_status": 1
},
"productAttr": {
"product_id": 200,
"stock": 100,
"price": "19.00",
"unique": "e89f799e4af0"
},
"checkProductSku": true
}
]
},
{
"mer_id": 55,
"mer_name": "小卖部",
"mer_state": 0,
"mer_avatar": "",
"list": [
{
"cart_id": 734,
"uid": 7211,
"mer_id": 55,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "ebe6053f2650",
"cart_num": 1,
"create_time": "2020-06-01 14:54:22",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "ebe6053f2650"
},
"checkProductSku": true
},
{
"cart_id": 737,
"uid": 7211,
"mer_id": 55,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "8abd04b56d30",
"cart_num": 1,
"create_time": "2020-06-01 15:25:17",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "8abd04b56d30"
},
"checkProductSku": true
},
{
"cart_id": 738,
"uid": 7211,
"mer_id": 55,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "f5e20e2d0100",
"cart_num": 1,
"create_time": "2020-06-01 15:32:41",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "f5e20e2d0100"
},
"checkProductSku": true
}
]
}
],
"fail": [
{
"cart_id": 736,
"uid": 7211,
"mer_id": 56,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "46eae91e9030",
"cart_num": 1,
"create_time": "2020-06-01 14:54:31",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 1,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": null,
"merchant": {
"mer_id": 56,
"mer_name": "小红红小卖部",
"mer_state": 0,
"mer_avatar": ""
},
"checkProductSku": false
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ mer_id | number | 必须 | |||
├─ mer_name | string | 必须 | |||
├─ mer_state | number | 必须 | |||
├─ mer_avatar | string | 必须 | |||
├─ hasCoupon | integer | 必须 | 0 优惠券数量 | ||
├─ list | object [] | 必须 | item 类型: object | ||
├─ cart_id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ product_type | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ product_attr_unique | string | 必须 | |||
├─ cart_num | number | 必须 | |||
├─ create_time | string | 必须 | |||
├─ is_pay | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_new | number | 必须 | |||
├─ is_fail | number | 必须 | |||
├─ product | object | 必须 | |||
├─ product_id | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ mer_status | number | 非必须 | |||
├─ productAttr | object | 必须 | |||
├─ product_id | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ checkProductSku | boolean | 必须 | |||
├─ fail | object [] | 非必须 | item 类型: object | ||
├─ cart_id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ product_type | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ is_fail | number | 非必须 | |||
├─ product | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ mer_status | number | 非必须 | |||
├─ productAttr | null | 非必须 | |||
├─ merchant | object | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ mer_name | string | 非必须 | |||
├─ mer_state | number | 非必须 | |||
├─ mer_avatar | string | 非必须 | |||
├─ checkProductSku | boolean | 非必须 |
Path: /api/user/cart/count
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": [
{
"count":null
}
]
}
Path: /api/coupon/list
Method: GET
接口描述:
Path: /api/coupon/product
Method: GET
接口描述:
{
"coupon_id": 84,
"mer_id": 55,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "优乐美",
"coupon_price": "10.00",
"use_min_price": "15.00",
"coupon_type": 1,
"coupon_time": 0,
"use_start_time": "2020-05-01 00:00:00",
"use_end_time": "2020-05-31 00:00:00",
"sort": 1,
"status": 1,
"create_time": "2020-05-28 17:04:59",
"is_del": 0,
"type": 0,
"issue":null
}
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
ids | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ coupon_id | number | 必须 | 优惠券表ID | ||
├─ mer_id | number | 必须 | 商户 id | ||
├─ is_timeout | number | 必须 | 是否限时 | ||
├─ start_time | null,string | 必须 | 优惠券领取开启时间 | ||
├─ end_time | null,string | 必须 | 优惠券领取结束时间 | ||
├─ is_limited | number | 必须 | 是否限量 | ||
├─ total_count | number | 必须 | 优惠券领取数量 | ||
├─ remain_count | number | 必须 | 优惠券剩余领取数量 | ||
├─ title | string | 必须 | 优惠券名称 | ||
├─ coupon_price | string | 必须 | 优惠券面值 | ||
├─ use_min_price | string | 必须 | 最低消费多少金额可用优惠券 | ||
├─ coupon_type | number | 必须 | 优惠券类型 0=有效天数 1=固定时间段 | ||
├─ coupon_time | number | 必须 | 优惠券有效期限(单位:天) | ||
├─ use_start_time | string | 必须 | 开始时间 | ||
├─ use_end_time | string | 必须 | 到期时间 | ||
├─ sort | number | 必须 | 排序 | ||
├─ create_time | string | 必须 | 添加时间 | ||
├─ type | number | 必须 | 优惠券类型 0-店铺 1-商品券 | ||
├─ issue | object | 必须 | 是否领取优惠券 |
Path: /api/coupon/store/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/coupon/receive/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/auth/mp
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
code | text | 是 | ||
cache_key | text | 是 | ||
login_type | text | 是 | ||
spread_spid | text | 是 | 推荐人 id | |
spread_code | text | 是 | 推荐人二维码 | |
iv | text | 是 | ||
encryptedData | text | 是 |
Path: /api/auth/wechat
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Path: /api/wechat/config
Method: GET
接口描述:
Path: /api/auth/login
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | ||
password | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | |||
├─ exp | number | 非必须 | |||
├─ user | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ wechat_user_id | number | 非必须 | |||
├─ account | string | 非必须 | |||
├─ sex | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | null | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ user_type | string | 非必须 | |||
├─ promoter_time | null | 非必须 | |||
├─ is_promoter | number | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ pay_price | string | 非必须 | |||
├─ spread_count | number | 非必须 |
Path: /api/user/recharge
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 充值类型(wechat=公众号,h5,routine=小程序) | |
price | text | 是 | 充值金额 | |
recharge_id | text | 是 | 充值赠送 id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user
Method: GET
接口描述:
Path: /api/user/brokerage_top
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 0:周榜 1:月榜 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/spread_info
Method: GET
接口描述:
Path: /api/user/brokerage_list
Method: GET
接口描述:
Path: /api/user/change_pwd
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机号 | |
pwd | text | 是 | 密码 | |
confirm_pwd | text | 是 | 确认密码 | |
sms_code | text | 是 | 短信验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/spread_image
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | wechat:微信 routine:小程序 |
Path: /api/user/spread_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
sort | 是 | 排序'pay_count ASC', 'pay_count DESC', 'pay_price DESC', 'pay_price ASC', 'spread_count ASC', 'spread_count DESC' | |
level | 是 | 1:一级 2:二级 | |
nickname | 是 | 搜索 |
Path: /api/user/spread_top
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 0:周榜 1:月榜 |
Path: /api/user/spread_order
Method: GET
接口描述:
Path: /api/user/bill
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 0 | 0:全部 1:支出 2:收入 |
Path: /api/user/account
Method: GET
接口描述:
Path: /api/user/switch
Method: POST
接口描述:
Path: /api/system/city/lst
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ city_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ merger_name | string | 必须 | |||
├─ parent_id | number | 必须 | |||
├─ level | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ city_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ merger_name | string | 必须 | |||
├─ parent_id | number | 必须 | |||
├─ level | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ city_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ merger_name | string | 必须 | |||
├─ parent_id | number | 必须 | |||
├─ level | number | 必须 |
Path: /api/user/address/lst
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"count":4,
"list": [
{
"address_id":80,
"uid":7211,
"real_name":"李四",
"phone":"13032979631",
"province":"陕西省",
"city":"西安市",
"city_id":646579,
"district":"长安区",
"detail":"树上",
"post_code":0,
"longitude":"0",
"latitude":"0",
"is_default":0,
"is_del":0,
"create_time":"2020-06-03 10:52:47"
},
{
"address_id":81,
"uid":7211,
"real_name":"王五",
"phone":"13032979631",
"province":"陕西省",
"city":"西安市",
"city_id":646579,
"district":"长安区",
"detail":"树上",
"post_code":0,
"longitude":"0",
"latitude":"0",
"is_default":0,
"is_del":0,
"create_time":"2020-06-03 10:53:03"
},
{
"address_id":82,
"uid":7211,
"real_name":"赵六",
"phone":"13032979631",
"province":"陕西省",
"city":"西安市",
"city_id":646579,
"district":"长安区",
"detail":"树上",
"post_code":0,
"longitude":"0",
"latitude":"0",
"is_default":0,
"is_del":0,
"create_time":"2020-06-03 11:25:02"
},
{
"address_id":83,
"uid":7211,
"real_name":"朴一生",
"phone":"13032979631",
"province":"陕西省",
"city":"西安市",
"city_id":646579,
"district":"长安区",
"detail":"路上",
"post_code":0,
"longitude":"0",
"latitude":"0",
"is_default":1,
"is_del":0,
"create_time":"2020-06-03 14:32:19"
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ address_id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ real_name | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ province | string | 必须 | |||
├─ city | string | 必须 | |||
├─ city_id | number | 必须 | |||
├─ district | string | 必须 | |||
├─ detail | string | 必须 | |||
├─ post_code | number | 必须 | |||
├─ longitude | string | 必须 | |||
├─ latitude | string | 必须 | |||
├─ is_default | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ create_time | string | 必须 |
Path: /api/user/address/delete/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/address/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
real_name | text | 是 | 朴一生 | |
phone | text | 是 | 13032979631 | |
province | text | 是 | 陕西省 | |
district | text | 是 | 长安区 | |
city | text | 是 | 西安市 | |
city_id | text | 是 | 646579 | |
detail | text | 是 | 路上 | |
is_default | text | 是 | 1 | |
address_id | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/address/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
Path: /api/user/address/detail/:id
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"address_id":80,
"uid":7211,
"real_name":"李四",
"phone":"13032979631",
"province":"陕西省",
"city":"西安市",
"city_id":646579,
"district":"长安区",
"detail":"树上",
"post_code":0,
"longitude":"0",
"latitude":"0",
"is_default":0,
"is_del":0,
"create_time":"2020-06-03 10:52:47"
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/article/lst/:cid
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"count":3,
"list": [
{
"article_id":146,
"cid":13,
"title":"89898",
"image_input":"http://mer.锐亚商城.net/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"author":"89",
"mer_id":0,
"sort":0,
"status":1,
"is_banner":0,
"is_hot":0,
"synopsis":"89",
"url":"89",
"create_time":"2020-04-28 15:57:00",
"content": {
"article_content_id":146,
"content":"<p>89891</p>"
},
"articleCategory": {
"article_category_id":13,
"title":"文章1"
}
},
{
"article_id":145,
"cid":13,
"title":"56",
"image_input":"http://mer.锐亚商城.net/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"author":"7",
"mer_id":0,
"sort":0,
"status":1,
"is_banner":0,
"is_hot":0,
"synopsis":"8",
"url":"9",
"create_time":"2020-04-28 15:41:24",
"content": {
"article_content_id":145,
"content":"<p>9</p>"
},
"articleCategory": {
"article_category_id":13,
"title":"文章1"
}
},
{
"article_id":143,
"cid":13,
"title":"拉拉",
"image_input":"http://mer.锐亚商城.net/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"author":"了",
"mer_id":0,
"sort":0,
"status":1,
"is_banner":0,
"is_hot":0,
"synopsis":"2",
"url":"2",
"create_time":"2020-04-28 15:36:22",
"content": {
"article_content_id":143,
"content":"<p>22</p>"
},
"articleCategory": {
"article_category_id":13,
"title":"文章1"
}
}
]
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
cid | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ article_id | number | 必须 | |||
├─ cid | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image_input | string | 必须 | |||
├─ author | string | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_banner | number | 必须 | |||
├─ is_hot | number | 必须 | |||
├─ synopsis | string | 必须 | |||
├─ url | string | 必须 | |||
├─ create_time | string | 必须 | |||
├─ content | object | 必须 | |||
├─ article_content_id | number | 非必须 | |||
├─ content | string | 非必须 | |||
├─ articleCategory | object | 必须 | |||
├─ article_category_id | number | 非必须 | |||
├─ title | string | 非必须 |
Path: /api/article/category/lst
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": [
{
"article_category_id":13,
"pid":0,
"mer_id":0,
"title":"文章1",
"info":"33434",
"image":"http://192.168.1.17:8324/uploads/def/b4/f584efc94330ae347b00da7d4c6eef.jpg",
"status":1,
"sort":0,
"create_time":"2020-04-20 15:34:12"
}
]
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ article_category_id | number | 非必须 | |||
├─ pid | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ create_time | string | 非必须 |
Path: /api/article/detail/:id
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"article_id":146,
"cid":13,
"title":"89898",
"author":"89",
"image_input":"http://mer.锐亚商城.net/uploads/def/55/56ee86d47e549810edfafc5af1a588.jpg",
"synopsis":"89",
"visit":null,
"sort":0,
"url":"89",
"admin_id":12,
"mer_id":0,
"is_hot":0,
"is_banner":0,
"status":1,
"create_time":"2020-04-28 15:57:00",
"wechat_news_id":0,
"content": {
"article_content_id":146,
"content":"<p>89891</p>"
},
"articleCategory": {
"article_category_id":13,
"title":"文章1"
}
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/reply/:group_product_id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
group_product_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
comment | text | 是 | 评价 | |
product_score | text | 是 | 商品分数 | |
service_score | text | 是 | 服务分数 | |
postage_score | text | 是 | 物流分数 | |
pics | text | 是 | array | 图片 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/store/product/reply/lst/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商品id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 筛选 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/reply/product/:order_product_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_product_id |
Path: /api/refund/del/:refund_order_id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
refund_order_id |
Path: /api/refund/product
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | string [] | 必须 | 订单产品 id | item 类型: string | |
├─ | 非必须 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/refund/batch_product/:order_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/refund/back_goods/:refund_order_is
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
refund_order_is |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
delivery_type | string | 必须 | 快递公司 | ||
delivery_id | string | 必须 | 快递单号 | ||
delivery_phone | string | 必须 | 联系电话 | ||
delivery_mark | string | 非必须 | 备注 | ||
delivery_pics | string [] | 非必须 | 凭证 | item 类型: string | |
├─ | 非必须 |
Path: /api/refund/apply
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
type | integer | 必须 | 退款类型 1:单个 2:批量 | ||
refund_type | integer | 必须 | 退款方式:1:退款 2:退款退货 | ||
num | integer | 必须 | 商品件数(单个时) | ||
ids | string | 必须 | 退款产品(1,2,3,4) | ||
refund_message | string | 必须 | 退款原因 | ||
mark | string | 必须 | 备注 | ||
refund_price | string | 必须 | 退款金额 | ||
pics | string [] | 必须 | 凭证 | item 类型: string | |
├─ | 非必须 |
Path: /api/refund/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 1=进行中 2=已处理 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/refund/detail/:refund_order_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
refund_order_id |
Path: /api/common/refund_message
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/captcha
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": {
"key":"1591927166.46535ee2e17e719e65.92929531",
"code":"UekV",
"captcha":"data:image/jpeg;base64,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"
}
}
Path: /api/auth/smslogin
Method: POST
接口描述:
{
"status":200,
"message":"success",
"data": {
"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIwLjAuMC4wOjgzMjQiLCJhdWQiOiIwLjAuMC4wOjgzMjQiLCJpYXQiOjE1OTE5MzU1MDAsIm5iZiI6MTU5MTkzNTUwMCwiZXhwIjoxNTkxOTQ2MzAwLCJqdGkiOls3MjQxLCJ1c2VyIl19.7QDfBdeHt1W1AUpmFgTefC4Z_m7RJRHg3xusyr6uhgU",
"exp":10800,
"user": {
"uid":7241,
"wechat_user_id":0,
"account":"13032979631",
"sex":0,
"nickname":"130****9631",
"avatar":"",
"phone":null,
"now_money":"0.00",
"brokerage_price":"0.00",
"user_type":"h5",
"is_promoter":0,
"pay_count":0
}
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | ||
sms_code | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | |||
├─ exp | number | 非必须 | |||
├─ user | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ wechat_user_id | number | 非必须 | |||
├─ account | string | 非必须 | |||
├─ sex | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | null | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ user_type | string | 非必须 | |||
├─ is_promoter | number | 非必须 | |||
├─ pay_count | number | 非必须 |
Path: /api/auth/verify
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | ||
code | text | 否 | 图片验证码 | |
key | text | 否 | 图片验证码KEY |
Path: /api/user/binding
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机号 | |
sms_code | text | 是 | 短信验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/service/user_list
Method: GET
接口描述:
Path: /api/service/mer_history/:mer_id/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_id | ||
uid |
Path: /api/service/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/service/history/:mer_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/extract/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 否 | 1.已体现 -1.已拒绝 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ extract_id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ extract_type | number | 非必须 | |||
├─ bank_code | string | 非必须 | |||
├─ bank_address | string | 非必须 | |||
├─ alipay_code | string | 非必须 | |||
string | 非必须 | ||||
├─ extract_pic | string | 非必须 | |||
├─ extract_price | string | 非必须 | |||
├─ balance | string | 非必须 | |||
├─ mark | null | 非必须 | |||
├─ admin_id | number | 非必须 | |||
├─ fail_msg | null | 非必须 | |||
├─ status_time | string | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ status | number | 非必须 |
Path: /api/user/extract/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
extract_type | text | 是 | 0 银行卡 1 支付宝 2 微信 | |
bank_code | text | 是 | 银行卡号 | |
bank_address | text | 是 | 开户行地址 | |
alipay_code | text | 是 | 支付宝账号 | |
text | 是 | 微信账号 | ||
extract_pic | text | 是 | 收款码 | |
extract_price | text | 是 | 提款金额 | |
real_name | text | 是 | 姓名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/extract/banklst
Method: GET
接口描述:
Path: /api/intention/update/:mer_intention_id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_intention_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机 | |
mer_name | text | 是 | 商户名 | |
name | text | 是 | 姓名 | |
images | text | 是 | 资质 数组 | |
merchant_category_id | text | 是 | 商户分类 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/intention/cate
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ merchant_category_id | number | 必须 | |||
├─ category_name | string | 必须 |
Path: /api/intention/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | ||
mer_name | text | 是 | ||
name | text | 是 | ||
images | text | 是 | 多图 数组 | |
merchant_category_id | text | 是 | 商户分类 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/intention/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ mer_intention_id | number | 必须 | 入驻 id | ||
├─ uid | number | 必须 | 用户 id | ||
├─ phone | string | 必须 | 手机号 | ||
├─ mer_name | string | 必须 | 商户名称 | ||
├─ name | string,null | 必须 | 姓名 | ||
├─ create_time | string | 必须 | 创建时间 | ||
├─ status | number | 必须 | 0:审核中 1:审核通过 2:未通过 | ||
├─ fail_msg | null | 必须 | 未通过原因 | ||
├─ is_del | number | 必须 | 删除状态 | ||
├─ mark | null | 必须 | 备注 | ||
├─ mer_id | null | 必须 | 商户id | ||
├─ images | string [] | 必须 | 证书 | item 类型: string | |
├─ | 非必须 | ||||
├─ merchant_category_id | null | 必须 | 商户分类 |
Path: /api/intention/detail/:mer_intention_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_intention_id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ mer_intention_id | number | 非必须 | |||
├─ login_url | string | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ mer_name | string | 非必须 | |||
├─ name | null | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ fail_msg | null | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mark | null | 非必须 | |||
├─ mer_id | null | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ merchant_category_id | null | 非必须 |
Path: /api/admin/order_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 1: 未支付 2: 待发货 3: 待收货 4: 待评价 5: 交易完成 6: 已退款 | |
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/admin/delivery/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
delivery_type | text | 是 | 发货类型 | |
delivery_name | text | 是 | 发货名称 | |
delivery_id | text | 是 | 发货编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/admin/order_price
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start | 是 | 开始时间 | |
end | 是 | 结束时间 | |
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/admin/pay_price
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start | 是 | 123123123123 | 开始时间 |
stop | 是 | 123123123123 | 结束时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ chart | object [] | 非必须 | item 类型: object | ||
├─ num | string | 必须 | |||
├─ time | string | 必须 | |||
├─ time | number | 非必须 | |||
├─ growth_rate | number | 非必须 | |||
├─ increase_time | number | 非必须 | |||
├─ increase_time_status | number | 非必须 |
Path: /api/admin/mark/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remark | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/admin/price/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pay_price | text | 是 |
Path: /api/admin/statistics
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ order | object | 非必须 | |||
├─ all | number | 非必须 | |||
├─ statusAll | number | 非必须 | |||
├─ unpaid | number | 非必须 | |||
├─ unshipped | number | 非必须 | |||
├─ untake | number | 非必须 | |||
├─ unevaluate | number | 非必须 | |||
├─ complete | number | 非必须 | |||
├─ refund | number | 非必须 | |||
├─ del | number | 非必须 | |||
├─ data | object | 非必须 | |||
├─ today | object | 非必须 | |||
├─ orderNum | number | 非必须 | |||
├─ payPrice | number | 非必须 | |||
├─ payUser | number | 非必须 | |||
├─ visitNum | number | 非必须 | |||
├─ likeStore | number | 非必须 | |||
├─ yesterday | object | 非必须 | |||
├─ orderNum | number | 非必须 | |||
├─ payPrice | number | 非必须 | |||
├─ payUser | number | 非必须 | |||
├─ visitNum | number | 非必须 | |||
├─ likeStore | number | 非必须 | |||
├─ lastWeekRate | object | 非必须 | |||
├─ orderNum | number | 非必须 | |||
├─ payPrice | number | 非必须 | |||
├─ payUser | number | 非必须 | |||
├─ visitNum | number | 非必须 | |||
├─ likeStore | number | 非必须 | |||
├─ day | string | 非必须 |
Path: /api/admin/order/:order_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id |
Path: /api/broadcast/lst
Method: GET
接口描述:
Path: /api/broadcast/hot
Method: GET
接口描述:
Path: /api/store/product/seckill/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_time | 是 | ||
end_time | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/store/product/seckill/select
Method: GET
接口描述:
{
"status":200,
"message":"success",
"data": [
{
"seckill_time_id":2,
"title":"",
"start_time":2,
"end_time":3,
"status":1,
"create_time":"2020-07-31 17:10:00",
"pic":"http://cremb.oss-cn-beijing.aliyuncs.com/5c0a2202007091813583392.png"
},
{
"seckill_time_id":4,
"title":"1235",
"start_time":4,
"end_time":5,
"status":1,
"create_time":"2020-08-05 17:16:12",
"pic":"http://cremb.oss-cn-beijing.aliyuncs.com/edcff202007091815531404.png"
}
]
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ seckill_time_id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ start_time | number | 必须 | |||
├─ end_time | number | 必须 | |||
├─ status | number | 必须 | |||
├─ create_time | string | 必须 | |||
├─ pic | string | 必须 |
Path: /api/store/product/seckill/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/user/receipt/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
is_default | 是 | 是否默认 | |
receipt_title_type | 是 | 发票抬头类型:1.个人,2.企业 | |
receipt_type | 是 | 发票类型:1.普通发票,2.增值税发票 |
Path: /api/user/receipt/delete/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/user/receipt/order/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/user/receipt/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
receipt_type | text | 是 | 发票类型:1.普通发票,2.增值税发票 | |
receipt_title_type | text | 是 | 发票抬头类型:1.个人,2.企业 | |
receipt_title | text | 是 | 发票抬头 | |
duty_paragraph | text | 是 | 税号 | |
text | 是 | 邮箱 | ||
bank_name | text | 是 | 开户行 | |
bank_code | text | 是 | 银行账号 | |
address | text | 是 | 企业地址 | |
tel | text | 是 | 企业电话 | |
is_default | text | 是 | 是否默认 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/receipt/update/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/user/receipt/order
Method: GET
接口描述:
Path: /api/user/receipt/is_default/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/presell/lst
Method: GET
接口描述:
Path: /api/store/product/presell/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/assist/count
Method: GET
接口描述:
Path: /api/store/product/assist/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/assist/create/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/assist/set/delete/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/assist/lst
Method: GET
接口描述:
Path: /api/store/product/assist/set/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/assist/set/lst
Method: GET
接口描述:
Path: /api/store/product/group/lst
Method: GET
接口描述:
Path: /api/store/product/group/cancel
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
group_buying_id | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/store/product/group/get/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/store/product/group/count
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ group_buying_id | number | 非必须 | |||
├─ product_group_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_initiator | number | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ is_del | number | 非必须 |
Path: /api/product/spu/active/category/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type |
Path: /api/store/product/group/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ product_group_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ start_time | string | 非必须 | |||
├─ end_time | string | 非必须 | |||
├─ time | number | 非必须 | |||
├─ buying_count_num | number | 非必须 | |||
├─ buying_num | number | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ once_pay_count | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ ficti_status | number | 非必须 | |||
├─ ficti_num | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ success_num | number | 非必须 | |||
├─ product_status | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ action_status | number | 非必须 | |||
├─ create_time | null | 非必须 | |||
├─ refusal | null | 非必须 | |||
├─ product | object | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ product_type | number | 非必须 | |||
├─ extension_type | number | 非必须 | |||
├─ old_product_id | number | 非必须 | |||
├─ isRelation | boolean | 非必须 | |||
├─ replayData | object | 非必须 | |||
├─ best | number | 非必须 | |||
├─ rate | string | 非必须 | |||
├─ count | number | 非必须 | |||
├─ attr | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ sku | object | 非必须 | |||
├─ | object | 非必须 | |||
├─ sku | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ content | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ content | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ merchant | object | 非必须 | |||
├─ is_trader | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ mer_name | string | 非必须 | |||
├─ mer_avatar | string | 非必须 | |||
├─ product_score | string | 非必须 | |||
├─ service_score | string | 非必须 | |||
├─ postage_score | string | 非必须 | |||
├─ service_phone | string | 非必须 | |||
├─ care_count | number | 非必须 | |||
├─ recommend | object [] | 非必须 | item 类型: object | ||
├─ mer_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_gift_bag | number | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ topReply | null | 非必须 | |||
├─ groupBuying | object [] | 非必须 | item 类型: object | ||
├─ group_buying_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ product_group_id | number | 非必须 | |||
├─ groupUser | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/product/spu/lst
Method: GET
接口描述:
Path: /api/product/spu/merchant/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/product/spu/recommend
Method: GET
接口描述:
Path: /api/active/category/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type |
Path: /api/product/spu/hot/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type |
Path: /api/product/spu/bag
Method: GET
接口描述:
Path: /api/product/spu/bag/recommend
Method: GET
接口描述: