Path: /api/menu/user
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ routine_my_menus | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ url | string | 必须 | |||
├─ routine_my_banner | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ routine_spread_banner | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/upload/image
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
filename | string | 必须 | 文件名称 | ||
dir | string | 非必须 | 文件路径 默认(store/comment) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ url | string | 非必须 |
Path: /api/wechat/get_logo
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 请求状态 | ||
msg | string | 非必须 | 提示语 | ||
data | object | 非必须 | 返回数据 | ||
├─ logo_url | string | 非必须 | 授权logo |
Path: /api/site_config
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
data | object | 非必须 | |||
├─ record_No | string | 非必须 | 备案信息 |
Path: /api/v2/bind_status
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /api/v2/diy/get_store_status
Method: GET
接口描述:
Path: /api/wechat/notify
Method: GET
接口描述:
Path: /api/routine/notify
Method: GET
接口描述:
Path: /api/pay/notify/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | alipay wechat tourine | 类型 |
Path: /api/sms_captcha
Method: GET
接口描述:
Path: /api/verify_code
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ key | string | 非必须 | 发短信key | ||
├─ expire_time | string | 非必须 | 过期时间 |
Path: /api/register/verify
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
phone | string | 必须 | 手机号 | ||
type | string | 必须 | 发送验证码类型|register=注册,login=登录,mobile=手机号登录,reset=修改密码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/register
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | string | 必须 | 手机号/账号 | ||
captcha | string | 必须 | 验证码 | ||
password | string | 必须 | 密码 | ||
spread | string | 必须 | 推广编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/login/mobile
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
phone | string | 必须 | 手机号 | ||
captcha | string | 必须 | 短信验证码 | ||
spread | string | 必须 | 推广员编号 默认0 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | 用户登录密钥 | ||
├─ expires_time | string | 非必须 | 用户登录密钥到期时间 |
Path: /api/login
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 账号 | |
password | text | 是 | 密码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | |||
├─ expires_time | number | 非必须 |
Path: /api/register/reset
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | string | 必须 | 手机号/账号 | ||
captcha | string | 必须 | 验证码 | ||
password | string | 必须 | 新密码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/binding
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机号码 | |
captcha | text | 是 | 验证码 | |
key | text | 是 | 授权用户信息保存key |
Path: /api/user/share
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 状态 | ||
msg | string | 非必须 | 提示语 |
Path: /api/share
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object | 非必须 | |||
├─ img | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ synopsis | string | 非必须 |
Path: /api/image_base64
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
image | text | 是 | 图片路径 | |
code | text | 是 | 二维码路径 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code | string | 非必须 | |||
├─ image | string | 非必须 |
Path: /api/wechat/follow
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ path | string | 非必须 | 路径 |
Path: /api/user/set_visit
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
url | text | 是 | 页面路径 | |
stay_time | text | 是 | 1 | 页面停留时间-暂时不传 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/user/share/words
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ key_words | string | 非必须 | 关键字 |
Path: /api/copy_wrds
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ words | string | 非必须 |
Path: /api/diy/get_diy/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | diy id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | object | 非必须 | |||
├─ 1609729689049000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ boxStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ txtStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ hotWords | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ logoConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049001 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049002 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ swiperConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ maxList | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 非必须 | |||
├─ info | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ tips | string | 非必须 | |||
├─ max | number | 必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ itemEdge | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ docConfig | object | 非必须 | |||
├─ cname | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ imgConfig | object | 非必须 | |||
├─ cname | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049003 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ txtStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ style | string | 必须 | |||
├─ listConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ chiild | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ val | string | 必须 | |||
├─ max | number | 必须 | |||
├─ pla | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ logoConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049004 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049005 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ menuConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ maxList | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ tips | string | 必须 | |||
├─ max | number | 必须 | |||
├─ rowStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ titleColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049006 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ titleConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ desConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ menuConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ maxList | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ tips | string | 必须 | |||
├─ max | number | 必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ boxColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049007 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ countDownColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ numberConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ imgConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049009 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ titleColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ productGap | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbCongfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049010 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ lineColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ lineStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ style | string | 必须 | |||
├─ icon | string | 非必须 | |||
├─ heightConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrEdge | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049011 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ imgConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049012 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ heightConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049013 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ chiild | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ val | string | 必须 | |||
├─ max | number | 必须 | |||
├─ pla | string | 必须 | |||
├─ link | object | 必须 | |||
├─ title | string | 非必须 | |||
├─ activeVal | number | 非必须 | |||
├─ optiops | object [] | 非必须 | item 类型: object | ||
├─ type | number | 必须 | |||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ imgStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049014 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ lineColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ lineStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ style | string | 必须 | |||
├─ icon | string | 非必须 | |||
├─ heightConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrEdge | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049015 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ logoConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ topConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049016 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ selectConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ activeValue | string | 非必须 | |||
├─ goodsSort | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ itemStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ goodsList | object | 非必须 | |||
├─ max | number | 非必须 | |||
├─ ids | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ id | string | 非必须 | |||
├─ 1610076940804000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ activeTxtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ menuList | object [] | 非必须 | item 类型: object | ||
├─ imgList | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ name | string | 必须 | |||
├─ link | string | 必须 | |||
├─ id | string | 非必须 |
Path: /api/v2/diy/get_diy/:name
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
name | moren | 模版名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ a_headerSerch | object | 非必须 | |||
├─ imgUrl | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ hotList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ b_swiperBg | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ imgList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ maxlength | number | 必须 | |||
├─ tips | string | 必须 | |||
├─ c_menus | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ imgList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ maxlength | number | 必须 | |||
├─ tips | string | 必须 | |||
├─ d_goodList | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ selectConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ activeValue | string | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ goodsSort | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ goodsList | object | 非必须 | |||
├─ max | number | 非必须 | |||
├─ ids | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ z_tabBar | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ tabBarList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ imgList | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ link | string | 必须 | |||
├─ pagePath | string | 非必须 |
Path: /api/index
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ banner | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ menus | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ roll | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ info | object | 非必须 | |||
├─ fastInfo | string | 非必须 | |||
├─ bastInfo | string | 非必须 | |||
├─ firstInfo | string | 非必须 | |||
├─ salesInfo | string | 非必须 | |||
├─ fastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ firstList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bastBanner | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ img | string | 非必须 | |||
├─ comment | string | 非必须 | |||
├─ link | string | 非必须 | |||
├─ activity | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ lovely | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ img | string | 非必须 | |||
├─ comment | string | 非必须 | |||
├─ link | string | 非必须 | |||
├─ benefit | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ likeInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ store_info | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ stock | number | 必须 | |||
├─ vip_price | number,string | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ star | object [] | 必须 | item 类型: object | ||
├─ product_score | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ checkCoupon | boolean | 必须 | |||
├─ logoUrl | string | 非必须 | |||
├─ site_name | string | 非必须 | |||
├─ subscribe | boolean | 非必须 | |||
├─ newGoodsBananr | string | 非必须 | |||
├─ tengxun_map_key | string | 非必须 | |||
├─ explosive_money | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 |
Path: /api/v2/index
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ fastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ firstList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ benefit | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ likeInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ store_info | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ stock | number | 必须 | |||
├─ vip_price | string,number | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ star | object [] | 必须 | item 类型: object | ||
├─ product_score | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ checkCoupon | boolean | 必须 | |||
├─ subscribe | boolean | 非必须 | |||
├─ tengxun_map_key | string | 非必须 | |||
├─ site_name | string | 非必须 |
Path: /api/navigation/:template_name
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
template_name | 非必填 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ activeTxtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ menuList | object [] | 非必须 | item 类型: object | ||
├─ imgList | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ name | string | 必须 | |||
├─ link | string | 必须 | |||
├─ id | string | 非必须 |
Path: /api/coupons
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 分页参数起始值 | |
limit | 否 | 分页数步长值 | |
type | 否 | 0-所有优惠券(默认) 1-产品相关优惠券 | |
product_id | 否 | 商品id (默认为0) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | null | 必须 | |||
├─ coupon_title | string | 必须 | |||
├─ start_time | string | 必须 | |||
├─ end_time | string | 必须 | |||
├─ total_count | number | 必须 | |||
├─ remain_count | number | 必须 | |||
├─ is_permanent | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_give_subscribe | number | 必须 | |||
├─ is_full_give | number | 必须 | |||
├─ full_reduction | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ title | string | 必须 | |||
├─ integral | number | 必须 | |||
├─ coupon_price | number | 必须 | |||
├─ use_min_price | number | 必须 | |||
├─ coupon_time | number | 必须 | |||
├─ product_id | string | 必须 | |||
├─ category_id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ receive_type | number | 必须 | |||
├─ start_use_time | number | 必须 | |||
├─ end_use_time | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ used | null | 必须 | |||
├─ is_use | boolean | 必须 |
Path: /api/v2/get_today_coupon
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ image | string | 非必须 |
Path: /api/products
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
sid | 否 | 二级分类编号 | |
cid | 否 | 一级分类编号(!) | |
keyword | 否 | 搜索 | |
priceOrder | 否 | 价格排序 | |
salesOrder | 否 | 销量排序 | |
news | 否 | 是否新品 | |
type | 是 | ||
ids | 是 | ||
selectId | 是 | ||
page | 否 | 分页参数起始值 | |
limit | 否 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ image | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ price | string | 必须 | |||
├─ stock | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ ot_price | string | 必须 | |||
├─ spec_type | number | 必须 | |||
├─ recommend_image | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ vip_price | string,number | 必须 | |||
├─ description | string | 必须 | |||
├─ checkCoupon | boolean | 必须 |
Path: /api/groom/list/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 1 | 获取产品类型 1 精品推荐 2 热门榜单 3首发新品 4促销单品 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | |
limit | 是 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ banner | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ img | string | 非必须 | |||
├─ comment | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ store_info | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ stock | number | 必须 | |||
├─ vip_price | string,number | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ star | object [] | 必须 | item 类型: object | ||
├─ product_score | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ checkCoupon | boolean | 必须 |
Path: /api/search/keyword
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | integer | 必须 | 热门搜索编号 | ||
├─ title | string | 必须 | 热门搜索名称 |
Path: /api/pink
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ pink_count | number | 非必须 | 拼团完成总数 | ||
├─ avatars | object | 非必须 | 用户头像 | ||
├─ http://kaifa.crmeb.net/uploads/attach/2019/08/20190807/723adbdd4e49a0f9394dfc700ab5dba3.png | string | 非必须 | |||
├─ http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKhUGDdn4VqtbgcdFPYBRZ9J6f5Mo6ib8rW7UJK10uKf9gyMk6agZbcmicv40HpYIlGsSlWaAibDdOwg/132 | string | 非必须 | |||
├─ http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLiblpc6erWiaKEBniadyFgb5L9ShYj9Z7NNDedS0OKD7UD5zIRTokCiaB4GKnvyP4AGoBxQ81ibhaPqGg/132 | string | 非必须 |
Path: /api/article/new/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image_input | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ visit | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ synopsis | string | 必须 | |||
├─ url | string | 必须 |
Path: /api/article/category/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 |
Path: /api/article/list/:cid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
cid | 1 | 分类编号 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页数起始值(默认0 查询全部) |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ image_input | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ visit | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ synopsis | string | 非必须 | |||
├─ url | null | 非必须 |
Path: /api/article/details/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 文章编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ cid | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ author | string | 非必须 | |||
├─ image_input | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ synopsis | string | 非必须 | |||
├─ share_title | string | 非必须 | |||
├─ share_synopsis | string | 非必须 | |||
├─ visit | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ url | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ hide | number | 非必须 | |||
├─ admin_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_banner | number | 非必须 | |||
├─ content | string | 非必须 | |||
├─ catename | string | 非必须 | |||
├─ store_info | object | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ id | number | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ update_time | string | 非必须 | |||
├─ storeInfo | object | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ id | number | 非必须 | |||
├─ ot_price | string | 非必须 |
Path: /api/article/hot/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image_input | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ visit | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ synopsis | string | 必须 | |||
├─ url | string | 必须 |
Path: /api/article/banner/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image_input | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ visit | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ synopsis | string | 必须 | |||
├─ url | string | 必须 |
Path: /api/product/code/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 产品id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
user_type | 否 | wechat = 公众号,routine = 小程序 ,默认 wechat |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code | string | 非必须 |
Path: /api/reply/config/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ sum_count | number | 非必须 | |||
├─ good_count | number | 非必须 | |||
├─ in_count | number | 非必须 | |||
├─ poor_count | number | 非必须 | |||
├─ reply_chance | string | 非必须 | |||
├─ reply_star | number | 非必须 |
Path: /api/product/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 13232 | 商品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ productAttr | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ productValue | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ storeInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | number | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ description | string | 非必须 | |||
├─ image_base | string | 非必须 | |||
├─ fsales | number | 非必须 | |||
├─ code_base | string | 非必须 | |||
├─ userCollect | boolean | 非必须 | |||
├─ userLike | boolean | 非必须 | |||
├─ priceName | number | 非必须 | |||
├─ reply | null | 非必须 | |||
├─ replyChance | number | 非必须 | |||
├─ replyCount | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ good_list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ image | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ price | string | 必须 | |||
├─ stock | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ unit_name | string | 必须 | |||
├─ description | string | 必须 | |||
├─ checkCoupon | boolean | 必须 | |||
├─ mapKey | string | 非必须 | |||
├─ store_self_mention | number | 非必须 | |||
├─ activity | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ coupons | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | null | 必须 | |||
├─ coupon_title | string | 必须 | |||
├─ start_time | string | 必须 | |||
├─ end_time | string | 必须 | |||
├─ total_count | number | 必须 | |||
├─ remain_count | number | 必须 | |||
├─ is_permanent | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_give_subscribe | number | 必须 | |||
├─ is_full_give | number | 必须 | |||
├─ full_reduction | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ title | string | 必须 | |||
├─ integral | number | 必须 | |||
├─ coupon_price | number | 必须 | |||
├─ use_min_price | number | 必须 | |||
├─ coupon_time | number | 必须 | |||
├─ product_id | string | 必须 | |||
├─ category_id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ receive_type | number | 必须 | |||
├─ start_use_time | number | 必须 | |||
├─ end_use_time | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ used | null | 必须 | |||
├─ is_use | boolean | 必须 |
Path: /api/reply/list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 产品编号 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页数起始值(默认0 查询全部) |
limit | 否 | 20 | 分页数步长值 |
type | 否 | 0 | 评价等级 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ oid | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ product_id | number | 必须 | |||
├─ reply_type | string | 必须 | |||
├─ product_score | number | 必须 | |||
├─ service_score | number | 必须 | |||
├─ comment | string | 必须 | |||
├─ pics | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ add_time | string | 必须 | |||
├─ merchant_reply_content | null,string | 必须 | |||
├─ merchant_reply_time | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_reply | number | 必须 | |||
├─ nickname | string | 必须 | |||
├─ avatar | string | 必须 | |||
├─ is_money_level | null | 必须 | |||
├─ suk | string | 必须 | |||
├─ star | string | 必须 |
Path: /api/category
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ big_pic | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ big_pic | string | 必须 |
Path: /api/product/hot
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 分页参数起始值 |
limit | 是 | 20 | 分页数步长值 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
page | number | 必须 | 分页数起始值 | ||
limit | number | 必须 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ image | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ price | string | 必须 | |||
├─ stock | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ unit_name | string | 必须 | |||
├─ description | string | 必须 | |||
├─ checkCoupon | boolean | 必须 |
Path: /api/v2/coupons
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | ||
product_id | 是 | ||
page | 是 | 1 | |
limit | 是 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | null | 必须 | |||
├─ coupon_title | string | 必须 | |||
├─ start_time | string | 必须 | |||
├─ end_time | string | 必须 | |||
├─ total_count | number | 必须 | |||
├─ remain_count | number | 必须 | |||
├─ is_permanent | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_give_subscribe | number | 必须 | |||
├─ is_full_give | number | 必须 | |||
├─ full_reduction | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ title | string | 必须 | |||
├─ integral | number | 必须 | |||
├─ coupon_price | number | 必须 | |||
├─ use_min_price | number | 必须 | |||
├─ coupon_time | number | 必须 | |||
├─ product_id | string | 必须 | |||
├─ category_id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ receive_type | number | 必须 | |||
├─ start_use_time | number | 必须 | |||
├─ end_use_time | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ used | null | 必须 | |||
├─ is_use | boolean | 必须 | |||
├─ count | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 |
Path: /api/coupons/user/:types
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
types | 0 | 优惠券状态 0全部 1未使用 2已使用 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ cid | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ coupon_title | string | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ use_min_price | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ start_time | number | 非必须 | |||
├─ end_time | string | 非必须 | |||
├─ use_time | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ status | string | 非必须 | |||
├─ is_fail | number | 非必须 | |||
├─ applicable_type | number | 非必须 | |||
├─ coupon_time | number | 非必须 | |||
├─ product_id | string | 非必须 | |||
├─ category_id | number | 非必须 | |||
├─ receive_type | number | 非必须 | |||
├─ start_use_time | number | 非必须 | |||
├─ end_use_time | number | 非必须 | |||
├─ _type | number | 非必须 | |||
├─ _msg | string | 非必须 | |||
├─ _add_time | string | 非必须 | |||
├─ _end_time | string | 非必须 |
Path: /api/coupon/receive/batch
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
couponId | text | 是 | [1,2] | 领取优惠券编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/v2/new_coupon
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | number | 必须 | |||
├─ start_time | number | 必须 | |||
├─ end_time | number | 必须 | |||
├─ total_count | number | 必须 | |||
├─ remain_count | number | 必须 | |||
├─ is_permanent | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_give_subscribe | number | 必须 | |||
├─ is_full_give | number | 必须 | |||
├─ full_reduction | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ image | string | 非必须 |
Path: /api/coupon/receive
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
couponId | integer | 必须 | 要领取的优惠券编号(公共接口 优惠券列表返回参数的优惠券发布编号) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/sign/integral
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ integral | string | 非必须 |
Path: /api/sign/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 分页参数起始值 |
limit | 是 | 20 | 分页数步长值 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
page | number | 必须 | 分页参数起始值 | ||
limit | number | 必须 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ number | number | 非必须 | |||
├─ balance | number | 非必须 | |||
├─ add_time | string | 非必须 |
Path: /api/sign/month
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 分页参数起始值 |
limit | 是 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ month | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ add_time | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ number | number | 非必须 | |||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 |
Path: /api/sign/user
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
sign | string | 非必须 | 是否统计签到|1=是,0=否 | ||
integral | string | 非必须 | 是否统计积分使用情况|1=是,0=否 | ||
all | string | 非必须 | 是否统计签到和统计积分使用情况|1=是,0=否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ integral | number | 非必须 | |||
├─ exp | string | 非必须 | |||
├─ sign_num | number | 非必须 | |||
├─ spread_open | number | 非必须 | |||
├─ is_promoter | boolean | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ spread_count | number | 非必须 | |||
├─ adminid | number | 非必须 | |||
├─ login_type | string | 非必须 | |||
├─ record_phone | string | 非必须 | |||
├─ is_money_level | number | 非必须 | |||
├─ is_ever_level | number | 非必须 | |||
├─ overdue_time | number | 非必须 | |||
├─ uniqid | string | 非必须 | |||
├─ sum_sgin_day | number | 非必须 | |||
├─ is_day_sgin | boolean | 非必须 | |||
├─ is_YesterDay_sgin | boolean | 非必须 |
Path: /api/sign/config
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ day | string | 必须 | |||
├─ sign_num | string | 必须 |
Path: /api/seckill/index
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ lovely | string | 非必须 | |||
├─ seckillTime | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ time | string | 必须 | |||
├─ continued | string | 必须 | |||
├─ slide | array,string | 必须 | |||
├─ state | string | 必须 | |||
├─ status | number | 必须 | |||
├─ stop | number | 必须 | |||
├─ seckillTimeIndex | number | 非必须 |
Path: /api/seckill/list/:time
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
time | 1 | 秒杀时间段编号(秒杀产品时间区间接口获取) |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页数起始值(默认0查询全部) |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ ot_price | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ description | null | 非必须 | |||
├─ start_time | string | 非必须 | |||
├─ stop_time | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ num | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ time_id | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ percent | number | 非必须 |
Path: /api/seckill/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 秒杀产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ buy_num | number | 非必须 | |||
├─ storeInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ description | string | 非必须 | |||
├─ start_time | string | 非必须 | |||
├─ stop_time | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ num | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ time_id | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ image_base | string | 非必须 | |||
├─ total | number | 非必须 | |||
├─ code_base | string | 非必须 | |||
├─ userCollect | boolean | 非必须 | |||
├─ userLike | boolean | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ percent | number | 非必须 | |||
├─ reply | null | 非必须 | |||
├─ replyChance | number | 非必须 | |||
├─ replyCount | number | 非必须 | |||
├─ productAttr | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ attr_name | string | 非必须 | |||
├─ attr_values | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ type | number | 非必须 | |||
├─ attr_value | object [] | 非必须 | item 类型: object | ||
├─ attr | string | 非必须 | |||
├─ check | boolean | 非必须 | |||
├─ productValue | object | 非必须 | |||
├─ 默认 | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ product_stock | number | 非必须 |
Path: /api/combination/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值(默认0 全程查询) |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ images | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 必须 | |||
├─ attr | null | 必须 | |||
├─ people | number | 必须 | |||
├─ info | string | 必须 | |||
├─ price | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ sales | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ is_host | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ combination | number | 必须 | |||
├─ mer_use | null | 必须 | |||
├─ is_postage | number | 必须 | |||
├─ postage | string | 必须 | |||
├─ start_time | number | 必须 | |||
├─ stop_time | number | 必须 | |||
├─ effective_time | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ browse | number | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ temp_id | number | 必须 | |||
├─ weight | string | 必须 | |||
├─ volume | string | 必须 | |||
├─ num | number | 必须 | |||
├─ once_num | number | 必须 | |||
├─ quota | number | 必须 | |||
├─ quota_show | number | 必须 | |||
├─ virtual | number | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ product_price | number | 必须 |
Path: /api/combination/banner_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | 编号 | ||
├─ img | string | 非必须 | 图片 | ||
├─ comment | string | 非必须 | 备注 | ||
├─ link | string | 非必须 | 链接 |
Path: /api/combination/pink/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ userInfo | object | 非必须 | 用户信息 | ||
├─ uid | integer | 非必须 | 用户编号 | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ avatar | string | 非必须 | 用户头像 | ||
├─ pinkBool | number | 非必须 | 判断拼团是否成功|0=失败 | ||
├─ is_ok | number | 非必须 | 判断拼团是否完成 | ||
├─ userBool | number | 非必须 | 判断当前用户是否在团内|0=未在,1=在 | ||
├─ store_combination | object | 非必须 | 拼团产品信息 | ||
├─ id | integer | 非必须 | 拼团产品编号 | ||
├─ product_id | integer | 非必须 | 产品编号 | ||
├─ image | string | 非必须 | 拼团产品图片 | ||
├─ title | string | 非必须 | 拼团产品标题 | ||
├─ people | number | 非必须 | 拼团产品人数 | ||
├─ price | string | 非必须 | 拼团产品价格 | ||
├─ unit_name | string | 非必须 | 拼团产品单位 | ||
├─ pinkT | object | 非必须 | 团长信息 | ||
├─ id | integer | 非必须 | 拼团编号 | ||
├─ uid | number | 非必须 | 团长用户编号 | ||
├─ total_num | number | 非必须 | 拼团产品数量 | ||
├─ people | number | 非必须 | 拼团人数 | ||
├─ price | string | 非必须 | 拼团价格 | ||
├─ stop_time | string | 非必须 | 拼团结束时间 | ||
├─ status | number | 非必须 | 拼团状态|1=进行中,2=已完成,3=未完成 | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ avatar | string | 非必须 | 用户头像 | ||
├─ pinkAll | object [] | 非必须 | 拼团成员信息 | item 类型: object | |
├─ id | integer | 非必须 | 拼团编号 | ||
├─ uid | integer | 非必须 | 用户编号 | ||
├─ total_num | number | 非必须 | 拼团产品数量 | ||
├─ people | number | 非必须 | 拼团人数 | ||
├─ price | string | 非必须 | 拼团价格 | ||
├─ stop_time | string | 非必须 | 拼团结束时间 | ||
├─ status | number | 非必须 | 拼团状态|1=进行中,2=已完成,3=未完成 | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ avatar | string | 非必须 | 用户头像 | ||
├─ count | number | 非必须 | 可参团人数 | ||
├─ store_combination_host | object [] | 非必须 | 拼团推荐产品 | item 类型: object | |
├─ id | integer | 非必须 | 拼团产品编号 | ||
├─ image | string | 非必须 | 拼团产品图片 | ||
├─ price | string | 非必须 | 拼团产品价格 | ||
├─ sales | number | 非必须 | 拼团产品销量 | ||
├─ title | string | 非必须 | 拼团产品标题 | ||
├─ people | number | 非必须 | 拼团产品人数 | ||
├─ product_price | string | 非必须 | 拼团产品原价 | ||
├─ current_pink_order | string | 非必须 | 拼团编号 |
Path: /api/combination/remove
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | 拼团编号 | ||
cid | integer | 必须 | 拼团产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/combination/poster
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | 拼团编号 | ||
from | string | 非必须 | 海报类型|wechat=公众号,routine=小程序(默认公众号) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ url | string | 非必须 | 小程序海报图片地址 | ||
├─ wap_url | string | 非必须 | 公众号海报图片地址 |
Path: /api/combination/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ storeInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ attr | null | 非必须 | |||
├─ people | number | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ is_host | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ combination | number | 非必须 | |||
├─ mer_use | null | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ start_time | number | 非必须 | |||
├─ stop_time | number | 非必须 | |||
├─ effective_time | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ num | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ virtual | number | 非必须 | |||
├─ description | string | 非必须 | |||
├─ total | string | 非必须 | |||
├─ product_price | string | 非必须 | |||
├─ image_base | string | 非必须 | |||
├─ sale_stock | number | 非必须 | |||
├─ userCollect | boolean | 非必须 | |||
├─ userLike | boolean | 非必须 | |||
├─ code_base | string | 非必须 | |||
├─ pink_ok_list | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ pink_ok_sum | number | 非必须 | |||
├─ pink | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ pindAll | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ buy_num | number | 非必须 | |||
├─ reply | null | 非必须 | |||
├─ replyChance | number | 非必须 | |||
├─ replyCount | number | 非必须 | |||
├─ productAttr | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ attr_name | string | 非必须 | |||
├─ attr_values | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ type | number | 非必须 | |||
├─ attr_value | object [] | 非必须 | item 类型: object | ||
├─ attr | string | 必须 | |||
├─ check | boolean | 必须 | |||
├─ productValue | object | 非必须 | |||
├─ X | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ product_stock | number | 非必须 | |||
├─ XXL | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ product_stock | number | 非必须 |
Path: /api/combination/code/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code | string | 非必须 | 二维码路径 |
Path: /api/combination/poster_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ title | string | 非必须 | 商品标题 | ||
├─ url | string | 非必须 | 小程序二维码,只有小程序访问时才会有 | ||
├─ image | string | 非必须 | 商品图 | ||
├─ price | string | 非必须 | 剩余金额 | ||
├─ label | string | 非必须 | 标签 | ||
├─ msg | string | 非必须 | 备注 |
Path: /api/bargain/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值(默认0为全部查询) |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ stock | number | 必须 | |||
├─ sales | number | 必须 | |||
├─ images | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ start_time | number | 必须 | |||
├─ stop_time | number | 必须 | |||
├─ store_name | null | 必须 | |||
├─ price | number | 必须 | |||
├─ min_price | string | 必须 | |||
├─ num | number | 必须 | |||
├─ bargain_max_price | string | 必须 | |||
├─ bargain_min_price | string | 必须 | |||
├─ bargain_num | number | 必须 | |||
├─ status | number | 必须 | |||
├─ give_integral | string | 必须 | |||
├─ info | string | 必须 | |||
├─ cost | null | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_hot | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ is_postage | number | 必须 | |||
├─ postage | null | 必须 | |||
├─ rule | string | 必须 | |||
├─ look | number | 必须 | |||
├─ share | number | 必须 | |||
├─ temp_id | number | 必须 | |||
├─ weight | string | 必须 | |||
├─ volume | string | 必须 | |||
├─ quota | number | 必须 | |||
├─ quota_show | number | 必须 | |||
├─ people_num | number | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ people | number | 必须 |
Path: /api/bargain/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 砍价产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ userInfo | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ bargain | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ start_time | number | 非必须 | |||
├─ stop_time | number | 非必须 | |||
├─ store_name | null | 非必须 | |||
├─ price | string | 非必须 | |||
├─ min_price | string | 非必须 | |||
├─ num | number | 非必须 | |||
├─ bargain_max_price | string | 非必须 | |||
├─ bargain_min_price | string | 非必须 | |||
├─ bargain_num | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ cost | null | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ postage | null | 非必须 | |||
├─ rule | string | 非必须 | |||
├─ look | number | 非必须 | |||
├─ share | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ people_num | number | 非必须 | |||
├─ description | string | 非必须 | |||
├─ time | number | 非必须 | |||
├─ attr | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ product_stock | number | 非必须 | |||
├─ bargainSumCount | number | 非必须 | |||
├─ userBargainStatus | number | 非必须 |
Path: /api/bargain/start/user
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 |
Path: /api/bargain/user/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值(默认全部查询) |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ bargain_price_min | string | 非必须 | |||
├─ bargain_price | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ datatime | number | 非必须 | |||
├─ people_num | number | 非必须 | |||
├─ residue_price | string | 非必须 |
Path: /api/bargain/start
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | number | 必须 | 砍价产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/bargain/share
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | number | 必须 | 砍价产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ lookCount | number | 非必须 | |||
├─ userCount | number | 非必须 | |||
├─ shareCount | number | 非必须 |
Path: /api/bargain/user/cancel
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | string | 必须 | 砍价产品编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/bargain/help
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | string | 必须 | 砍价产品编号 | ||
bargainUserUid | string | 必须 | 开启砍价的用户 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/bargain/help/price
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | string | 必须 | 砍价产品编号 | ||
bargainUserUid | string | 必须 | 开启砍价的用户 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ price | string | 非必须 | 砍掉的金额 |
Path: /api/bargain/help/list
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | string | 必须 | 砍价产品编号 | ||
bargainUserUid | string | 必须 | 开启砍价的用户 | ||
page | string | 必须 | 分页参数起始值(默认全部查询)|0=全部查询 | ||
limit | string | 必须 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ price | string | 非必须 | 砍掉金额 | ||
├─ add_time | string | 非必须 | 砍价时间 | ||
├─ nickname | string | 非必须 | 帮砍用户昵称 | ||
├─ avatar | string | 非必须 | 帮砍用户头像 |
Path: /api/bargain/help/count
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | string | 必须 | 砍价产品编号 | ||
bargainUserUid | string | 必须 | 开启砍价的用户 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ userBargainStatus | boolean | 非必须 | |||
├─ count | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ alreadyPrice | number | 非必须 | |||
├─ pricePercent | number | 非必须 |
Path: /api/bargain/poster
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bargainId | number | 必须 | 砍价产品编号 | ||
from | string | 非必须 | 海报类型|wechat=公众号,routine=小程序(默认公众号) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ url | string | 非必须 |
Path: /api/seckill/code/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 秒杀商品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code | string | 非必须 | 秒杀小程序图片路径 |
Path: /api/bargain/poster_info/:bargainId
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
bargainId | 1 | 砍价id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ url | string | 非必须 | 只有在小程序访问下才会返回二维码路径 | ||
├─ title | string | 非必须 | 砍价商品标题 | ||
├─ image | string | 非必须 | 商品主图 | ||
├─ price | string | 非必须 | 金额 | ||
├─ label | string | 非必须 | 标签内文字 | ||
├─ msg | string | 非必须 | 说明 |
Path: /api/bargain/config
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ id | integer | 非必须 | 编号 | ||
├─ img | string | 非必须 | 图片 | ||
├─ comment | string | 非必须 | 描述 |
Path: /api/v2/get_attr/:id/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 商品ID |
type | 0 | 0正常1秒杀2砍价3拼团 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/cart/num
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | 购物车编号 | ||
number | number | 必须 | 购物车数量 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/cart/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 购物车商品状态 | |
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ valid | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ invalid | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ deduction | object | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ combination_id | number | 非必须 |
Path: /api/cart/del
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | string [] | 必须 | 购物车编号数组 | item 类型: string | |
├─ | 非必须 | 购物车编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/cart/add
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
productId | text | 是 | 1 | 普通产品编号 |
cartNum | text | 是 | 1 | 购物车数量 |
uniqueId | text | 否 | 6af2068e | 属性唯一值 |
combinationId | text | 否 | 1 | 拼团产品编号 |
secKillId | text | 否 | 1 | 秒杀产品编号 |
bargainId | text | 否 | 1 | 砍价产品编号 |
new | text | 是 | 1 | 购物车类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ cartId | integer | 非必须 | 购物车编号 |
Path: /api/cart/count
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
numType | 否 | false | 购物车数量类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 购物车数量 |
Path: /api/v2/set_cart_num
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | 1 | 商品ID |
num | text | 是 | 1 | 数量 |
unique | text | 是 | 规格唯一值,单规格为空 | |
type | text | 是 | 0 | -1 直接修改,0 减少, 1 增加 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/v2/cart_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | 购物车ID | ||
├─ uid | number | 必须 | 用户ID | ||
├─ type | string | 必须 | 类型 | ||
├─ product_id | number | 必须 | 商品ID | ||
├─ product_attr_unique | string | 必须 | 规格唯一值 | ||
├─ cart_num | number | 必须 | 数量 | ||
├─ add_time | number | 必须 | 添加时间 | ||
├─ is_pay | number | 必须 | 是否支付 | ||
├─ is_del | number | 必须 | 是否删除 | ||
├─ is_new | number | 必须 | 是否直接购买 | ||
├─ combination_id | number | 必须 | 拼团商品ID | ||
├─ seckill_id | number | 必须 | 秒杀商品ID | ||
├─ bargain_id | number | 必须 | 砍价商品ID | ||
├─ status | number | 必须 | 购物车状态1有效0无效 |
Path: /api/api/v2/reset_cart
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | ||
unique | text | 是 | ||
num | text | 是 | ||
product_id | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/order/computed/:key
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
key | 2076dfaecae7404169f8eea9b3bcdf28 | 订单信息缓存标识 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
addressId | text | 是 | 1 | 地址编号 |
couponId | text | 是 | 1 | 领取优惠券编号 |
payType | text | 是 | weixin | 支付方式 |
useIntegral | text | 是 | 1 | 是否积分抵扣 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ price | number | 非必须 | 订单金额 |
Path: /api/order/confirm
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cartId | text | 是 | 1 | 购物车编号 (多个请用英文状态逗号隔开 1,2,3) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ deduction | boolean | 非必须 | |||
├─ addressInfo | object | 非必须 | |||
├─ 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 | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ cartInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ priceGroup | object | 非必须 | |||
├─ storePostage | string | 非必须 | |||
├─ storeFreePostage | number | 非必须 | |||
├─ totalPrice | string | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ vipPrice | string | 非必须 | |||
├─ storePostageDiscount | number | 非必须 | |||
├─ orderKey | string | 非必须 | |||
├─ offlinePostage | string | 非必须 | |||
├─ userInfo | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ birthday | number | 非必须 | |||
├─ card_id | string | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ partner_id | number | 非必须 | |||
├─ group_id | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ last_time | number | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ integral | number | 非必须 | |||
├─ exp | string | 非必须 | |||
├─ sign_num | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ level | number | 非必须 | |||
├─ spread_open | number | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ spread_time | number | 非必须 | |||
├─ user_type | string | 非必须 | |||
├─ is_promoter | number | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ spread_count | number | 非必须 | |||
├─ addres | string | 非必须 | |||
├─ adminid | number | 非必须 | |||
├─ login_type | string | 非必须 | |||
├─ record_phone | string | 非必须 | |||
├─ is_money_level | number | 非必须 | |||
├─ is_ever_level | number | 非必须 | |||
├─ overdue_time | number | 非必须 | |||
├─ uniqid | string | 非必须 | |||
├─ vip | boolean | 非必须 | |||
├─ vip_id | number | 非必须 | |||
├─ discount | number | 非必须 | |||
├─ integralRatio | string | 非必须 | |||
├─ offline_pay_status | number | 非必须 | |||
├─ yue_pay_status | number | 非必须 | |||
├─ pay_weixin_open | number | 非必须 | |||
├─ store_self_mention | number | 非必须 | |||
├─ ali_pay_status | boolean | 非必须 | |||
├─ system_store | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ invoice_func | boolean | 非必须 | |||
├─ special_invoice | boolean | 非必须 |
Path: /api/order/create/:key
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
key | 2076dfaecae7404169f8eea9b3bcdf28 | 订单信息缓存标识 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
addressId | text | 是 | 1 | 地址编号 |
couponId | text | 是 | 1 | 领取优惠券编号 |
payType | text | 是 | weixin | 支付方式 |
useIntegral | text | 否 | 1 | 是否积分抵扣 |
mark | text | 是 | 订单备注 | 订单备注 |
combinationId | text | 否 | 1 | 砍价产品编号 |
pinkId | text | 否 | 1 | 拼团编号 |
seckill_id | text | 否 | 1 | 秒杀产品编号 |
formId | text | 否 | 123123213 | 表单id 小程序模板消息使用 |
bargainId | text | 否 | 1 | 砍价产品编号 |
from | text | 否 | weixin | 支付类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | string | 非必须 | |||
├─ result | object | 非必须 | |||
├─ orderId | string | 非必须 | |||
├─ key | string | 非必须 |
Path: /api/order/pay
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
uni | string | 必须 | 订单编号 | ||
paytype | string | 非必须 | 支付方式(默认微信支付) | ||
from | string | 必须 | 支付类型|routine=小程序,weixin=微信 | ||
quitUrl | string | 非必须 | 支付宝支付H5上必须填写,小程序不用填写 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ status | string | 非必须 | 状态 | ||
├─ result | object | 非必须 | |||
├─ jsConfig | object | 非必须 | 支付参数 | ||
├─ appId | string | 非必须 | appId | ||
├─ nonceStr | string | 非必须 | 随机字符串 | ||
├─ package | string | 非必须 | 统一下单接口返回的 prepay_id 参数值 | ||
├─ signType | string | 非必须 | 签名类型 | ||
├─ paySign | string | 非必须 | 签名 | ||
├─ timestamp | string | 非必须 | 时间戳 | ||
├─ order_id | string | 非必须 | 订单编号 |
Path: /api/order/cancel
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | wx2019052910013710014 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/order/again
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
uni | string | 必须 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ cateId | string | 非必须 | 购物车编号 |
Path: /api/order/data
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ order_count | string | 非必须 | |||
├─ sum_price | string | 非必须 | |||
├─ unpaid_count | string | 非必须 | |||
├─ unshipped_count | string | 非必须 | |||
├─ received_count | string | 非必须 | |||
├─ evaluated_count | string | 非必须 | |||
├─ complete_count | string | 非必须 | |||
├─ refund_count | string | 非必须 | |||
├─ yue_pay_status | number | 非必须 | |||
├─ pay_weixin_open | number | 非必须 | |||
├─ ali_pay_status | boolean | 非必须 |
Path: /api/order/list
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 否 | 0 | 订单状态 |
page | 否 | 1 | 分页参数起始值 默认0查询全部 |
limit | 否 | 20 | 分页数步长值 |
search | 否 | wx2019071014372910004 | 搜索订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ trade_no | string | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ user_phone | string | 非必须 | |||
├─ user_address | string | 非必须 | |||
├─ cart_id | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ freight_price | string | 非必须 | |||
├─ total_num | number | 非必须 | |||
├─ total_price | string | 非必须 | |||
├─ total_postage | string | 非必须 | |||
├─ pay_price | string | 非必须 | |||
├─ pay_postage | string | 非必须 | |||
├─ deduction_price | string | 非必须 | |||
├─ coupon_id | number | 非必须 | |||
├─ coupon_price | string | 非必须 | |||
├─ paid | number | 非必须 | |||
├─ pay_time | number | 非必须 | |||
├─ pay_type | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ refund_status | number | 非必须 | |||
├─ refund_reason_wap_img | null | 非必须 | |||
├─ refund_reason_wap_explain | null | 非必须 | |||
├─ refund_reason_time | null | 非必须 | |||
├─ refund_reason_wap | null | 非必须 | |||
├─ refund_reason | null | 非必须 | |||
├─ refund_price | string | 非必须 | |||
├─ delivery_name | null | 非必须 | |||
├─ delivery_code | string | 非必须 | |||
├─ delivery_type | null | 非必须 | |||
├─ delivery_id | null | 非必须 | |||
├─ fictitious_content | string | 非必须 | |||
├─ delivery_uid | number | 非必须 | |||
├─ gain_integral | string | 非必须 | |||
├─ use_integral | string | 非必须 | |||
├─ back_integral | null | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ remark | null | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_mer_check | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ pink_id | number | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ verify_code | string | 非必须 | |||
├─ store_id | number | 非必须 | |||
├─ shipping_type | number | 非必须 | |||
├─ clerk_id | number | 非必须 | |||
├─ is_channel | number | 非必须 | |||
├─ is_remind | number | 非必须 | |||
├─ is_system_del | number | 非必须 | |||
├─ channel_type | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ express_dump | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ spread_nickname | null | 非必须 | |||
├─ cartInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ is_reply | number | 非必须 | |||
├─ _status | object | 非必须 | |||
├─ _type | number | 非必须 | |||
├─ _title | string | 非必须 | |||
├─ _msg | string | 非必须 | |||
├─ _class | string | 非必须 | |||
├─ _payType | string | 非必须 | |||
├─ _pay_time | string | 非必须 | |||
├─ _add_time | string | 非必须 | |||
├─ stop_time | number | 非必须 | |||
├─ status_pic | string | 非必须 | |||
├─ offlinePayStatus | number | 非必须 | |||
├─ order_log | object | 非必须 | |||
├─ create | string | 非必须 | |||
├─ pay | string | 非必须 | |||
├─ delivery | string | 非必须 | |||
├─ take | string | 非必须 | |||
├─ complete | string | 非必须 |
Path: /api/order/detail/:uni
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uni | wx2019052910013710014 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ trade_no | string | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ user_phone | string | 非必须 | |||
├─ user_address | string | 非必须 | |||
├─ cart_id | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ freight_price | string | 非必须 | |||
├─ total_num | number | 非必须 | |||
├─ total_price | string | 非必须 | |||
├─ total_postage | string | 非必须 | |||
├─ pay_price | string | 非必须 | |||
├─ pay_postage | string | 非必须 | |||
├─ deduction_price | string | 非必须 | |||
├─ coupon_id | number | 非必须 | |||
├─ coupon_price | string | 非必须 | |||
├─ paid | number | 非必须 | |||
├─ pay_time | number | 非必须 | |||
├─ pay_type | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ refund_status | number | 非必须 | |||
├─ refund_reason_wap_img | null | 非必须 | |||
├─ refund_reason_wap_explain | null | 非必须 | |||
├─ refund_reason_time | null | 非必须 | |||
├─ refund_reason_wap | null | 非必须 | |||
├─ refund_reason | null | 非必须 | |||
├─ refund_price | string | 非必须 | |||
├─ delivery_name | null | 非必须 | |||
├─ delivery_code | string | 非必须 | |||
├─ delivery_type | null | 非必须 | |||
├─ delivery_id | null | 非必须 | |||
├─ fictitious_content | string | 非必须 | |||
├─ delivery_uid | number | 非必须 | |||
├─ gain_integral | string | 非必须 | |||
├─ use_integral | string | 非必须 | |||
├─ back_integral | null | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ remark | null | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_mer_check | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ pink_id | number | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ verify_code | string | 非必须 | |||
├─ store_id | number | 非必须 | |||
├─ shipping_type | number | 非必须 | |||
├─ clerk_id | number | 非必须 | |||
├─ is_channel | number | 非必须 | |||
├─ is_remind | number | 非必须 | |||
├─ is_system_del | number | 非必须 | |||
├─ channel_type | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ express_dump | string | 非必须 | |||
├─ add_time_y | string | 非必须 | |||
├─ add_time_h | string | 非必须 | |||
├─ system_store | boolean | 非必须 | |||
├─ mapKey | string | 非必须 | |||
├─ yue_pay_status | number | 非必须 | |||
├─ pay_weixin_open | number | 非必须 | |||
├─ ali_pay_status | boolean | 非必须 | |||
├─ cartInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ is_reply | number | 非必须 | |||
├─ _status | object | 非必须 | |||
├─ _type | number | 非必须 | |||
├─ _title | string | 非必须 | |||
├─ _msg | string | 非必须 | |||
├─ _class | string | 非必须 | |||
├─ _payType | string | 非必须 | |||
├─ _pay_time | string | 非必须 | |||
├─ _add_time | string | 非必须 | |||
├─ stop_time | number | 非必须 | |||
├─ status_pic | string | 非必须 | |||
├─ offlinePayStatus | number | 非必须 | |||
├─ order_log | object | 非必须 | |||
├─ create | string | 非必须 | |||
├─ pay | string | 非必须 | |||
├─ delivery | string | 非必须 | |||
├─ take | string | 非必须 | |||
├─ complete | string | 非必须 | |||
├─ vip_true_price | number | 非必须 | |||
├─ postage_price | number | 非必须 | |||
├─ member_price | number | 非必须 |
Path: /api/order/del
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
uni | string | 必须 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/order/take
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
uni | string | 必须 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/order/express/:uni
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uni | wx2019052910013710014 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ order | object | 非必须 | |||
├─ delivery_id | string | 非必须 | |||
├─ delivery_name | string | 非必须 | |||
├─ delivery_code | string | 非必须 | |||
├─ delivery_type | string | 非必须 | |||
├─ user_address | string | 非必须 | |||
├─ user_mark | string | 非必须 | |||
├─ cartInfo | object [] | 非必须 | item 类型: object | ||
├─ cart_num | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ image | string | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ express | object | 非必须 | |||
├─ result | object | 非必须 | |||
├─ list | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/order/comment
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
unique | string | 必须 | 购物车和订单号MD5加密的唯一值(订单详情接口内的cartInfo内) | ||
comment | string | 必须 | 产品评论 | ||
pics | string [] | 非必须 | 产品评论图片 | item 类型: string | |
├─ | 非必须 | ||||
product_score | number | 非必须 | 产品分数 0-5(不传默认5分) | ||
service_score | number | 非必须 | 服务分数 0-5(不传默认5分) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/coupons/order/:price
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
price | 1 | 最低消费金额 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
cartId | 是 | 购物车id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ cid | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ coupon_title | string | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ use_min_price | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ start_time | string | 非必须 | |||
├─ end_time | string | 非必须 | |||
├─ use_time | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ applicable_type | number | 非必须 | |||
├─ coupon_time | number | 非必须 | |||
├─ product_id | string | 非必须 | |||
├─ category_id | number | 非必须 | |||
├─ receive_type | number | 非必须 | |||
├─ start_use_time | number | 非必须 | |||
├─ end_use_time | number | 非必须 | |||
├─ title | string | 非必须 |
Path: /api/order/refund/reason
Method: GET
接口描述:
a
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/order/refund/verify
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
text | text | 是 | 不要了 | 退款原因 |
uni | text | 是 | wx2019071014372910004 | 订单编号 |
refund_reason_wap_img | text | 否 | tuikuan.png,tuikuan.png,tuikuan.png | 退款凭证(多个图片请用,(英文逗号)隔开) |
refund_reason_wap_explain | text | 否 | 备注说明 | 备注说明 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/order/product
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
unique | string | 必须 | 购物车和订单号MD5加密的唯一值(订单详情接口返回的数据内 cartInfo) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ image | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ order_id | string | 非必须 |
Path: /api/v2/order/product_coupon/:orderId
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
orderId |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ cid | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ coupon_title | string | 必须 | |||
├─ coupon_price | string | 必须 | |||
├─ use_min_price | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ end_time | string | 必须 | |||
├─ type | string | 必须 |
Path: /api/order/nopay
Method: GET
接口描述:
Path: /api/store_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
latitude | 是 | 经度 | |
longitude | 是 | 纬度 | |
page | 是 | 页码 | |
limit | 是 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ name | string | 非必须 | 门店名称 | ||
├─ introduction | string | 非必须 | 门店介绍 | ||
├─ phone | string | 非必须 | 门店电话 | ||
├─ address | string | 非必须 | 门店地址 | ||
├─ detailed_address | string | 非必须 | 详细地址 | ||
├─ image | string | 非必须 | 门店logo | ||
├─ latitude | string | 非必须 | 经度 | ||
├─ longitude | string | 非必须 | 纬度 | ||
├─ valid_time | string | 非必须 | 核销有效日期 | ||
├─ day_time | string | 非必须 | 每日营业开关时间 | ||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ distance | string | 非必须 | 距离 | ||
├─ range | string | 非必须 | 转换单位 | ||
├─ tengxun_map_key | string | 非必须 | 地图key |
Path: /api/ali_pay
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
key | 是 | 订单缓存key | |
quitUrl | 是 | 同步跳转地址 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ pay_content | string | 非必须 | 支付参数 |
Path: /api/wechat/mp_auth
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
code | text | 是 | 小程序登陆授权code code 和 key 二选一 | |
cache_key | text | 是 | 小程序授权缓存key code 和 key 二选一 | |
spread_spid | text | 否 | 分享上级推广人id | |
spread_code | text | 是 | 扫码上级推广人 | |
iv | text | 是 | iv | |
encryptedData | text | 是 | encryptedData |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ cache_key | string | 非必须 | |||
├─ token | string | 非必须 | |||
├─ userInfo | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ birthday | number | 非必须 | |||
├─ card_id | string | 非必须 | |||
├─ partner_id | number | 非必须 | |||
├─ group_id | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ integral | string | 非必须 | |||
├─ sign_num | number | 非必须 | |||
├─ level | number | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ spread_time | number | 非必须 | |||
├─ user_type | string | 非必须 | |||
├─ is_promoter | number | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ spread_count | number | 非必须 | |||
├─ addres | string | 非必须 | |||
├─ adminid | number | 非必须 | |||
├─ expires_time | number | 非必须 |
Path: /api/wechat/app_auth
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
userInfo | text | 是 | 用户详细信息 | |
phone | text | 是 | 手机号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
data | object | 必须 | |||
├─ token | string | 非必须 | |||
├─ userInfo | object | 非必须 | |||
├─ expires_time | number | 非必须 | |||
status | string | 必须 | |||
msg | string | 必须 |
Path: /api/wechat/set_form_id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
formId | text | 是 | formId |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 |
Path: /api/v2/wechat/wx_silence_auth
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 | ||
spread | 是 |
Path: /api/v2/wechat/wx_silence_auth_login
Method: GET
接口描述:
Path: /api/v2/phone_wx_silence_auth
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
phone | 是 | ||
captcha | 是 | ||
key | 是 |
Path: /api/v2/wechat/silence_auth
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 | ||
spread_code | 是 | ||
spread_spid | 是 |
Path: /api/v2/wechat/silence_auth_login
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 | ||
spread_code | 是 | ||
spread_spid | 是 |
Path: /api/v2/auth_bindind_phone
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 | 授权code | |
iv | 是 | 获取手机号必须参数 | |
encryptedData | 是 | 获取手机号必须参数 | |
spread_code | 是 | 推广人code | |
spread_spid | 是 | 推广人id | |
key | 是 | 授权信息保存key |
Path: /api/v2/phone_silence_auth
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 | 授权code | |
spread_code | 是 | 推广code | |
spread_spid | 是 | 推广id | |
phone | 是 | 手机号 | |
captcha | 是 | 验证码 |
Path: /api/v2/subscribe
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ subscribe | boolean | 非必须 |
Path: /api/wechat/serve
Method: GET
接口描述:
Path: /api/wechat/teml_ids
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ order_postage_success | null | 非必须 | |||
├─ user_extract | string | 非必须 | |||
├─ oreder_takever | string | 非必须 | |||
├─ order_clone | string | 非必须 | |||
├─ order_deliver_success | string | 非必须 | |||
├─ pink_true | string | 非必须 | |||
├─ bargain_success | string | 非必须 | |||
├─ order_write_off | string | 非必须 | |||
├─ order_new | string | 非必须 | |||
├─ order_refund | string | 非必须 | |||
├─ recharge_success | string | 非必须 | |||
├─ order_pay_success | string | 非必须 | |||
├─ order_refund_status | string | 非必须 | |||
├─ integral_accout | string | 非必须 | |||
├─ pink_status | string | 非必须 | |||
├─ order_brokerage | string | 非必须 | |||
├─ bind_spread_uid | string | 非必须 |
Path: /api/wechat/livePlaybacks/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /api/wechat/live
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 截取条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ room_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ cover_img | string | 必须 | |||
├─ share_img | string | 必须 | |||
├─ start_time | string | 必须 | |||
├─ end_time | string | 必须 | |||
├─ anchor_name | string | 必须 | |||
├─ anchor_wechat | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ type | number | 必须 | |||
├─ screen_type | number | 必须 | |||
├─ close_like | number | 必须 | |||
├─ close_goods | number | 必须 | |||
├─ close_comment | number | 必须 | |||
├─ error_msg | string | 必须 | |||
├─ status | number | 必须 | |||
├─ live_status | number | 必须 | |||
├─ mark | string | 必须 | |||
├─ replay_status | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ anchor_img | null | 必须 | |||
├─ roomid | number | 必须 | |||
├─ goods | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ show_time | string | 必须 |
Path: /api/wechat/auth
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 | ||
spread | 是 | ||
login_type | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/v2/wechat/auth
Method: GET
接口描述:
Path: /api/v2/wechat/routine_auth
Method: GET
接口描述:
Path: /api/wechat/config
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
url | 是 | http://kaifa.crmeb.net | 页面路径地址 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ debug | boolean | 非必须 | |||
├─ beta | boolean | 非必须 | |||
├─ appId | string | 非必须 | |||
├─ nonceStr | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ url | string | 非必须 | |||
├─ signature | string | 非必须 | |||
├─ jsApiList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/user
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | 授权token |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ birthday | number | 非必须 | |||
├─ card_id | string | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ partner_id | number | 非必须 | |||
├─ group_id | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ last_time | number | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ integral | number | 非必须 | |||
├─ exp | string | 非必须 | |||
├─ sign_num | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ level | number | 非必须 | |||
├─ spread_open | number | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ spread_time | number | 非必须 | |||
├─ user_type | string | 非必须 | |||
├─ is_promoter | number | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ spread_count | number | 非必须 | |||
├─ addres | string | 非必须 | |||
├─ adminid | boolean | 非必须 | |||
├─ login_type | string | 非必须 | |||
├─ record_phone | string | 非必须 | |||
├─ is_money_level | number | 非必须 | |||
├─ is_ever_level | number | 非必须 | |||
├─ overdue_time | number | 非必须 | |||
├─ uniqid | string | 非必须 | |||
├─ is_open_member | boolean | 非必须 | |||
├─ is_complete | number | 非必须 | |||
├─ couponCount | number | 非必须 | |||
├─ like | number | 非必须 | |||
├─ orderStatusNum | object | 非必须 | |||
├─ order_count | string | 非必须 | |||
├─ sum_price | string | 非必须 | |||
├─ unpaid_count | string | 非必须 | |||
├─ unshipped_count | string | 非必须 | |||
├─ received_count | string | 非必须 | |||
├─ evaluated_count | string | 非必须 | |||
├─ complete_count | string | 非必须 | |||
├─ refund_count | string | 非必须 | |||
├─ yue_pay_status | number | 非必须 | |||
├─ pay_weixin_open | number | 非必须 | |||
├─ ali_pay_status | boolean | 非必须 | |||
├─ notice | number | 非必须 | |||
├─ recharge | string | 非必须 | |||
├─ orderStatusSum | number | 非必须 | |||
├─ extractTotalPrice | number | 非必须 | |||
├─ extractPrice | string | 非必须 | |||
├─ statu | number | 非必须 | |||
├─ promoter_price | string | 非必须 | |||
├─ broken_commission | string | 非必须 | |||
├─ commissionCount | string | 非必须 | |||
├─ vip | boolean | 非必须 | |||
├─ yesterDay | number | 非必须 | |||
├─ recharge_switch | number | 非必须 | |||
├─ switchUserInfo | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ broken_day | number | 非必须 | |||
├─ balance_func_status | number | 非必须 | |||
├─ invioce_func | boolean | 非必须 | |||
├─ special_invoice | boolean | 非必须 | |||
├─ collectCount | number | 非必须 | |||
├─ spread_status | boolean | 非必须 | |||
├─ pay_vip_status | boolean | 非必须 | |||
├─ vip_status | number | 非必须 | |||
├─ svip_open | boolean | 非必须 | |||
├─ service_num | number | 非必须 |
Path: /api/v2/user/user_update
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
userInfo | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/user/update_binding_phone
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
phone | 是 | 手机号 | |
captcha | 是 | 短信验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | string | 非必须 |
Path: /api/userinfo
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | 编号 | ||
├─ real_name | string | 非必须 | 姓名 | ||
├─ birthday | number | 非必须 | 生日 | ||
├─ card_id | string | 非必须 | 身份证 | ||
├─ partner_id | number | 非必须 | 合伙人id | ||
├─ group_id | number | 非必须 | 用户分组id | ||
├─ nickname | string | 非必须 | 昵称 | ||
├─ avatar | string | 非必须 | 头像 | ||
├─ phone | string | 非必须 | 手机号 | ||
├─ now_money | string | 非必须 | 余额 | ||
├─ integral | string | 非必须 | 积分 | ||
├─ sign_num | number | 非必须 | 签到次数 | ||
├─ level | number | 非必须 | 等级 | ||
├─ spread_uid | number | 非必须 | 推广员编号 | ||
├─ spread_time | number | 非必须 | 推广时间 | ||
├─ user_type | string | 非必须 | 用户类型 | ||
├─ is_promoter | number | 非必须 | 是否为推广员 | ||
├─ pay_count | number | 非必须 | 支付次数 | ||
├─ spread_count | number | 非必须 | 推广人数 | ||
├─ addres | string | 非必须 | 地址 |
Path: /api/user/code
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
code | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/v2/user/clean_search
Method: GET
接口描述:
Path: /api/user/edit
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
avatar | string | 必须 | 用户头像 | ||
nickname | string | 必须 | 用户昵称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/user/updatePhone
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 电话 | |
captcha | text | 是 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/v2/user/search_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ vicword | string | 非必须 | |||
├─ num | number | 非必须 | |||
├─ result | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ is_del | number | 非必须 | |||
├─ add_time | number | 非必须 |
Path: /api/api/user/binding
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
phone | 是 | ||
captcha | 是 | ||
step | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/user/balance
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ now_money | string | 非必须 | 当前总资金 | ||
├─ recharge | number | 非必须 | 累计充值 | ||
├─ orderStatusSum | number | 非必须 | 累计消费 |
Path: /api/user/spread_info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ spread | object [] | 非必须 | 海报背景 | item 类型: object | |
├─ pic | string | 必须 | |||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ site_name | string | 非必须 | 商城名称 |
Path: /api/user/routine_code
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
data | object | 非必须 | |||
├─ url | string | 非必须 | 小程序二维码地址 | ||
status | number | 必须 | 状态 | ||
msg | string | 必须 | 说明 |
Path: /api/user/record
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
nickname | 否 | 客服聊天用户搜索 | |
is_tourist | 否 | 0 | 是否为游客 |
page | 是 | 1 | 页码 |
limit | 是 | 10 | 展示条数 |
{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"status":{"type":"number"},"msg":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","description":"id"},"user_id":{"type":"number","description":"客服id"},"to_uid":{"type":"number","description":"送达人id"},"add_time":{"type":"number","description":"添加时间"},"update_time":{"type":"number","description":"更新时间"},"mssage_num":{"type":"number","description":"未读取消息条数"},"nickname":{"type":"string","description":"昵称"},"avatar":{"type":"string","description":"头像"},"online":{"type":"number","description":"0=不在线,1=在线"},"type":{"type":"string","description":"\t0 = pc,1=微信,2=小程序,3=H5\t"},"message_type":{"type":"number","description":"最后发送的内容信息的类型 1=文字 2=表情 3=图片 4=语音\t"},"message":{"type":"string","description":"最后发送的内容信息"}},"required":["online","type","avatar","id","user_id","add_time","to_uid","update_time","mssage_num","nickname","message_type","message"]}}}}
Path: /api/user/code
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
code | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/logout
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/user/spread
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
puid | text | 是 | 推广人id | |
code | text | 是 | 推广code |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/switch_h5
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
from | 是 | routine | wechat=公众号,routine=小程序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/user/service/feedback
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
rela_name | text | 是 | 姓名 | |
phone | text | 是 | 电话 | |
content | text | 是 | 反馈内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/user/service/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | integer | 非必须 | 客服编号 | ||
├─ uid | integer | 非必须 | 客服用户编号 | ||
├─ avatar | string | 非必须 | 客服头像 | ||
├─ nickname | string | 非必须 | 客服名称 |
Path: /api/user/service/record/:toUid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
toUid | 1 | 聊天人编号 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始 |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | integer | 非必须 | 消息编号 | ||
├─ msn | string | 非必须 | 消息内容 | ||
├─ uid | integer | 非必须 | 聊天人编号 | ||
├─ nickname | string | 非必须 | 聊天人昵称 | ||
├─ avatar | string | 非必须 | 聊天人头像 | ||
├─ to_uid | integer | 非必须 | 聊天人编号 | ||
├─ to_nickname | string | 非必须 | 聊天人昵称 | ||
├─ to_avatar | string | 非必须 | 聊天人头像 | ||
├─ add_time | number | 非必须 | 聊天时间 | ||
├─ type | number | 非必须 | 是否已读 | ||
├─ remind | number | 非必须 | 是否提醒过 | ||
├─ msn_type | number | 非必须 | 消息类型|1=文字,2=表情,3=图片,4=语音 |
Path: /api/v2/user/service/record
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
uidTo | 否 | 1 | 第一个数组的id |
limit | 否 | 20 | 分页数步长值 |
toUid | 否 | 和谁用户聊天的uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ serviceList | object [] | 非必须 | 聊天记录 | item 类型: object | |
├─ id | number | 非必须 | 获取上一页传值给uidTo | ||
├─ msn | string | 非必须 | 内容 | ||
├─ uid | number | 非必须 | 用户uid | ||
├─ to_uid | number | 非必须 | 发送给谁 | ||
├─ time_node | number | 非必须 | 时间节点 | ||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ type | number | 非必须 | 是否已读(0:否;1:是;) | ||
├─ remind | number | 非必须 | 是否提醒过 | ||
├─ msn_type | number | 非必须 | 消息类型 1=文字 2=表情 3=图片 4=语音 | ||
├─ nickname | string | 非必须 | 用户名 | ||
├─ avatar | string | 非必须 | 用户昵称 | ||
├─ uid | number | 非必须 | 和谁聊天的uid | ||
├─ nickname | string | 必须 | 当前聊天对象名称 |
Path: /api/user/service/feedback
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ feedback | string | 非必须 | 内容 |
Path: /api/user/service/get_adv
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /api/v2/invoice/del/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 10 | 发票id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/v2/order/invoice_detail/:uni
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uni | wx999999 | 订单号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ trade_no | string | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ user_phone | string | 非必须 | |||
├─ user_address | string | 非必须 | |||
├─ cart_id | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ freight_price | string | 非必须 | |||
├─ total_num | number | 非必须 | |||
├─ total_price | string | 非必须 | |||
├─ total_postage | string | 非必须 | |||
├─ pay_price | string | 非必须 | |||
├─ pay_postage | string | 非必须 | |||
├─ deduction_price | string | 非必须 | |||
├─ coupon_id | number | 非必须 | |||
├─ coupon_price | string | 非必须 | |||
├─ paid | number | 非必须 | |||
├─ pay_time | number | 非必须 | |||
├─ pay_type | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ refund_status | number | 非必须 | |||
├─ refund_reason_wap_img | string | 非必须 | |||
├─ refund_reason_wap_explain | string | 非必须 | |||
├─ refund_reason_time | number | 非必须 | |||
├─ refund_reason_wap | string | 非必须 | |||
├─ refund_reason | null | 非必须 | |||
├─ refund_price | string | 非必须 | |||
├─ delivery_name | null | 非必须 | |||
├─ delivery_code | string | 非必须 | |||
├─ delivery_type | null | 非必须 | |||
├─ delivery_id | null | 非必须 | |||
├─ fictitious_content | string | 非必须 | |||
├─ delivery_uid | number | 非必须 | |||
├─ gain_integral | string | 非必须 | |||
├─ use_integral | string | 非必须 | |||
├─ back_integral | null | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ remark | null | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_mer_check | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ pink_id | number | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ verify_code | string | 非必须 | |||
├─ store_id | number | 非必须 | |||
├─ shipping_type | number | 非必须 | |||
├─ clerk_id | number | 非必须 | |||
├─ is_channel | number | 非必须 | |||
├─ is_remind | number | 非必须 | |||
├─ is_system_del | number | 非必须 | |||
├─ channel_type | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ express_dump | string | 非必须 | |||
├─ invoice | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ category | string | 非必须 | |||
├─ order_id | number | 非必须 | |||
├─ invoice_id | number | 非必须 | |||
├─ header_type | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ duty_number | string | 非必须 | |||
├─ drawer_phone | string | 非必须 | |||
string | 非必须 | ||||
├─ tell | string | 非必须 | |||
├─ address | string | 非必须 | |||
├─ bank | string | 非必须 | |||
├─ card_number | string | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_refund | number | 非必须 | |||
├─ is_invoice | number | 非必须 | |||
├─ invoice_number | string | 非必须 | |||
├─ remark | string | 非必须 | |||
├─ invoice_time | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ add_time_y | string | 非必须 | |||
├─ add_time_h | string | 非必须 | |||
├─ system_store | boolean | 非必须 | |||
├─ mapKey | string | 非必须 | |||
├─ yue_pay_status | number | 非必须 | |||
├─ pay_weixin_open | number | 非必须 | |||
├─ ali_pay_status | boolean | 非必须 | |||
├─ cartInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ type | string | 必须 | |||
├─ product_id | number | 必须 | |||
├─ product_attr_unique | string | 必须 | |||
├─ cart_num | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ is_pay | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_new | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ status | number | 必须 | |||
├─ productInfo | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 必须 | |||
├─ costPrice | string | 必须 | |||
├─ trueStock | number | 必须 | |||
├─ truePrice | string | 必须 | |||
├─ vip_truePrice | number | 必须 | |||
├─ integral_price | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ is_reply | number | 必须 | |||
├─ _status | object | 非必须 | |||
├─ _type | number | 非必须 | |||
├─ _title | string | 非必须 | |||
├─ _msg | string | 非必须 | |||
├─ _class | string | 非必须 | |||
├─ _payType | string | 非必须 | |||
├─ _pay_time | string | 非必须 | |||
├─ _add_time | string | 非必须 | |||
├─ stop_time | number | 非必须 | |||
├─ status_pic | string | 非必须 | |||
├─ offlinePayStatus | number | 非必须 | |||
├─ order_log | object | 非必须 | |||
├─ create | string | 非必须 | |||
├─ pay | string | 非必须 | |||
├─ delivery | string | 非必须 | |||
├─ take | string | 非必须 | |||
├─ complete | string | 非必须 |
Path: /api/v2/invoice/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ header_type | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ duty_number | string | 非必须 | |||
├─ drawer_phone | string | 非必须 | |||
string | 非必须 | ||||
├─ tell | string | 非必须 | |||
├─ address | string | 非必须 | |||
├─ bank | string | 非必须 | |||
├─ card_number | string | 非必须 | |||
├─ is_default | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | string | 非必须 |
Path: /api/v2/invoice
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
header_type | 是 | 抬头类型1:个人2:企业 | |
type | 是 | 发票类型1:普通2:专用 | |
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ header_type | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ duty_number | string | 非必须 | |||
├─ drawer_phone | string | 非必须 | |||
string | 非必须 | ||||
├─ tell | string | 非必须 | |||
├─ address | string | 非必须 | |||
├─ bank | string | 非必须 | |||
├─ card_number | string | 非必须 | |||
├─ is_default | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | string | 非必须 |
Path: /api/v2/order/invoice_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ category | string | 必须 | |||
├─ order_id | number | 必须 | |||
├─ invoice_id | number | 必须 | |||
├─ header_type | number | 必须 | |||
├─ type | number | 必须 | |||
├─ name | string | 必须 | |||
├─ duty_number | string | 必须 | |||
├─ drawer_phone | string | 必须 | |||
string | 必须 | ||||
├─ tell | string | 必须 | |||
├─ address | string | 必须 | |||
├─ bank | string | 必须 | |||
├─ card_number | string | 必须 | |||
├─ is_pay | number | 必须 | |||
├─ is_refund | number | 必须 | |||
├─ is_invoice | number | 必须 | |||
├─ invoice_number | string | 必须 | |||
├─ remark | string | 必须 | |||
├─ invoice_time | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ order | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ trade_no | string | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ user_phone | string | 非必须 | |||
├─ user_address | string | 非必须 | |||
├─ cart_id | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ freight_price | string | 非必须 | |||
├─ total_num | number | 非必须 | |||
├─ total_price | string | 非必须 | |||
├─ total_postage | string | 非必须 | |||
├─ pay_price | string | 非必须 | |||
├─ pay_postage | string | 非必须 | |||
├─ deduction_price | string | 非必须 | |||
├─ coupon_id | number | 非必须 | |||
├─ coupon_price | string | 非必须 | |||
├─ paid | number | 非必须 | |||
├─ pay_time | number | 非必须 | |||
├─ pay_type | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ refund_status | number | 非必须 | |||
├─ refund_reason_wap_img | string,null | 非必须 | |||
├─ refund_reason_wap_explain | string,null | 非必须 | |||
├─ refund_reason_time | number,null | 非必须 | |||
├─ refund_reason_wap | string,null | 非必须 | |||
├─ refund_reason | null | 非必须 | |||
├─ refund_price | string | 非必须 | |||
├─ delivery_name | null | 非必须 | |||
├─ delivery_code | string | 非必须 | |||
├─ delivery_type | null | 非必须 | |||
├─ delivery_id | null | 非必须 | |||
├─ fictitious_content | string | 非必须 | |||
├─ delivery_uid | number | 非必须 | |||
├─ gain_integral | string | 非必须 | |||
├─ use_integral | string | 非必须 | |||
├─ back_integral | null | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ remark | null | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_mer_check | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ pink_id | number | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ verify_code | string | 非必须 | |||
├─ store_id | number | 非必须 | |||
├─ shipping_type | number | 非必须 | |||
├─ clerk_id | number | 非必须 | |||
├─ is_channel | number | 非必须 | |||
├─ is_remind | number | 非必须 | |||
├─ is_system_del | number | 非必须 | |||
├─ channel_type | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ express_dump | string | 非必须 | |||
├─ cartInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number,string | 必须 | |||
├─ uid | number | 必须 | |||
├─ type | string | 必须 | |||
├─ product_id | number | 必须 | |||
├─ product_attr_unique | string | 必须 | |||
├─ cart_num | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ is_pay | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_new | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ status | number | 必须 | |||
├─ productInfo | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 必须 | |||
├─ costPrice | string | 必须 | |||
├─ trueStock | number | 必须 | |||
├─ truePrice | string | 必须 | |||
├─ vip_truePrice | number | 必须 | |||
├─ integral_price | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ is_reply | number | 必须 | |||
├─ _status | object | 非必须 | |||
├─ _type | number | 非必须 | |||
├─ _title | string | 非必须 | |||
├─ _msg | string | 非必须 | |||
├─ _class | string | 非必须 | |||
├─ _payType | string | 非必须 | |||
├─ _pay_time | string | 非必须 | |||
├─ _add_time | string | 非必须 | |||
├─ stop_time | number | 非必须 | |||
├─ status_pic | string | 非必须 | |||
├─ offlinePayStatus | number | 非必须 | |||
├─ order_log | object | 非必须 | |||
├─ create | string | 非必须 | |||
├─ pay | string | 非必须 | |||
├─ delivery | string | 非必须 | |||
├─ take | string | 非必须 | |||
├─ complete | string | 非必须 |
Path: /api/v2/invoice/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 10 | |
header_type | text | 是 | 1 | |
type | text | 是 | 1 | |
drawer_phone | text | 是 | 13572879909 | |
name | text | 是 | 张三(某某技术有限公司) | |
duty_number | text | 是 | ||
tell | text | 是 | ||
address | text | 是 | ||
bank | text | 是 | ||
card_number | text | 是 | ||
is_default | text | 是 | 0 | |
text | 是 | 123@qq.com |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/v2/invoice/set_default/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/v2/invoice/get_default/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 1 | 发票类型1:普通2:专用 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ header_type | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ duty_number | string | 非必须 | |||
├─ drawer_phone | string | 非必须 | |||
string | 非必须 | ||||
├─ tell | string | 非必须 | |||
├─ address | string | 非必须 | |||
├─ bank | string | 非必须 | |||
├─ card_number | string | 非必须 | |||
├─ is_default | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | string | 非必须 |
Path: /api/v2/order/make_up_invoice
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
order_id | text | 是 | 订单id | |
invoice_id | text | 是 | 发票id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/integral/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值 |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ link_id | string | 必须 | |||
├─ pm | number | 必须 | |||
├─ title | string | 必须 | |||
├─ category | string | 必须 | |||
├─ type | string | 必须 | |||
├─ number | number | 必须 | |||
├─ balance | string | 必须 | |||
├─ mark | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status | number | 必须 | |||
├─ take | number | 必须 |
Path: /api/api/user/level/expList
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ number | string | 必须 | |||
├─ add_time | string | 必须 |
Path: /api/user/level/detection
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /api/user/level/grade
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | 任务列表 | item 类型: object | |
├─ name | string | 非必须 | 会员名称 | ||
├─ discount | number | 非必须 | 享受折扣 | ||
├─ image | string | 非必须 | 会员卡背景 | ||
├─ icon | string | 非必须 | 会员等级 | ||
├─ explain | string | 非必须 | 会员任务等级说明 | ||
├─ id | integer | 非必须 | 任务等级编号 | ||
├─ grade | number | 非必须 | 会员等级 | ||
├─ is_clear | boolean | 非必须 | 会员状态||true=关闭,false=开启 | ||
├─ task | object | 非必须 | |||
├─ list | object [] | 非必须 | 任务列表 | item 类型: object | |
├─ name | string | 非必须 | 任务名称 | ||
├─ real_name | string | 非必须 | 配置原名 | ||
├─ task_type | string | 非必须 | 任务类型 | ||
├─ illustrate | string | 非必须 | 任务说明 | ||
├─ number | number | 非必须 | 限定数 | ||
├─ id | integer | 非必须 | 任务编号 | ||
├─ reach_count | number | 非必须 | 完成的任务数量 | ||
├─ task | object [] | 非必须 | 任务列表 | item 类型: object | |
├─ name | string | 非必须 | 任务名称 | ||
├─ real_name | string | 非必须 | 配置原名 | ||
├─ task_type | string | 非必须 | 任务类型 | ||
├─ illustrate | string | 非必须 | 任务说明 | ||
├─ number | number | 非必须 | 限定数 | ||
├─ id | integer | 非必须 | 任务编号 | ||
├─ new_number | string | 非必须 | 新限定数 | ||
├─ speed | string | 非必须 | 任务完成率 | ||
├─ finish | string | 非必须 | 条件是否满足|1=满足,0=未满足 | ||
├─ task_type_title | string | 非必须 | 未满足提示 |
Path: /api/api/user/level/info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ user | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ birthday | number | 非必须 | |||
├─ card_id | string | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ partner_id | number | 非必须 | |||
├─ group_id | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ last_time | number | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ integral | number | 非必须 | |||
├─ exp | string | 非必须 | |||
├─ sign_num | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ level | number | 非必须 | |||
├─ spread_open | number | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ spread_time | number | 非必须 | |||
├─ user_type | string | 非必须 | |||
├─ is_promoter | number | 非必须 | |||
├─ pay_count | number | 非必须 | |||
├─ spread_count | number | 非必须 | |||
├─ addres | string | 非必须 | |||
├─ adminid | number | 非必须 | |||
├─ login_type | string | 非必须 | |||
├─ record_phone | string | 非必须 | |||
├─ is_money_level | number | 非必须 | |||
├─ is_ever_level | number | 非必须 | |||
├─ overdue_time | number | 非必须 | |||
├─ uniqid | string | 非必须 | |||
├─ level_info | object | 非必须 | |||
├─ exp | string | 非必须 | |||
├─ today_exp | number | 非必须 | |||
├─ level_list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ money | string | 必须 | |||
├─ valid_date | number | 必须 | |||
├─ is_forever | number | 必须 | |||
├─ is_pay | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ grade | number | 必须 | |||
├─ discount | number | 必须 | |||
├─ image | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ explain | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ exp_num | number | 必须 | |||
├─ next_exp_num | number | 必须 | |||
├─ task | object | 非必须 | |||
├─ sign_count | number | 非必须 | |||
├─ sign | string | 非必须 | |||
├─ order | string | 非必须 | |||
├─ invite | string | 非必须 |
Path: /api/user/level/task/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 任务等级编号(会员等级列表接口获取) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | 任务列表 | item 类型: object | |
├─ name | string | 非必须 | 任务名称 | ||
├─ real_name | string | 非必须 | 配置原名 | ||
├─ task_type | string | 非必须 | 任务类型 | ||
├─ illustrate | string | 非必须 | 任务说明 | ||
├─ number | number | 非必须 | 限定数 | ||
├─ id | integer | 非必须 | 任务编号 | ||
├─ reach_count | number | 非必须 | 完成的任务数量 | ||
├─ task | object [] | 非必须 | 任务列表 | item 类型: object | |
├─ name | string | 非必须 | 任务名称 | ||
├─ real_name | string | 非必须 | 配置原名 | ||
├─ task_type | string | 非必须 | 任务类型 | ||
├─ illustrate | string | 非必须 | 任务说明 | ||
├─ number | number | 非必须 | 限定数 | ||
├─ id | integer | 非必须 | 任务编号 | ||
├─ new_number | number | 非必须 | 新限定数 | ||
├─ speed | string | 非必须 | 任务完成率 | ||
├─ task_type_title | string | 非必须 | 未满足提示 | ||
├─ finish | number | 非必须 | 条件是否满足|1=满足,0=未满足 |
Path: /api/admin/order/export_all
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | 快递公司id | ||
├─ name | string | 必须 | 快递公司名称 | ||
├─ code | string | 必须 | 快递公司编码 | ||
├─ mark | string | 必须 | 快递公司备注 | ||
├─ count | number | 非必须 |
Path: /api/admin/order/export_temp
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
com | 是 | 物流公司编码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | 模板数据库id | ||
├─ title | string | 非必须 | 模板标题 | ||
├─ code | string | 非必须 | 模板编码 | ||
├─ pic | string | 非必须 | 模板预览图 | ||
├─ temp_id | string | 非必须 | 模板id | ||
├─ count | number | 非必须 |
Path: /api/admin/order/delivery_info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ express_temp_id | string | 非必须 | 模板id | ||
├─ to_name | string | 非必须 | 发货人姓名 | ||
├─ to_tel | string | 非必须 | 发货人电话 | ||
├─ to_add | string | 非必须 | 发货人地址 | ||
├─ id | string | 必须 | 快递公司id |
Path: /api/admin/order/time
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start | 否 | 1561910400 | 开始时间默认本月开始时间 |
stop | 否 | 1561910400 | 结束时间默认当前时间 |
type | 否 | 1 | 统计类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ chart | object [] | 非必须 | 月 周统计数据 | item 类型: object | |
├─ num | string | 非必须 | 营业额/订单数量 | ||
├─ time | string | 非必须 | 天 | ||
├─ time | number | 非必须 | 时间区间营业额/订单数量 | ||
├─ growth_rate | number | 非必须 | 时间区间增长率 | ||
├─ increase_time | number | 非必须 | 同比上个时间区间增长营业额/订单数量 | ||
├─ increase_time_status | number | 非必须 | 同比上个时间区间状态|1=增长,2=减少 |
Path: /api/admin/order/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 1 | 订单状态 |
page | 否 | 1 | 分页参数起始值默认0为查询全部 |
limit | 否 | 10 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | integer | 非必须 | 订单ID | ||
├─ pay_type | string | 非必须 | 支付方式 | ||
├─ order_id | string | 非必须 | 订单编号 | ||
├─ add_time | string | 非必须 | 订单添加时间 | ||
├─ status | number | 非必须 | 订单状态 | ||
├─ total_num | number | 非必须 | 订单数量 | ||
├─ total_price | string | 非必须 | 订单价格 | ||
├─ total_postage | string | 非必须 | 订单邮费 | ||
├─ pay_price | string | 非必须 | 实付金额 | ||
├─ pay_postage | string | 非必须 | 实付邮费 | ||
├─ paid | number | 非必须 | 支付状态 | ||
├─ remark | string | 非必须 | 订单备注 | ||
├─ _info | object [] | 非必须 | 订单购物车信息 | item 类型: object | |
├─ cart_info | object | 非必须 | 订单购物车信息 | ||
├─ id | integer | 非必须 | 购物车编号 | ||
├─ cart_num | number | 非必须 | 购物车数量 | ||
├─ productInfo | object | 非必须 | 产品信息 | ||
├─ image | string | 非必须 | 产品图片 | ||
├─ price | string | 非必须 | 产品价格 | ||
├─ ot_price | string | 非必须 | 产品原价 | ||
├─ store_name | string | 非必须 | 产品名称 | ||
├─ suk | string | 非必须 | 产品属性 | ||
├─ status_name | string | 非必须 | 订单状态名称 |
Path: /api/admin/order/delivery/keep/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
type | string | 必须 | 1=发货,2=送货,3=虚拟 | ||
delivery_type | string | 必须 | 快递公司 | ||
delivery_name | string | 非必须 | 快递公司id | ||
delivery_code | string | 非必须 | 快递公司编号 | ||
express_record_type | string | 必须 | 1=自行发货,2=电子面单打印 | ||
express_temp_id | string | 必须 | 快递面单id | ||
to_name | string | 必须 | 发货人名称 | ||
to_tel | string | 必须 | 发货人电话 | ||
to_addr | string | 必须 | 发货人地址 | ||
sh_delivery_name | string | 必须 | 送货人姓名 | ||
sh_delivery_id | string | 必须 | 送货人id | ||
sh_delivery_uid | string | 必须 | 送货人uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/admin/order/delivery/gain/:orderId
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
orderId | wx2019072514554910001 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ real_name | string | 非必须 | 收货人姓名 | ||
├─ user_phone | string | 非必须 | 收货人电话 | ||
├─ user_address | string | 非必须 | 收货人地址 | ||
├─ order_id | string | 非必须 | 订单号 | ||
├─ nickname | string | 非必须 | 用户昵称 |
Path: /api/admin/order/remark
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
order_id | string | 非必须 | 订单编号 | ||
remark | string | 非必须 | 订单备注 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/admin/order/offline
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
order_id | string | 必须 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/admin/order/price
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
order_id | string | 非必须 | 订单编号 | ||
price | string | 非必须 | 支付金额 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/admin/order/statistics
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ order_count | number | 非必须 | 订单支付没有退款数量 | ||
├─ sum_price | number | 非必须 | 订单支付没有退款 支付总金额 | ||
├─ unpaid_count | number | 非必须 | 订单待支付 数量 | ||
├─ unshipped_count | number | 非必须 | 订单待发货 数量 | ||
├─ received_count | number | 非必须 | 订单待收货 数量 | ||
├─ evaluated_count | number | 非必须 | 订单待评价 数量 | ||
├─ complete_count | number | 非必须 | 订单已完成 数量 | ||
├─ refund_count | number | 必须 | 订单退款 数量 | ||
├─ todayPrice | number | 非必须 | 今日成交额 | ||
├─ todayCount | number | 非必须 | 今日订单数 | ||
├─ proPrice | number | 非必须 | 昨日成交额 | ||
├─ proCount | number | 非必须 | 昨日订单数 | ||
├─ monthPrice | number | 非必须 | 本月成交额 | ||
├─ monthCount | number | 非必须 | 本月订单数 |
Path: /api/admin/order/data
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值默认0查询全部 |
limit | 否 | 10 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ price | string | 非必须 | 金额 | ||
├─ count | number | 非必须 | 数量 | ||
├─ time | string | 非必须 | 日期 月-日 |
Path: /api/admin/order/detail/:orderId
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
orderId | wx2019072514554910001 | 订单编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | 订单详情 | ||
├─ id | integer | 非必须 | 订单ID | ||
├─ order_id | string | 非必须 | 订单编号 | ||
├─ add_time | string | 非必须 | 下单时间 | ||
├─ total_num | number | 非必须 | 订单数量 | ||
├─ total_price | string | 非必须 | 订单金额 | ||
├─ pay_price | string | 非必须 | 实付金额 | ||
├─ pay_postage | string | 非必须 | 实付邮费 | ||
├─ paid | number | 非必须 | 是否支付|1=支付,0=未支付 | ||
├─ remark | null | 非必须 | 管理员备注 | ||
├─ mark | string | 非必须 | 会员备注 | ||
├─ real_name | string | 非必须 | 收货人信息 | ||
├─ user_phone | string | 非必须 | 收货人手机号 | ||
├─ user_address | string | 非必须 | 收货人地址 | ||
├─ coupon_price | string | 非必须 | 优惠券抵扣金额 | ||
├─ freight_price | string | 非必须 | 运费 | ||
├─ _info | object [] | 非必须 | 购物车信息 | item 类型: object | |
├─ cart_info | object | 非必须 | 购物车信息 | ||
├─ cart_num | number | 非必须 | 购物车数量 | ||
├─ productInfo | object | 非必须 | 产品信息 | ||
├─ image | string | 非必须 | 产品图片 | ||
├─ price | string | 非必须 | 产品价格 | ||
├─ ot_price | string | 非必须 | 产品原价 | ||
├─ store_name | string | 非必须 | 产品名称 | ||
├─ suk | string | 非必须 | 产品属性 | ||
├─ _status | object | 非必须 | 状态详情 | ||
├─ _type | number | 非必须 | 状态类型|0=未支付,1=未发货,2=待收货,3=待评价,4=交易完成,-1=申请退款中,-2=已退款,11=拼团中 | ||
├─ _title | string | 非必须 | 状态名称 | ||
├─ _msg | string | 非必须 | 状态备注 | ||
├─ _class | string | 非必须 | 状态样式 | ||
├─ _payType | string | 非必须 | 支付方式 | ||
├─ nickname | string | 非必须 | 会员昵称 | ||
├─ pay_type | string | 非必须 | 支付方式 | ||
├─ delivery_name | string | 非必须 | 快递单号/手机号 | ||
├─ delivery_type | string | 非必须 | 发货类型 | ||
├─ delivery_id | string | 非必须 | 快递单号/手机号 |
Path: /api/admin/order/refund
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
orderId | string | 必须 | 订单编号 | ||
price | number | 必须 | 退款金额 | ||
type | number | 必须 | 订单退款后状态|直接退款=1,退款后,返回原状态=2 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 必须 | |||
msg | string | 必须 |
Path: /api/admin/order/delivery
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | 配送员id | ||
├─ uid | number | 非必须 | 配送员uid | ||
├─ avatar | string | 非必须 | 配送员图像 | ||
├─ wx_name | string | 非必须 | 微信昵称 | ||
├─ status | number | 非必须 | 状态 | ||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ phone | string | 非必须 | 手机号 | ||
├─ nickname | string | 非必须 | 当前名称 |
Path: /api/logistics
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ name | string | 非必须 | 物流公司名称 |
Path: /api/brokerage_rank
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | week month | 类型 |
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rank | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 必须 | |||
├─ brokerage_price | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ avatar | string | 必须 | |||
├─ position | number | 非必须 |
Path: /api/rank
Method: GET
接口描述:
Path: /api/spread/count/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 3 | 佣金类型3=佣金,4=提现 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 佣金总额 |
Path: /api/spread/commission/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 0 | 佣金类型 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值(默认0 全部查询) |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ time | string | 非必须 | 年月 | ||
├─ list | object [] | 非必须 | 佣金记录信息 | item 类型: object | |
├─ add_time | string | 非必须 | 添加时间 | ||
├─ title | string | 非必须 | 标题 | ||
├─ number | string | 非必须 | 佣金 | ||
├─ pm | number | 非必须 | 佣金状态|0=支出,1=收入 |
Path: /api/spread/banner
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 否 | 1 | 1=小程序,2=公众号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ pic | string | 必须 | |||
├─ wap_poster | string | 必须 |
Path: /api/commission
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ pm | number | 非必须 | |||
├─ commissionCount | number | 非必须 | |||
├─ lastDayCount | number | 非必须 | |||
├─ extractCount | number | 非必须 |
Path: /api/spread/people
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
page | string | 必须 | 分页参数起始值 | ||
limit | string | 必须 | 分页数步长值 | ||
grade | string | 必须 | 推荐人类型|0=一级|1=二级 | ||
keyword | string | 必须 | 会员名称查询 | ||
sort | string | 必须 | 排序|childCount(ASC/DESC)=团队排序,numberCount(ASC/DESC)=金额排序,orderCount(ASC/DESC)=订单排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ total | number | 非必须 | |||
├─ totalLevel | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 必须 | |||
├─ nickname | string | 必须 | |||
├─ avatar | string | 必须 | |||
├─ time | string | 必须 | |||
├─ spread_time | number | 必须 | |||
├─ childCount | number | 必须 | |||
├─ orderCount | number | 必须 | |||
├─ numberCount | null | 必须 | |||
├─ count | number | 非必须 |
Path: /api/spread/order
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
page | string | 必须 | 分页参数起始值 | ||
limit | string | 必须 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ time | string | 非必须 | |||
├─ child | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ time | string | 非必须 | |||
├─ number | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ time_key | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ count | number | 非必须 | |||
├─ count | number | 非必须 |
Path: /api/extract/cash
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
alipay_code | text | 否 | 666666 | 支付宝账号 |
extract_type | text | 是 | weixin | 提现方式 |
money | text | 是 | 1 | 提现金额 |
name | text | 是 | 姓名 | 提现用户名称 |
bankname | text | 否 | 561561561615165156 | 提现银行名称 |
cardnum | text | 否 | 561561561615165156 | 提现银行卡号 |
weixin | text | 否 | 123213 | 微信账号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/extract/bank
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ broken_commission | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ commissionCount | string | 非必须 | |||
├─ extractBank | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ minPrice | string | 非必须 |
Path: /api/address/edit
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
address[province] | text | 是 | 陕西省 | 省 |
address[city] | text | 是 | 西安市 | 市 |
address[district] | text | 是 | 莲湖区 | 区 |
address[city_id] | text | 是 | 城市ID | |
detail | text | 是 | 阳光大奥 | 详细地址 |
is_default | text | 是 | 1 | 是否默认地址 1默认地址 0 非默认地址 |
real_name | text | 是 | 姓名 | 姓名 |
phone | text | 是 | 18688886666 | 手机号 |
id | text | 是 | 地址编号 | 0 添加地址 非0 修改对应编号的地址信息 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | string | 非必须 |
Path: /api/address/del
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | 地址编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/address/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页参数起始值 |
limit | 否 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ city | string | 非必须 | |||
├─ district | string | 非必须 | |||
├─ detail | string | 非必须 | |||
├─ is_default | number | 非必须 | |||
├─ city_id | number | 非必须 |
Path: /api/address/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 地址编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ 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 | 非必须 |
Path: /api/address/default
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ city | string | 非必须 | |||
├─ district | string | 非必须 | |||
├─ detail | string | 非必须 | |||
├─ is_default | number | 非必须 |
Path: /api/address/default/set
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | 地址编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/city_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ v | number | 必须 | |||
├─ n | string | 必须 | |||
├─ c | object [] | 必须 | item 类型: object | ||
├─ v | number | 必须 | |||
├─ n | string | 必须 | |||
├─ c | object [] | 必须 | item 类型: object | ||
├─ v | number | 必须 | |||
├─ n | string | 必须 | |||
├─ c | string [] | 必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/collect/del
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | 产品编号 | ||
category | string | 非必须 | 产品类型|product=普通产品,product_seckill=秒杀产品(默认普通产品) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/collect/all
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | string [] | 必须 | 产品编号 | item 类型: string | |
├─ | 非必须 | ||||
category | string | 必须 | 产品类型|product=普通产品,product_seckill=秒杀产品 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/collect/user
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 分页参数起始值 |
limit | 是 | 20 | 分页数步长值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 必须 | |||
├─ category | string | 必须 | |||
├─ product | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ pid | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | number | 必须 | |||
├─ image | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_fail | boolean | 必须 |
Path: /api/collect/add
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 必须 | |||
category | string | 非必须 | 产品类型|product=普通产品,product_seckill=秒杀产品(默认 普通产品 product) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /api/recharge/index
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ recharge_quota | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ recharge_attention | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /api/recharge/wechat
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
price | number | 必须 | 充值金额 | ||
from | string | 必须 | 支付方式|weixin=微信公众号,weixinh5=微信H5支付 | ||
type | number | 必须 | 0=充值,1=转入 | 枚举: 0,1 枚举备注: 0=充值,1=转入 | |
rechar_id | number | 必须 | 组合数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ data | object | 非必须 | 支付参数 | ||
├─ appId | string | 非必须 | appId | ||
├─ nonceStr | string | 非必须 | 随机字符串 | ||
├─ package | string | 非必须 | 统一下单接口返回的 prepay_id 参数值 | ||
├─ signType | string | 非必须 | 签名类型 | ||
├─ paySign | string | 非必须 | 签名 | ||
├─ timestamp | string | 非必须 | 时间戳 | ||
├─ type | string | 非必须 | 充值支付类型|weixin=微信公众号,weixinh5=公众号H5支付 |
Path: /api/recharge/routine
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
price | number | 必须 | 充值金额 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ appId | string | 非必须 | appId | ||
├─ nonceStr | string | 非必须 | 随机字符串 | ||
├─ package | string | 非必须 | 统一下单接口返回的 prepay_id 参数值 | ||
├─ signType | string | 非必须 | 签名类型 | ||
├─ paySign | string | 非必须 | 签名 | ||
├─ timestamp | string | 非必须 | 时间戳 |
Path: /api/recharge/recharge
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object | 非必须 | |||
├─ appId | string | 非必须 | |||
├─ nonceStr | string | 非必须 | |||
├─ package | string | 非必须 | |||
├─ signType | string | 非必须 | |||
├─ paySign | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ type | string | 非必须 |
Path: /api/user/activity
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 非必须 | |||
├─ is_bargin | boolean | 非必须 | 砍价活动是否开启|true=开启,false=关闭 | ||
├─ is_pink | boolean | 非必须 | 拼团活动是否开启|true=开启,false=关闭 | ||
├─ is_seckill | boolean | 非必须 | 秒杀活动是否开启|true=开启,false=关闭 |
Path: /api/pc/get_collect_list
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2NC5jcm1lYi5teSIsImF1ZCI6InY0LmNybWViLm15IiwiaWF0IjoxNjAxMzQ1NTQ4LCJuYmYiOjE2MDEzNDU1NDgsImV4cCI6MTYwMTM1NjM0OCwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYXBpIn19.sKP9BLM-qNtPx5t8l99nsbI7uOn2l_dbXLcqBmUh4Pg |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 必须 | |||
├─ category | string | 必须 | |||
├─ product | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ pid | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | number | 必须 | |||
├─ image | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_fail | boolean | 必须 | |||
├─ count | number | 非必须 |
Path: /api/pc/get_order_list
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2NC5wYy5jcm1lYi5uZXQiLCJhdWQiOiJ2NC5wYy5jcm1lYi5uZXQiLCJpYXQiOjE2MDEyNzUxMDksIm5iZiI6MTYwMTI3NTEwOSwiZXhwIjoxNjAxMjg1OTA5LCJqdGkiOnsiaWQiOjY1LCJ0eXBlIjoiYXBpIn19.xeirj_pgdUR-hnL3CCPksqdU5KWzKsZYrJdgnyuR9jk |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 1 | 类型 |
page | 是 | 1 | |
limit | 是 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ order_id | string | 必须 | |||
├─ trade_no | string | 必须 | |||
├─ uid | number | 必须 | |||
├─ real_name | string | 必须 | |||
├─ user_phone | string | 必须 | |||
├─ user_address | string | 必须 | |||
├─ cart_id | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ freight_price | string | 必须 | |||
├─ total_num | number | 必须 | |||
├─ total_price | string | 必须 | |||
├─ total_postage | string | 必须 | |||
├─ pay_price | string | 必须 | |||
├─ pay_postage | string | 必须 | |||
├─ deduction_price | string | 必须 | |||
├─ coupon_id | number | 必须 | |||
├─ coupon_price | string | 必须 | |||
├─ paid | number | 必须 | |||
├─ pay_time | number,null | 必须 | |||
├─ pay_type | string | 必须 | |||
├─ add_time | number | 必须 | |||
├─ status | number | 必须 | |||
├─ refund_status | number | 必须 | |||
├─ refund_reason_wap_img | null,string | 必须 | |||
├─ refund_reason_wap_explain | null,string | 必须 | |||
├─ refund_reason_time | null,number | 必须 | |||
├─ refund_reason_wap | null,string | 必须 | |||
├─ refund_reason | null | 必须 | |||
├─ refund_price | string | 必须 | |||
├─ delivery_name | string,null | 必须 | |||
├─ delivery_code | string | 必须 | |||
├─ delivery_type | string,null | 必须 | |||
├─ delivery_id | string,null | 必须 | |||
├─ fictitious_content | string | 必须 | |||
├─ delivery_uid | number | 必须 | |||
├─ gain_integral | string | 必须 | |||
├─ use_integral | string | 必须 | |||
├─ back_integral | null | 必须 | |||
├─ mark | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ remark | string,null | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ is_mer_check | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ pink_id | number | 必须 | |||
├─ cost | string | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ verify_code | string | 必须 | |||
├─ store_id | number | 必须 | |||
├─ shipping_type | number | 必须 | |||
├─ clerk_id | number | 必须 | |||
├─ is_channel | number | 必须 | |||
├─ is_remind | number | 必须 | |||
├─ is_system_del | number | 必须 | |||
├─ channel_type | string | 必须 | |||
├─ province | string | 必须 | |||
├─ express_dump | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ spread_uid | number | 必须 | |||
├─ spread_nickname | string | 必须 | |||
├─ cartInfo | object [] | 必须 | item 类型: object | ||
├─ id | number,string | 必须 | |||
├─ uid | number | 必须 | |||
├─ type | string | 必须 | |||
├─ product_id | number | 必须 | |||
├─ product_attr_unique | string | 必须 | |||
├─ cart_num | number | 必须 | |||
├─ add_time | number,string | 必须 | |||
├─ is_pay | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ is_new | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ status | number | 必须 | |||
├─ productInfo | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ attrStatus | boolean | 必须 | |||
├─ costPrice | string | 必须 | |||
├─ trueStock | number | 必须 | |||
├─ truePrice | string | 必须 | |||
├─ vip_truePrice | number | 必须 | |||
├─ integral_price | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ is_reply | number | 必须 | |||
├─ _status | object | 必须 | |||
├─ _type | number | 非必须 | |||
├─ _title | string | 非必须 | |||
├─ _msg | string | 非必须 | |||
├─ _class | string | 非必须 | |||
├─ _payType | string | 非必须 | |||
├─ _deliveryType | string | 非必须 | |||
├─ _pay_time | string | 必须 | |||
├─ _add_time | string | 必须 | |||
├─ stop_time | number | 必须 | |||
├─ status_pic | string | 必须 | |||
├─ offlinePayStatus | number | 必须 | |||
├─ order_log | object | 必须 | |||
├─ create | string | 非必须 | |||
├─ pay | string | 非必须 | |||
├─ delivery | string | 非必须 | |||
├─ take | string | 非必须 | |||
├─ complete | string | 非必须 | |||
├─ count | number | 非必须 |
Path: /api/pc/get_cart_list
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2NC5jcm1lYi5teSIsImF1ZCI6InY0LmNybWViLm15IiwiaWF0IjoxNjAwNzY2OTY2LCJuYmYiOjE2MDA3NjY5NjYsImV4cCI6MTYwMDc3Nzc2NiwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYXBpIn19.0hWCvZnq8Ytk1QuNiicOipF0ickyD7si_dYjSaop4v4 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ valid | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ invalid | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ product_attr_unique | string | 非必须 | |||
├─ cart_num | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_pay | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ combination_id | number | 非必须 | |||
├─ seckill_id | number | 非必须 | |||
├─ bargain_id | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ productInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ recommend_image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_benefit | number | 非必须 | |||
├─ is_best | number | 非必须 | |||
├─ is_new | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ mer_use | number | 非必须 | |||
├─ give_integral | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number | 非必须 | |||
├─ is_vip | number | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ code_path | string | 非必须 | |||
├─ soure_link | string | 非必须 | |||
├─ video_link | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ spec_type | number | 非必须 | |||
├─ activity | string | 非必须 | |||
├─ spu | string | 非必须 | |||
├─ label_id | string | 非必须 | |||
├─ command_word | string | 非必须 | |||
├─ attrInfo | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ vip_price | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ brokerage | string | 非必须 | |||
├─ brokerage_two | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 |
Path: /api/pc/get_balance_record/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 0 | 0全部,1支出,2收入 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ link_id | string | 必须 | |||
├─ pm | number | 必须 | |||
├─ title | string | 必须 | |||
├─ category | string | 必须 | |||
├─ type | string | 必须 | |||
├─ number | string | 必须 | |||
├─ balance | string | 必须 | |||
├─ mark | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status | number | 必须 | |||
├─ take | number | 必须 | |||
├─ time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /api/pc/get_products
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
sid | 是 | 二级分类 | |
cid | 是 | 一级分类 | |
keyword | 是 | 搜索 | |
priceOrder | 是 | 金额排序 | |
salesOrder | 是 | 销量排序 | |
page | 是 | ||
limit | 是 | ||
news | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | 商品ID | ||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ cate_id | string | 非必须 | 分类ID | ||
├─ image | string | 非必须 | 主图 | ||
├─ sales | string | 非必须 | 销量 | ||
├─ price | string | 非必须 | 售价 | ||
├─ stock | number | 非必须 | 库存 | ||
├─ activity | string [] | 非必须 | 活动 | item 类型: string | |
├─ | 非必须 | ||||
├─ ot_price | string | 非必须 | 原价 | ||
├─ spec_type | number | 非必须 | 1多规格,0单规格 | ||
├─ recommend_image | string | 非必须 | 推荐图 | ||
├─ unit_name | string | 非必须 | 单位 | ||
├─ description | string | 非必须 | 详情 | ||
├─ checkCoupon | boolean | 非必须 | 是否有优惠券 |
Path: /api/pc/get_product_code/:product_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
product_id | 1 | 商品ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ routineCode | string | 非必须 | 小程序码地址 |
Path: /api/pc/get_city/:pid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
pid | 0 | 父级ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ city_id | number | 必须 | 城市ID | ||
├─ name | string | 必须 | 城市名称 |
Path: /api/pc/get_wechat_qrcode
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ wechat_qrcode | string | 非必须 |
Path: /api/pc/wechat_auth
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | 登录认证token | ||
├─ exp_time | string | 非必须 | 过期时间 |
Path: /api/pc/check_order_status/:order_id/:end_time
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id | 订单ID | |
end_time | 到期时间戳 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | boolean | 非必须 | |||
├─ time | number | 非必须 |
Path: /api/pc/key
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ key | string | 非必须 | |||
├─ time | string | 非必须 |
Path: /api/pc/get_recommend/:type
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2NC5wYy5jcm1lYi5uZXQiLCJhdWQiOiJ2NC5wYy5jcm1lYi5uZXQiLCJpYXQiOjE2MDEyNzUxMDksIm5iZiI6MTYwMTI3NTEwOSwiZXhwIjoxNjAxMjg1OTA5LCJqdGkiOnsiaWQiOjY1LCJ0eXBlIjoiYXBpIn19.xeirj_pgdUR-hnL3CCPksqdU5KWzKsZYrJdgnyuR9jk |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 1 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | 列表 | item 类型: object | |
├─ id | number | 必须 | ID | ||
├─ image | string | 必须 | 图片 | ||
├─ store_name | string | 必须 | 名称 | ||
├─ store_info | string | 必须 | 简介 | ||
├─ cate_id | string | 必须 | 分类ID | ||
├─ price | string | 必须 | 价格 | ||
├─ ot_price | string | 必须 | 原价 | ||
├─ sales | string | 必须 | 销量 | ||
├─ unit_name | string | 必须 | 单位 | ||
├─ sort | number | 必须 | 排序 | ||
├─ activity | string [] | 必须 | 活动 | item 类型: string | |
├─ | 非必须 | ||||
├─ stock | number | 必须 | 库存 | ||
├─ star | string | 必须 | 评分 | ||
├─ checkCoupon | boolean | 必须 | 有无优惠券 | ||
├─ count | number | 非必须 | 总数 |
Path: /api/pc/scan/:key
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
key |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | number | 非必须 |
Path: /api/pc/get_pay_vip_code
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ url | string | 非必须 | 地址 |
Path: /api/pc/get_good_product
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | 列表 | item 类型: object | |
├─ id | number | 必须 | ID | ||
├─ image | string | 必须 | 图片 | ||
├─ store_name | string | 必须 | 名称 | ||
├─ store_info | string | 必须 | 简介 | ||
├─ cate_id | string | 必须 | 分类ID | ||
├─ price | string | 必须 | 价格 | ||
├─ ot_price | string | 必须 | 原价 | ||
├─ sales | string | 必须 | 销量 | ||
├─ unit_name | string | 必须 | 单位 | ||
├─ sort | number | 必须 | 排序 | ||
├─ activity | string [] | 必须 | 活动 | item 类型: string | |
├─ | 非必须 | ||||
├─ stock | number | 必须 | 库存 | ||
├─ star | string | 必须 | 评分 | ||
├─ checkCoupon | boolean | 必须 | 有无优惠券 |
Path: /api/pc/get_company_info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ contact_number | string | 非必须 | |||
├─ company_address | string | 非必须 | |||
├─ copyright | string | 非必须 | |||
├─ record_No | string | 非必须 | |||
├─ site_name | string | 非必须 | |||
├─ site_keywords | string | 非必须 | |||
├─ site_description | string | 非必须 | |||
├─ logoUrl | string | 非必须 |
Path: /api/pc/get_appid
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ appid | string | 非必须 | |||
├─ version | string | 非必须 |
Path: /api/pc/get_product_phone_buy
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ phone_buy | string | 非必须 | 手机跳转地址 | ||
├─ sit_url | string | 非必须 | 网站根域名 |
Path: /api/pc/get_category_product
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 分页 |
limit | 是 | 3 | 每次三个分类 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ pic | string | 必须 | |||
├─ is_show | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ big_pic | string | 必须 | |||
├─ productList | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ image | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ description | string | 必须 | |||
├─ couponId | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ issue_coupon_id | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ title | string | 必须 | |||
├─ star | string | 必须 | |||
├─ count | number | 非必须 |
Path: /api/pc/get_banner
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ url | string | 非必须 |