Path: /api/apple_login
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 |
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| openId | text | 是 | 凭证 | |
| phone | text | 否 | 手机号 | |
| text | 是 | |||
| captcha | text | 否 | 验证码 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|
Path: /api/v2/diy/color_change/color_change
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ status | number | 非必须 | 主题色类型 |
Path: /api/menu/user
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ routine_my_menus | object [] | 非必须 | 个人中心菜单 | item 类型: object | |
| ├─ id | number | 必须 | 菜单id | ||
| ├─ name | string | 必须 | 菜单名称 | ||
| ├─ pic | string | 必须 | 菜单图标 | ||
| ├─ url | string | 必须 | 跳转地址 | ||
| ├─ routine_my_banner | string [] | 非必须 | 个人中心轮播图 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ routine_spread_banner | string [] | 非必须 | 推广背景图 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ routine_contact_type | string | 必须 | 是否小程序客服 | ||
| ├─ diy_data | object | 必须 | 个人中心样式 | ||
| ├─ value | string | 必须 | 个人中心样式 | ||
| ├─ order_status | 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
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | 接口状态 | ||
| msg | string | 非必须 | 接口返回信息 | ||
| data | object | 非必须 | |||
| ├─ store_status | string | 非必须 | 是否开启门店自提 |
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/coupons_1586329598967
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| page | 否 | 分页参数起始值 | |
| limit | 否 | 分页数步长值 | |
| type | 否 | 0-所有优惠券(默认) 1-产品相关优惠券 | |
| product_id | 否 | 商品id (默认为0) |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 必须 | |||
| msg | string | 必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | integer | 非必须 | 优惠券发布编号 | ||
| ├─ cid | integer | 非必须 | 优惠券编号 | ||
| ├─ start_time | number | 非必须 | 优惠券开始领取时间 | ||
| ├─ end_time | string | 非必须 | 优惠券结束领取时间,为空时不限时 | ||
| ├─ total_count | number | 非必须 | 优惠券领取数量 | ||
| ├─ remain_count | number | 非必须 | 优惠券剩余领取数量 | ||
| ├─ is_permanent | number | 非必须 | 是否无限张数 | ||
| ├─ coupon_price | number | 非必须 | 优惠券面额 | ||
| ├─ use_min_price | string | 非必须 | 优惠券最低消费金额 | ||
| ├─ is_use | boolean | 非必须 | 是否领取 | ||
| ├─ title | string | 非必须 | 优惠券名称 | ||
| ├─ type | string | 非必须 | 优惠券类型 0-通用券 1-品类券 2-商品券 |
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/api/home/products
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| ids | 否 | 商品id集合 | |
| selectId | 否 | 分类ID | |
| selectType | 是 | 类型 | |
| newsOrder | 否 | 最新排序 | |
| salesOrder | 否 | 销量排序 | |
| page | 是 | 分页参数起始值 | |
| limit | 是 | 分页数步长值 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | 商品id | ||
| ├─ 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 | 必须 | 最低会员价 | ||
| ├─ description | string | 必须 | 商品详情 | ||
| ├─ checkCoupon | boolean | 必须 | 此商品是否可用优惠券 |
Path: /api/v2/diy/get_diy/:name
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| name | moren | 模版名称 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ headerSerch | object | 非必须 | 顶部搜索 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgUrl | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ url | string | 非必须 | |||
| ├─ hotList | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ val | string | 非必须 | |||
| ├─ maxlength | number | 非必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgUrl | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ url | string | 非必须 | |||
| ├─ hotList | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ val | string | 必须 | |||
| ├─ maxlength | number | 非必须 | |||
| ├─ swiperBg | object | 非必须 | 轮播图 | ||
| ├─ defaultVal | 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 | 必须 | |||
| ├─ default | 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 | 必须 | |||
| ├─ cc | 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 | 必须 | |||
| ├─ aa | 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 | 必须 | |||
| ├─ menus | object | 非必须 | 首页菜单 | ||
| ├─ defaultVal | 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 | 必须 | |||
| ├─ default | 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 | 必须 | |||
| ├─ news | object | 非必须 | 新闻公告 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgUrl | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ url | string | 非必须 | |||
| ├─ newList | object | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ chiild | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ val | string | 必须 | |||
| ├─ max | number | 必须 | |||
| ├─ pla | string | 必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgUrl | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ url | string | 非必须 | |||
| ├─ newList | object | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ chiild | object [] | 必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ val | string | 必须 | |||
| ├─ max | number | 必须 | |||
| ├─ pla | string | 必须 | |||
| ├─ activity | object | 非必须 | 活动 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgList | object | 非必须 | |||
| ├─ isDelete | boolean | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ img | string | 必须 | |||
| ├─ info | object [] | 必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ value | string | 必须 | |||
| ├─ maxlength | number | 必须 | |||
| ├─ tips | string | 必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgList | object | 非必须 | |||
| ├─ isDelete | boolean | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ img | string | 必须 | |||
| ├─ info | object [] | 必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ value | string | 必须 | |||
| ├─ maxlength | number | 必须 | |||
| ├─ tips | string | 必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ alive | object | 非必须 | 直播 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ numConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ val | number | 非必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ numConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ val | number | 非必须 | |||
| ├─ scrollBox | object | 非必须 | 快速选择 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ numConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ val | number | 非必须 | |||
| ├─ goodsList | object | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ pid | number | 必须 | |||
| ├─ activeValue | string | 必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ numConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ goodsList | object | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | |||
| ├─ cate_name | string | 必须 | |||
| ├─ pid | number | 必须 | |||
| ├─ pic | string | 必须 | |||
| ├─ adsRecommend | object | 非必须 | 首页广告位 | ||
| ├─ defaultVal | 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 | 非必须 | |||
| ├─ default | 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 | 非必须 | |||
| ├─ coupon | object | 非必须 | 优惠券 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ numConfig | object | 非必须 | |||
| ├─ val | number | 非必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ numConfig | object | 非必须 | |||
| ├─ val | number | 非必须 | |||
| ├─ seckill | object | 非必须 | 秒杀 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ combination | object | 非必须 | 拼团 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ bargain | object | 非必须 | 砍价 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ max | number | 非必须 | |||
| ├─ pla | string | 非必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ goodList | object | 非必须 | 商品列表 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectSortConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectSortConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ aa | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectSortConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ bb | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectSortConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ cc | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectSortConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ dd | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabConfig | object | 非必须 | |||
| ├─ tabVal | number | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ tabList | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ icon | string | 必须 | |||
| ├─ selectSortConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ activeValue | string | 必须 | |||
| ├─ title | string | 必须 | |||
| ├─ selectConfig | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ activeValue | string | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: 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 | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ picTxt | object | 非必须 | |||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ richText | object | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ richText | object | 非必须 | |||
| ├─ val | string | 非必须 | |||
| ├─ titles | object | 非必须 | 精品推荐 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ val | string | 必须 | |||
| ├─ max | number | 必须 | |||
| ├─ pla | string | 必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ titleInfo | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ title | string | 必须 | |||
| ├─ val | string | 必须 | |||
| ├─ max | number | 必须 | |||
| ├─ pla | string | 必须 | |||
| ├─ customerService | object | 非必须 | 客服按钮 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgUrl | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ url | string | 非必须 | |||
| ├─ routine_contact_type | string | 非必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ imgUrl | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ url | string | 非必须 | |||
| ├─ routine_contact_type | string | 非必须 | |||
| ├─ tabBar | object | 非必须 | 底部菜单 | ||
| ├─ defaultVal | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabBarList | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ imgList | string [] | 必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ link | string | 必须 | |||
| ├─ default | object | 非必须 | |||
| ├─ isShow | object | 非必须 | |||
| ├─ val | boolean | 非必须 | |||
| ├─ tabBarList | object | 非必须 | |||
| ├─ title | string | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ name | string | 必须 | |||
| ├─ imgList | string [] | 必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ link | 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 | 必须 | 优惠券id | ||
| ├─ cid | null | 必须 | 0 | ||
| ├─ 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 | 必须 | 商品券商品id | ||
| ├─ category_id | number | 必须 | 分类券分类id | ||
| ├─ 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 | object [] | 非必须 | 优惠券列表 | item 类型: object | |
| ├─ id | number | 非必须 | id | ||
| ├─ cid | null | 非必须 | 0 | ||
| ├─ coupon_title | string | 非必须 | 优惠券标题 | ||
| ├─ 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 | 非必须 | 添加时间 | ||
| ├─ title | string | 非必须 | 标题 | ||
| ├─ integral | number | 非必须 | 积分 | ||
| ├─ coupon_price | number | 非必须 | 优惠券金额 | ||
| ├─ use_min_price | number | 非必须 | 使用最小金额 | ||
| ├─ coupon_time | number | 非必须 | 领取后使用时间(天) | ||
| ├─ product_id | string | 非必须 | 商品id | ||
| ├─ category_id | number | 非必须 | 分类id | ||
| ├─ type | number | 非必须 | 类型 | ||
| ├─ receive_type | number | 非必须 | 领取类型 | ||
| ├─ start_use_time | number | 非必须 | 开始使用时间 | ||
| ├─ end_use_time | number | 非必须 | 结束使用时间 | ||
| ├─ sort | number | 非必须 | 排序 | ||
| ├─ image | string | 非必须 | 弹窗背景图 |
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 | 必须 | 文章id | ||
| ├─ 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 | 必须 | 分类id | ||
| ├─ 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 | 非必须 | 文章id | ||
| ├─ title | string | 非必须 | 文章标题 | ||
| ├─ image_input | string [] | 非必须 | 文章图片 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ visit | string | 非必须 | 访问量 | ||
| ├─ add_time | string | 非必须 | 添加时间 | ||
| ├─ synopsis | string | 非必须 | 文章简介 |
Path: /api/article/details/:id
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| id | 1 | 文章编号 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ id | number | 非必须 | 文章id | ||
| ├─ cid | string | 非必须 | 文章分类id | ||
| ├─ 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 | 非必须 | 0 | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ product_id | number | 非必须 | 关联商品id | ||
| ├─ is_hot | number | 非必须 | 是否热门 | ||
| ├─ is_banner | number | 非必须 | 是否轮播 | ||
| ├─ content | string | 非必须 | 内容 | ||
| ├─ catename | string | 非必须 | 文章分类名称 | ||
| ├─ store_info | object | 非必须 | 商品信息 | ||
| ├─ store_name | string | 非必须 | 商品名称 | ||
| ├─ image | string | 非必须 | 商品图片 | ||
| ├─ price | string | 非必须 | 商品价格 | ||
| ├─ id | number | 非必须 | 商品id | ||
| ├─ 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 | 必须 | 文章id | ||
| ├─ title | string | 必须 | 文章标题 | ||
| ├─ image_input | string [] | 必须 | 文章图片 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ visit | string | 必须 | 访问量 | ||
| ├─ add_time | string | 必须 | 添加时间 | ||
| ├─ synopsis | string | 必须 | 文章简介 |
Path: /api/article/banner/list
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | 文章id | ||
| ├─ title | string | 必须 | 文章标题 | ||
| ├─ image_input | string [] | 必须 | 文章图片 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ visit | string | 必须 | 访问量 | ||
| ├─ add_time | string | 必须 | 添加时间 | ||
| ├─ synopsis | 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 | 非必须 | 推广二维码base64格式 |
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 | 1 | 商品id |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ uid | number | 非必须 | 用户id | ||
| ├─ productAttr | object [] | 非必须 | 商品规格 | item 类型: object | |
| ├─ id | number | 必须 | 规格id | ||
| ├─ product_id | number | 必须 | 商品id | ||
| ├─ attr_name | string | 必须 | 规格名称 | ||
| ├─ attr_values | string [] | 必须 | 规格值 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ type | number | 必须 | 规格类型 | ||
| ├─ attr_value | object [] | 必须 | 规格值 | item 类型: object | |
| ├─ attr | string | 必须 | |||
| ├─ check | boolean | 必须 | |||
| ├─ productValue | object | 非必须 | 规格值 | ||
| ├─ storeInfo | object | 非必须 | 商品信息 | ||
| ├─ id | number | 非必须 | 商品id | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ image | string | 非必须 | 商品主图 | ||
| ├─ recommend_image | string | 非必须 | 商品推荐图 | ||
| ├─ slider_image | string [] | 非必须 | 商品轮播图 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ store_name | string | 非必须 | 商品名称 | ||
| ├─ store_info | string | 非必须 | 商品简介 | ||
| ├─ keyword | string | 非必须 | 商品关键字 | ||
| ├─ bar_code | string | 非必须 | 商品码 | ||
| ├─ cate_id | string | 非必须 | 分类id | ||
| ├─ 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 | 非必须 | 0 | ||
| ├─ 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 | 非必须 | 运费模版id | ||
| ├─ spec_type | number | 非必须 | 是否多规格 | ||
| ├─ activity | string | 非必须 | 活动顺序 | ||
| ├─ spu | string | 非必须 | 商品spu | ||
| ├─ label_id | string | 非必须 | 用户标签id | ||
| ├─ 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 | 非必须 | 0 | ||
| ├─ good_list | object [] | 非必须 | 推荐商品 | item 类型: object | |
| ├─ id | number | 必须 | |||
| ├─ store_name | string | 必须 | |||
| ├─ cate_id | string | 必须 | |||
| ├─ image | string | 必须 | |||
| ├─ sales | string | 必须 | |||
| ├─ price | string | 必须 | |||
| ├─ stock | number | 必须 | |||
| ├─ activity | object | 必须 | |||
| ├─ type | string | 非必须 | |||
| ├─ id | number | 非必须 | |||
| ├─ unit_name | string | 必须 | |||
| ├─ description | string | 必须 | |||
| ├─ checkCoupon | boolean | 必须 | |||
| ├─ mapKey | string | 非必须 | |||
| ├─ store_self_mention | number | 非必须 | |||
| ├─ activity | object [] | 非必须 | 活动 | item 类型: object | |
| ├─ type | string | 必须 | |||
| ├─ id | number | 必须 | |||
| ├─ 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 | 非必须 | |||
| ├─ routine_contact_type | string | 非必须 |
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 | 必须 | 评论id | ||
| ├─ uid | number | 必须 | 用户ID | ||
| ├─ oid | number | 必须 | 订单id | ||
| ├─ unique | string | 必须 | 唯一值 | ||
| ├─ product_id | number | 必须 | 商品ID | ||
| ├─ 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 | 必须 | 分类id | ||
| ├─ pid | number | 必须 | 分类父级id | ||
| ├─ cate_name | string | 必须 | 分类名称 | ||
| ├─ pic | string | 必须 | 分类图片 | ||
| ├─ big_pic | string | 必须 | pc首页分类大图 | ||
| ├─ children | object [] | 必须 | 下级分类 | item 类型: object | |
| ├─ id | number | 必须 | 分类id | ||
| ├─ 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 | 非必须 | 商品ID | ||
| ├─ store_name | string | 非必须 | 商品名称 | ||
| ├─ cate_id | string | 非必须 | 分类ID | ||
| ├─ 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 | 非必须 | 优惠券ID | ||
| ├─ cid | null | 非必须 | 0 | ||
| ├─ 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 | 非必须 | 商品ID | ||
| ├─ category_id | number | 非必须 | 分类ID | ||
| ├─ 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 | 非必须 | 领取优惠券ID | ||
| ├─ cid | number | 非必须 | 0 | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ 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 | 非必须 | 商品ID | ||
| ├─ category_id | number | 非必须 | 分类ID | ||
| ├─ 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 | 必须 | 优惠券ID | ||
| ├─ cid | number | 必须 | 0 | ||
| ├─ 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 | 非必须 | ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ 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 | 非必须 | ID | ||
| ├─ uid | number | 非必须 | 用户ID |
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 | 非必须 | 用户ID | ||
| ├─ nickname | string | 非必须 | 昵称 | ||
| ├─ avatar | string | 非必须 | 头像 | ||
| ├─ now_money | string | 非必须 | 用户余额 | ||
| ├─ brokerage_price | string | 非必须 | 用户佣金 | ||
| ├─ integral | number | 非必须 | 用户积分 | ||
| ├─ exp | string | 非必须 | 用户经验 | ||
| ├─ sign_num | number | 非必须 | 第几天签到 | ||
| ├─ agent_level | 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 | 非必须 |
Path: /api/sign/config
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | ID | ||
| ├─ 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 | 必须 | 时间段ID | ||
| ├─ 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 | 非必须 | 秒杀商品ID | ||
| ├─ product_id | number | 非必须 | 正常商品ID | ||
| ├─ 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 | 非必须 | 运费模版ID | ||
| ├─ 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 | 非必须 | 秒杀ID | ||
| ├─ product_id | number | 非必须 | 商品ID | ||
| ├─ 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 | 非必须 | 运费模版ID | ||
| ├─ 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 | object | 非必须 | 评论列表 | ||
| ├─ id | number | 非必须 | 评论ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ oid | number | 非必须 | 订单ID | ||
| ├─ unique | string | 非必须 | 唯一值 | ||
| ├─ product_id | number | 非必须 | 商品ID | ||
| ├─ reply_type | string | 非必须 | |||
| ├─ product_score | number | 非必须 | |||
| ├─ service_score | number | 非必须 | |||
| ├─ comment | string | 非必须 | |||
| ├─ pics | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ add_time | string | 非必须 | |||
| ├─ merchant_reply_content | null | 非必须 | |||
| ├─ merchant_reply_time | string | 非必须 | |||
| ├─ is_del | number | 非必须 | |||
| ├─ is_reply | number | 非必须 | |||
| ├─ nickname | string | 非必须 | |||
| ├─ avatar | string | 非必须 | |||
| ├─ cart_info | null | 非必须 | |||
| ├─ is_money_level | null | 非必须 | |||
| ├─ suk | string | 非必须 | |||
| ├─ star | string | 非必须 | |||
| ├─ replyChance | string | 非必须 | 好评率 | ||
| ├─ replyCount | number | 非必须 | 评论数 | ||
| ├─ productAttr | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | 规格ID | ||
| ├─ product_id | number | 必须 | 秒杀商品ID | ||
| ├─ attr_name | string | 必须 | 规格名称 | ||
| ├─ attr_values | string [] | 必须 | 规格值 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ type | number | 必须 | 1 | ||
| ├─ attr_value | object [] | 必须 | 规格值 | item 类型: object | |
| ├─ attr | string | 必须 | 规格 | ||
| ├─ check | boolean | 必须 | |||
| ├─ productValue | object | 非必须 | 规格值 | ||
| ├─ routine_contact_type | string | 非必须 | 小程序客服判断 |
Path: /api/combination/list
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| page | 否 | 1 | 分页参数起始值(默认0 全程查询) |
| limit | 否 | 20 | 分页数步长值 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 非必须 | 拼团ID | ||
| ├─ product_id | number | 非必须 | 商品ID | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ 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 | 非必须 | 运费模版ID | ||
| ├─ 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 | 非必须 | 编号ID | ||
| ├─ 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 | 非必须 | 拼团商品ID | ||
| ├─ product_id | number | 非必须 | 正常商品ID | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ 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 | 非必须 | 运费模版ID | ||
| ├─ 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 | object [] | 非必须 | 拼团中列表 | item 类型: object | |
| ├─ id | number | 非必须 | 拼团团队ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ nickname | string | 非必须 | 昵称 | ||
| ├─ avatar | string | 非必须 | 头像 | ||
| ├─ order_id | string | 非必须 | 订单ID | ||
| ├─ order_id_key | number | 非必须 | |||
| ├─ total_num | number | 非必须 | 订单总数 | ||
| ├─ total_price | string | 非必须 | 总金额 | ||
| ├─ cid | number | 非必须 | 拼团商品ID | ||
| ├─ pid | number | 非必须 | 正常商品ID | ||
| ├─ people | number | 非必须 | 拼团人数 | ||
| ├─ price | string | 非必须 | 金额 | ||
| ├─ add_time | string | 非必须 | 开团时间 | ||
| ├─ stop_time | number | 非必须 | 拼团结束时间 | ||
| ├─ k_id | number | 非必须 | 是否团长 | ||
| ├─ is_tpl | number | 非必须 | 是否已发送消息 | ||
| ├─ is_refund | number | 非必须 | 是否已退款 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ is_virtual | number | 非必须 | 是否虚拟成团 | ||
| ├─ count | number | 非必须 | 总数 | ||
| ├─ h | string | 非必须 | |||
| ├─ i | string | 非必须 | |||
| ├─ s | string | 非必须 | |||
| ├─ pindAll | number [] | 非必须 | item 类型: number | ||
| ├─ | 非必须 | ||||
| ├─ 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 | 非必须 | 规格 | ||
| ├─ 陶瓷白,8GB+256GB,Mate 40 RS标准版 | 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 | 非必须 | |||
| ├─ product_stock | number | 非必须 | |||
| ├─ 陶瓷黑,8GB+256GB,Mate 40 RS标准版 | 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 | 非必须 | |||
| ├─ product_stock | number | 非必须 | |||
| ├─ routine_contact_type | string | 非必须 | 是否小程序自带客服 |
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/advance/list
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| page | 是 | ||
| limit | 是 | ||
| time_type | 是 | 1未开始2进行中3已结束 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 非必须 | 编号 | ||
| ├─ product_id | number | 非必须 | 商品编号 | ||
| ├─ image | string | 非必须 | 主图 | ||
| ├─ images | string [] | 非必须 | 轮播图 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ title | string | 非必须 | 标题 | ||
| ├─ info | string | 非必须 | 简介 | ||
| ├─ price | string | 非必须 | 价格 | ||
| ├─ ot_price | string | 非必须 | 原价 | ||
| ├─ sort | number | 非必须 | 排序 | ||
| ├─ stock | number | 非必须 | 库存 | ||
| ├─ sales | number | 非必须 | 销量 | ||
| ├─ unit_name | string | 非必须 | 单位 | ||
| ├─ start_time | string | 非必须 | 开始时间 | ||
| ├─ stop_time | string | 非必须 | 结束时间 | ||
| ├─ add_time | string | 非必须 | 添加时间 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ is_del | number | 非必须 | 是否删除 | ||
| ├─ type | number | 非必须 | 类型 | ||
| ├─ deposit | string | 非必须 | |||
| ├─ pay_start_time | string | 非必须 | |||
| ├─ pay_stop_time | string | 非必须 | |||
| ├─ deliver_time | number | 非必须 | 发货时间 | ||
| ├─ num | number | 非必须 | 限购 | ||
| ├─ temp_id | number | 非必须 | 运费模版id | ||
| ├─ quota | number | 非必须 | 限量 | ||
| ├─ quota_show | number | 非必须 | 限量显示 | ||
| ├─ once_num | number | 非必须 | 单次购买 | ||
| ├─ cate_id | null | 非必须 | 分类id | ||
| ├─ count | number | 非必须 |
Path: /api/advance/detail/:id
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| id | 预售商品编号 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ pay_status | number | 非必须 | 预售状态1未开始2进行中3已结束 | ||
| ├─ buy_num | number | 非必须 | 用户已购买数量 | ||
| ├─ storeInfo | object | 非必须 | 商品详情 | ||
| ├─ id | number | 非必须 | 编号 | ||
| ├─ product_id | number | 非必须 | 商品id | ||
| ├─ image | string | 非必须 | 主图 | ||
| ├─ images | string [] | 非必须 | 轮播图 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ title | string | 非必须 | 标题 | ||
| ├─ info | string | 非必须 | 简介 | ||
| ├─ price | string | 非必须 | 价格 | ||
| ├─ ot_price | string | 非必须 | 原价 | ||
| ├─ sort | number | 非必须 | 排序 | ||
| ├─ stock | number | 非必须 | 库存 | ||
| ├─ sales | number | 非必须 | 销量 | ||
| ├─ unit_name | string | 非必须 | 单位 | ||
| ├─ start_time | string | 非必须 | 开始时间 | ||
| ├─ stop_time | string | 非必须 | 结束时间 | ||
| ├─ add_time | string | 非必须 | 添加时间 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ is_del | number | 非必须 | 是否删除 | ||
| ├─ type | number | 非必须 | 类型 | ||
| ├─ deposit | string | 非必须 | |||
| ├─ pay_start_time | string | 非必须 | |||
| ├─ pay_stop_time | string | 非必须 | |||
| ├─ deliver_time | number | 非必须 | 发货天数 | ||
| ├─ num | number | 非必须 | 每个用户限制购买 | ||
| ├─ temp_id | number | 非必须 | 运费模版ID | ||
| ├─ quota | number | 非必须 | 限量 | ||
| ├─ quota_show | number | 非必须 | 限量显示 | ||
| ├─ once_num | number | 非必须 | |||
| ├─ description | string | 非必须 | 详情 | ||
| ├─ image_base | string | 非必须 | |||
| ├─ total | number | 非必须 | |||
| ├─ store_name | string | 非必须 | |||
| ├─ store_info | string | 非必须 | |||
| ├─ code_base | string | 非必须 | |||
| ├─ userCollect | boolean | 非必须 | 收藏 | ||
| ├─ userLike | boolean | 非必须 | |||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ 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 | 非必须 | 规格值 | ||
| ├─ 【蝶悦色】蓝色交领上衣+半壁+6米摆蓝色襦裙,S | 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 | 非必须 | |||
| ├─ is_virtual | number | 非必须 | |||
| ├─ coupon_id | number | 非必须 | |||
| ├─ product_stock | number | 非必须 | |||
| ├─ routine_contact_type | string | 非必须 | 是否小程序自带客服 |
Path: /api/bargain/detail/:id
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| id | 1 | 砍价产品编号 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ userInfo | object | 非必须 | |||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ nickname | string | 非必须 | 昵称 | ||
| ├─ avatar | string | 非必须 | 头像 | ||
| ├─ bargain | object | 非必须 | 砍价详情 | ||
| ├─ id | number | 非必须 | 砍价商品ID | ||
| ├─ product_id | number | 非必须 | 正常商品ID | ||
| ├─ 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 | 非必须 | 运费模版ID | ||
| ├─ 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 | 非必须 | 砍价记录ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ bargain_id | number | 非必须 | 砍价ID | ||
| ├─ 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/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/list
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| page | 是 | ||
| limit | 是 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 非必须 | 砍价ID | ||
| ├─ product_id | number | 非必须 | 正常商品ID | ||
| ├─ 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 | 非必须 | 运费模版ID | ||
| ├─ weight | string | 非必须 | 重量 | ||
| ├─ volume | string | 非必须 | 体积 | ||
| ├─ quota | number | 非必须 | 限量 | ||
| ├─ quota_show | number | 非必须 | 限量显示 | ||
| ├─ people_num | number | 非必须 | 同一个商品可帮砍次数 | ||
| ├─ ot_price | string | 非必须 | 原价 | ||
| ├─ cate_id | string | 非必须 | 分类 | ||
| ├─ people | number | 非必须 | 人数 |
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 | 非必须 | 购物车ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ type | string | 非必须 | 购物车类型product | ||
| ├─ 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 | 非必须 | 状态 | ||
| ├─ 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 | 非必须 | vip价格 | ||
| ├─ 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/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/store_integral/order/list
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 |
Path: /api/v2/lottery/info/:type
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| type | 抽奖类型 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ lottery | object | 非必须 | |||
| ├─ id | number | 非必须 | 编号 | ||
| ├─ type | number | 非必须 | 抽奖类型 | ||
| ├─ name | string | 非必须 | 名称 | ||
| ├─ desc | string | 非必须 | 简介 | ||
| ├─ image | string | 非必须 | 背景图 | ||
| ├─ factor | number | 非必须 | 消耗类型 | ||
| ├─ factor_num | number | 非必须 | 消耗数量 | ||
| ├─ attends_user | number | 非必须 | 参与用户1全部2部分 | ||
| ├─ user_level | number [] | 非必须 | 用户等级 | item 类型: number | |
| ├─ | 非必须 | ||||
| ├─ user_label | string [] | 非必须 | 用户标签 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ is_svip | number | 非必须 | 是否付费会员 | ||
| ├─ prize_num | number | 非必须 | 奖品数量 | ||
| ├─ start_time | number | 非必须 | 开始时间 | ||
| ├─ end_time | number | 非必须 | 结束时间 | ||
| ├─ lottery_num_term | number | 非必须 | 抽奖次数限制 | ||
| ├─ lottery_num | number | 非必须 | 抽奖次数 | ||
| ├─ spread_num | number | 非必须 | 关注推广获取抽奖次数 | ||
| ├─ is_all_record | number | 非必须 | 中奖纪录展示 | ||
| ├─ is_personal_record | number | 非必须 | 个人中奖纪录展示 | ||
| ├─ is_content | number | 非必须 | 活动规格是否展示 | ||
| ├─ content | string | 非必须 | 活动文案抽奖协议之类 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ sort | number | 非必须 | 排序 | ||
| ├─ is_del | number | 非必须 | 是否删除 | ||
| ├─ add_time | number | 非必须 | 添加时间 | ||
| ├─ prize | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | 编号 | ||
| ├─ type | number | 必须 | 类型 | ||
| ├─ lottery_id | number | 必须 | 抽奖ID | ||
| ├─ name | string | 必须 | 名称 | ||
| ├─ prompt | string | 必须 | 提示语 | ||
| ├─ image | string | 必须 | 图片 | ||
| ├─ chance | number | 必须 | 权重 | ||
| ├─ total | number | 必须 | 总数 | ||
| ├─ coupon_id | number | 必须 | 优惠券ID | ||
| ├─ product_id | number | 必须 | 商品ID | ||
| ├─ unique | string | 必须 | 唯一值 | ||
| ├─ num | number | 必须 | 数量 | ||
| ├─ sort | number | 必须 | 排序 | ||
| ├─ status | number | 必须 | 状态 | ||
| ├─ is_del | number | 必须 | 是否删除 | ||
| ├─ add_time | number | 必须 | 添加时间 | ||
| ├─ lottery_num | number | 非必须 | 抽奖次数 | ||
| ├─ all_record | string [] | 非必须 | 全部记录 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ user_record | string [] | 非必须 | 用户记录 | item 类型: string | |
| ├─ | 非必须 |
Path: /api/v2/lottery
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 |
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| id | text | 是 | 抽奖id | |
| type | text | 是 | 类型 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ id | number | 非必须 | 编号 | ||
| ├─ type | number | 非必须 | 类型 | ||
| ├─ lottery_id | number | 非必须 | 抽奖ID | ||
| ├─ name | string | 非必须 | 名称 | ||
| ├─ prompt | string | 非必须 | 说明 | ||
| ├─ image | string | 非必须 | 图片 | ||
| ├─ chance | number | 非必须 | 权重 | ||
| ├─ total | number | 非必须 | 总数 | ||
| ├─ coupon_id | number | 非必须 | 优惠券ID | ||
| ├─ product_id | number | 非必须 | 商品ID | ||
| ├─ unique | string | 非必须 | 唯一值 | ||
| ├─ num | number | 非必须 | 数量 | ||
| ├─ sort | number | 非必须 | 排序 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ is_del | number | 非必须 | 是否删除 | ||
| ├─ add_time | number | 非必须 | 添加时间 | ||
| ├─ lottery_record_id | string | 非必须 | 记录ID |
Path: /api/store_integral/list
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| store_name | 是 | 商品名称 | |
| priceOrder | 是 | 价格排序 | |
| salesOrder | 是 | 销量排序 | |
| page | 是 | 分页 | |
| limit | 是 | 分页 | |
| cid | 是 | 一级分类 | |
| sid | 是 | 二级分类 | |
| news | 是 | 是否最新 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 非必须 | 编号 | ||
| ├─ image | string | 非必须 | 图片 | ||
| ├─ title | string | 非必须 | 标题 | ||
| ├─ price | number | 非必须 | 价格 | ||
| ├─ sales | number | 非必须 | 销量 |
Path: /api/store_integral/detail/:id
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| id | 商品id |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ storeInfo | object | 非必须 | 商品详情 | ||
| ├─ id | number | 非必须 | |||
| ├─ image | string | 非必须 | |||
| ├─ product_id | number | 非必须 | |||
| ├─ images | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ title | string | 非必须 | |||
| ├─ price | number | 非必须 | |||
| ├─ sort | number | 非必须 | |||
| ├─ sales | number | 非必须 | |||
| ├─ unit_name | string | 非必须 | |||
| ├─ stock | number | 非必须 | |||
| ├─ add_time | string | 非必须 | |||
| ├─ is_host | number | 非必须 | |||
| ├─ is_show | number | 非必须 | |||
| ├─ is_del | number | 非必须 | |||
| ├─ num | number | 非必须 | |||
| ├─ quota | number | 非必须 | |||
| ├─ once_num | number | 非必须 | |||
| ├─ quota_show | number | 非必须 | |||
| ├─ ot_price | string | 非必须 | |||
| ├─ product_price | string | 非必须 | |||
| ├─ image_base | string | 非必须 | |||
| ├─ sale_stock | number | 非必须 | |||
| ├─ description | string | 非必须 | |||
| ├─ small_image | string | 非必须 | |||
| ├─ 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 | 非必须 | 规格值 | ||
| ├─ 【小狐仙】上儒+襦裙,S | 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 | 非必须 | |||
| ├─ is_virtual | number | 非必须 | |||
| ├─ coupon_id | number | 非必须 | |||
| ├─ product_stock | number | 非必须 |
Path: /api/store_integral/index
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ banner | object [] | 非必须 | 积分商城轮播图 | item 类型: object | |
| ├─ id | number | 非必须 | 编号 | ||
| ├─ img | string | 非必须 | 图片 | ||
| ├─ comment | string | 非必须 | 描述 | ||
| ├─ link | string | 非必须 | 链接 | ||
| ├─ list | object [] | 非必须 | 推荐商品 | item 类型: object | |
| ├─ id | number | 非必须 | 编号 | ||
| ├─ image | string | 非必须 | 图片 | ||
| ├─ title | string | 非必须 | 标题 | ||
| ├─ price | number | 非必须 | 价格 | ||
| ├─ sales | number | 非必须 | 销量 |
Path: /api/v2/lottery/receive
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 |
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| id | text | 是 | 抽奖ID | |
| name | text | 是 | 名称 | |
| phone | text | 是 | 电话 | |
| address | text | 是 | 地址 | |
| detail | text | 是 | 详细地址 |
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 | 非必须 | |||
| ├─ status | string | 非必须 | |||
| ├─ result | object | 非必须 | |||
| ├─ total_price | string | 非必须 | 总金额 | ||
| ├─ pay_price | number | 非必须 | 支付金额 | ||
| ├─ pay_postage | number | 非必须 | 支付运费 | ||
| ├─ coupon_price | number | 非必须 | 优惠券抵扣 | ||
| ├─ deduction_price | number | 非必须 | 积分抵扣金额 | ||
| ├─ usedIntegral | number | 非必须 | 使用积分 | ||
| ├─ SurplusIntegral | number | 非必须 | 剩余积分 | ||
| ├─ storePostageDiscount | number | 非必须 | 运费折扣 |
Path: /api/order/refund_detail/:order_id/:cat_id
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| order_id | ||
| cat_id |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ id | number | 非必须 | |||
| ├─ pid | 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_type | number | 非必须 | |||
| ├─ refund_express | string | 非必须 | |||
| ├─ refund_reason_wap_img | string | 非必须 | |||
| ├─ refund_reason_wap_explain | string | 非必须 | |||
| ├─ refund_reason_time | number | 非必须 | |||
| ├─ refund_reason_wap | string | 非必须 | |||
| ├─ refund_reason | string | 非必须 | |||
| ├─ refund_price | string | 非必须 | |||
| ├─ delivery_name | string | 非必须 | |||
| ├─ delivery_code | string | 非必须 | |||
| ├─ delivery_type | string | 非必须 | |||
| ├─ delivery_id | string | 非必须 | |||
| ├─ fictitious_content | string | 非必须 | |||
| ├─ delivery_uid | number | 非必须 | |||
| ├─ gain_integral | string | 非必须 | |||
| ├─ use_integral | string | 非必须 | |||
| ├─ back_integral | string | 非必须 | |||
| ├─ spread_uid | number | 非必须 | |||
| ├─ spread_two_uid | number | 非必须 | |||
| ├─ one_brokerage | string | 非必须 | |||
| ├─ two_brokerage | string | 非必须 | |||
| ├─ mark | string | 非必须 | |||
| ├─ is_del | number | 非必须 | |||
| ├─ unique | string | 非必须 | |||
| ├─ remark | string | 非必须 | |||
| ├─ mer_id | number | 非必须 | |||
| ├─ is_mer_check | number | 非必须 | |||
| ├─ combination_id | number | 非必须 | |||
| ├─ pink_id | number | 非必须 | |||
| ├─ cost | string | 非必须 | |||
| ├─ seckill_id | number | 非必须 | |||
| ├─ bargain_id | number | 非必须 | |||
| ├─ advance_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 | 非必须 | |||
| ├─ virtual_type | number | 非必须 | |||
| ├─ virtual_info | string | 非必须 | |||
| ├─ split | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ invoice | null | 非必须 | |||
| ├─ cartInfo | object [] | 非必须 | item 类型: object | ||
| ├─ id | string | 非必须 | |||
| ├─ type | number | 非必须 | |||
| ├─ seckill_id | number | 非必须 | |||
| ├─ bargain_id | number | 非必须 | |||
| ├─ combination_id | number | 非必须 | |||
| ├─ advance_id | number | 非必须 | |||
| ├─ product_id | number | 非必须 | |||
| ├─ product_attr_unique | string | 非必须 | |||
| ├─ cart_num | 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 | 非必须 | |||
| ├─ is_virtual | number | 非必须 | |||
| ├─ virtual_type | number | 非必须 | |||
| ├─ add_time | number | 非必须 | |||
| ├─ is_postage | number | 非必须 | |||
| ├─ is_del | number | 非必须 | |||
| ├─ mer_use | number | 非必须 | |||
| ├─ give_integral | string | 非必须 | |||
| ├─ cost | string | 非必须 | |||
| ├─ is_seckill | number | 非必须 | |||
| ├─ is_bargain | number | 非必须 | |||
| ├─ 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 | 非必须 | |||
| ├─ recommend_list | 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 | 非必须 | |||
| ├─ is_virtual | number | 非必须 | |||
| ├─ coupon_id | number | 非必须 | |||
| ├─ sum_price | string | 非必须 | |||
| ├─ truePrice | number | 非必须 | |||
| ├─ trueStock | number | 非必须 | |||
| ├─ costPrice | string | 非必须 | |||
| ├─ attrStatus | boolean | 非必须 | |||
| ├─ vip_truePrice | number | 非必须 | |||
| ├─ price_type | string | 非必须 | |||
| ├─ is_valid | number | 非必须 | |||
| ├─ use_integral | number | 非必须 | |||
| ├─ integral_price | number | 非必须 | |||
| ├─ coupon_price | number | 非必须 | |||
| ├─ one_brokerage | string | 非必须 | |||
| ├─ two_brokerage | string | 非必须 | |||
| ├─ postage_price | string | 非必须 | |||
| ├─ unique | string | 非必须 | |||
| ├─ is_reply | number | 非必须 | |||
| ├─ vip_sum_truePrice | string | 非必须 | |||
| ├─ one_postage_price | string | 非必须 | |||
| ├─ _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 | 非必须 |
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 | 非必须 | 地址ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ real_name | string | 非必须 | 姓名 | ||
| ├─ phone | string | 非必须 | 电话 | ||
| ├─ province | string | 非必须 | 省份 | ||
| ├─ city | string | 非必须 | 城市 | ||
| ├─ city_id | number | 非必须 | 城市ID | ||
| ├─ district | string | 非必须 | 区 | ||
| ├─ detail | string | 非必须 | 详细地址 | ||
| ├─ post_code | number | 非必须 | 邮编 | ||
| ├─ longitude | string | 非必须 | 经度 | ||
| ├─ latitude | string | 非必须 | 纬度 | ||
| ├─ is_default | number | 非必须 | 是否默认 | ||
| ├─ seckill_id | number | 非必须 | 秒杀ID | ||
| ├─ combination_id | number | 非必须 | 拼团ID | ||
| ├─ bargain_id | number | 非必须 | 砍价ID | ||
| ├─ cartInfo | object [] | 非必须 | 购物车信息 | item 类型: object | |
| ├─ id | number | 非必须 | 购物车ID | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ type | string | 非必须 | 购物车类型product | ||
| ├─ 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 | 非必须 | 状态 | ||
| ├─ 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 | 非必须 | vip价格 | ||
| ├─ priceGroup | object | 非必须 | 金额信息 | ||
| ├─ storePostage | string | 非必须 | 订单运费 | ||
| ├─ storeFreePostage | number | 非必须 | 订单节省运费 | ||
| ├─ totalPrice | string | 非必须 | 总价 | ||
| ├─ costPrice | string | 非必须 | 成本价 | ||
| ├─ vipPrice | string | 非必须 | vip价格 | ||
| ├─ storePostageDiscount | number | 非必须 | 运费折扣 | ||
| ├─ orderKey | string | 非必须 | 订单key | ||
| ├─ 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 | 非必须 | 订单ID | ||
| ├─ key | string | 非必须 | 订单key |
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 | 非必须 | 订单ID | ||
| ├─ order_id | string | 非必须 | 订单order_id | ||
| ├─ trade_no | string | 非必须 | 支付回调支付号 | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ real_name | string | 非必须 | 真实姓名 | ||
| ├─ user_phone | string | 非必须 | 电话 | ||
| ├─ user_address | string | 非必须 | 地址 | ||
| ├─ cart_id | number [] | 非必须 | 购物车id | 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 | 非必须 | 使用的优惠券ID | ||
| ├─ 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 | 非必须 | 送货人ID | ||
| ├─ gain_integral | string | 非必须 | 赠送积分 | ||
| ├─ use_integral | string | 非必须 | 使用积分 | ||
| ├─ back_integral | null | 非必须 | 退回积分 | ||
| ├─ mark | string | 非必须 | 备注 | ||
| ├─ is_del | number | 非必须 | 用户是否删除或者取消订单 | ||
| ├─ unique | string | 非必须 | 唯一值 | ||
| ├─ remark | null | 非必须 | 备注 | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ is_mer_check | number | 非必须 | 0 | ||
| ├─ combination_id | number | 非必须 | 拼团商品ID | ||
| ├─ pink_id | number | 非必须 | 拼团ID | ||
| ├─ cost | string | 非必须 | 成本价 | ||
| ├─ seckill_id | number | 非必须 | 秒杀商品ID | ||
| ├─ bargain_id | number | 非必须 | 砍价商品ID | ||
| ├─ verify_code | string | 非必须 | 核销码 | ||
| ├─ store_id | number | 非必须 | 核销后店铺ID | ||
| ├─ shipping_type | number | 非必须 | 订单类型 | ||
| ├─ clerk_id | number | 非必须 | 0 | ||
| ├─ 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 | 非必须 | 上级uid | ||
| ├─ 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 | 非必须 | 订单ID | ||
| ├─ order_id | string | 非必须 | 订单编号 | ||
| ├─ trade_no | string | 非必须 | 付款编号 | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ real_name | string | 非必须 | 姓名 | ||
| ├─ user_phone | string | 非必须 | 电话 | ||
| ├─ user_address | string | 非必须 | 地址 | ||
| ├─ cart_id | number [] | 非必须 | 购物车ID | 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 | 非必须 | 使用的优惠券ID | ||
| ├─ 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 | 非必须 | 送货人ID | ||
| ├─ gain_integral | string | 非必须 | 赠送积分 | ||
| ├─ use_integral | string | 非必须 | 使用积分 | ||
| ├─ back_integral | null | 非必须 | 退回积分 | ||
| ├─ mark | string | 非必须 | 备注 | ||
| ├─ is_del | number | 非必须 | 用户是否删除或者取消订单 | ||
| ├─ unique | string | 非必须 | 唯一值 | ||
| ├─ remark | null | 非必须 | 备注 | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ is_mer_check | number | 非必须 | 0 | ||
| ├─ combination_id | number | 非必须 | 拼团商品ID | ||
| ├─ pink_id | number | 非必须 | 拼团ID | ||
| ├─ cost | string | 非必须 | 成本价 | ||
| ├─ seckill_id | number | 非必须 | 秒杀ID | ||
| ├─ bargain_id | number | 非必须 | 砍价ID | ||
| ├─ verify_code | string | 非必须 | 核销码 | ||
| ├─ store_id | number | 非必须 | 核销店铺ID | ||
| ├─ 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 | 非必须 | false | ||
| ├─ mapKey | string | 非必须 | 地图key | ||
| ├─ yue_pay_status | number | 非必须 | 余额支付开关 | ||
| ├─ pay_weixin_open | number | 非必须 | 微信支付开关 | ||
| ├─ ali_pay_status | boolean | 非必须 | 支付宝开关 | ||
| ├─ cartInfo | 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 | 非必须 | 状态 | ||
| ├─ 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 | 非必须 | VIP价格 | ||
| ├─ 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 | 非必须 | VIP价格 | ||
| ├─ postage_price | number | 非必须 | 邮费金额 | ||
| ├─ member_price | number | 非必须 | 会员金额 | ||
| ├─ split | object | 非必须 | 拆单列表 | ||
| ├─ virtual_type | 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 | 非必须 | 优惠券ID | ||
| ├─ cid | number | 非必须 | 0 | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ 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 | 非必须 | 商品ID | ||
| ├─ category_id | number | 非必须 | 分类ID | ||
| ├─ 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 | 非必须 | 商品ID | ||
| ├─ suk | string | 非必须 | 规格 | ||
| ├─ price | string | 非必须 | 金额 | ||
| ├─ image | string | 非必须 | 主图 | ||
| ├─ product_id | number | 非必须 | 商品ID | ||
| ├─ combination_id | number | 非必须 | 拼团ID | ||
| ├─ seckill_id | number | 非必须 | 秒杀ID | ||
| ├─ bargain_id | number | 非必须 | 砍价ID | ||
| ├─ order_id | string | 非必须 | 订单ID |
Path: /api/v2/order/product_coupon/:orderId
Method: GET
接口描述:
路径参数
| 参数名称 | 示例 | 备注 |
|---|---|---|
| orderId |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ cid | number | 必须 | 优惠券ID | ||
| ├─ uid | number | 必须 | 用户ID | ||
| ├─ 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 | 非必须 | 用户ID | ||
| ├─ 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 | 非必须 | 等级 | ||
| ├─ agent_level | number | 非必须 | 分销等级 | ||
| ├─ spread_open | number | 非必须 | 是否开启分销权限 | ||
| ├─ spread_uid | number | 非必须 | 上级ID | ||
| ├─ 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 | 非必须 | 付费会员是否开启 | ||
| ├─ agent_level_name | string | 非必须 | 分销等级 | ||
| ├─ 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 | 非必须 | 完成数量 | ||
| ├─ refunding_count | string | 非必须 | 申请退款中数量 | ||
| ├─ refunded_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 | object [] | 非必须 | 切换用户 | item 类型: 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 | 非必须 | |||
| ├─ agent_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 | 非必须 | |||
| ├─ broken_day | number | 非必须 | 冻结天数 | ||
| ├─ balance_func_status | number | 非必须 | |||
| ├─ invioce_func | boolean | 非必须 | |||
| ├─ special_invoice | boolean | 非必须 | |||
| ├─ collectCount | number | 非必须 | |||
| ├─ spread_status | boolean | 非必须 | |||
| ├─ pay_vip_status | 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/user/member/coupons/list
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ id | number | 必须 | 优惠券ID | ||
| ├─ cid | number | 必须 | 0 | ||
| ├─ uid | number | 必须 | 用户ID | ||
| ├─ 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 | 必须 | 商品ID | ||
| ├─ category_id | number | 必须 | 分类ID | ||
| ├─ receive_type | number | 必须 | 领取类型 | ||
| ├─ start_use_time | number | 必须 | 开始使用时间 | ||
| ├─ end_use_time | number | 必须 | 结束使用时间 | ||
| ├─ coupon_type | string | 必须 | 优惠券类型 | ||
| ├─ _type | number | 必须 | 使用类型 | ||
| ├─ _msg | string | 必须 | 备注 | ||
| ├─ _add_time | string | 必须 | 开始时间 | ||
| ├─ _end_time | string | 必须 | 结束时间 |
Path: /api/user/member/card/index
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ member_rights | object [] | 非必须 | 会员权益 | item 类型: object | |
| ├─ id | number | 必须 | ID | ||
| ├─ right_type | string | 必须 | 权益类型 | ||
| ├─ title | string | 必须 | 名称 | ||
| ├─ show_title | string | 必须 | 显示名称 | ||
| ├─ image | string | 必须 | 图片 | ||
| ├─ explain | string | 必须 | 说明 | ||
| ├─ number | number | 必须 | 规则数字 | ||
| ├─ sort | number | 必须 | 排序 | ||
| ├─ status | number | 必须 | 状态 | ||
| ├─ add_time | number | 必须 | 添加时间 | ||
| ├─ pic | string | 必须 | 图片 | ||
| ├─ right | string | 必须 | 说明 | ||
| ├─ is_get_free | object | 非必须 | |||
| ├─ price | number | 非必须 | 金额 | ||
| ├─ pre_price | number | 非必须 | 原价 | ||
| ├─ title | string | 非必须 | 名称 | ||
| ├─ type | string | 非必须 | 类型 | ||
| ├─ vip_day | number | 非必须 | 天数 | ||
| ├─ is_record | number | 非必须 | |||
| ├─ user_info | 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 | 非必须 | |||
| ├─ agent_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 | 非必须 | |||
| ├─ register_days | number | 非必须 | |||
| ├─ economize_money | string | 非必须 | |||
| ├─ shop_name | string | 非必须 | |||
| ├─ member_explain | object | 非必须 | 会员协议 | ||
| ├─ id | number | 非必须 | 编号 | ||
| ├─ type | number | 非必须 | 类型 | ||
| ├─ title | string | 非必须 | 名称 | ||
| ├─ content | string | 非必须 | 内容 | ||
| ├─ sort | number | 非必须 | 排序 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ add_time | number | 非必须 | 添加时间 | ||
| ├─ member_type | object [] | 非必须 | 会员卡 | item 类型: object | |
| ├─ title | string | 必须 | 名称 | ||
| ├─ type | string | 必须 | 类型 | ||
| ├─ vip_day | number | 必须 | 时间 | ||
| ├─ pre_price | string | 必须 | 原价支付价格 | ||
| ├─ price | string | 必须 | |||
| ├─ member_coupons | string [] | 非必须 | 会员优惠券 | item 类型: string | |
| ├─ | 非必须 |
Path: /api/user/member/card/draw
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 |
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| member_card_code | text | 是 | CR0003120091592118 | 卡号 |
| member_card_pwd | text | 是 | 82000 | 卡密 |
| from | text | 是 | weixin | 来源 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 |
Path: /api/order/offline/create
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 |
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| pay_type | text | 是 | weixin | 微信:weixin,余额:yue,线下:offile |
| type | text | 是 | 3 | 0:免费领取会员 ,1:购买会员 ,2:卡密领取会员 ,3:线下付款 |
| from | text | 是 | weixin | 微信:weixin ,h5:h5,小程序: routine |
| price | text | 是 | 520 | 价格 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ status | string | 非必须 | |||
| ├─ result | object | 非必须 | |||
| ├─ orderId | string | 非必须 | 订单ID |
Path: /api/order/offline/pay/type
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ offline_pay_status | string | 非必须 |
Path: /api/user/member/overdue/time
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| member_type | 是 | 会员类型 | |
| vip_day | 是 | 有效时长 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ data | string | 非必须 |
Path: /api/order/offline/check/price
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 |
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| pay_price | text | 是 | 520 | 线下支付金额 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ pay_price | number | 非必须 |
Path: /api/user/member/card/create
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| pay_type | 是 | yue | 微信:weixin,余额:yue,线下:offile |
| type | 是 | 1 | 0:免费领取会员 ,1:购买会员 ,2:卡密领取会员 ,3:线下付款 |
| from | 是 | weixin | 微信:weixin ,h5:h5,小程序: routine |
| member_type | 是 | free | 免费:free,月卡:month,季卡:quarter,年卡:year,ever:永久(购买会员卡必填,线下付款无需) |
| price | 是 | 12.3 | 价格 |
| quitUrl | 是 | 支付宝连接 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ status | string | 非必须 | |||
| ├─ result | object | 非必须 | |||
| ├─ orderId | string | 非必须 |
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 | 非必须 | 订单ID | ||
| ├─ order_id | string | 非必须 | 订单编号 | ||
| ├─ trade_no | string | 非必须 | 支付编号 | ||
| ├─ uid | number | 非必须 | 用户ID | ||
| ├─ real_name | string | 非必须 | 姓名 | ||
| ├─ user_phone | string | 非必须 | 电话 | ||
| ├─ user_address | string | 非必须 | 地址 | ||
| ├─ cart_id | string [] | 非必须 | 购物车ID | 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 | 非必须 | 优惠券ID | ||
| ├─ coupon_price | string | 非必须 | 优惠券金额 | ||
| ├─ paid | number | 非必须 | 是否支付 | ||
| ├─ pay_time | number | 非必须 | 支付时间 | ||
| ├─ pay_type | string | 非必须 | 支付类型 | ||
| ├─ add_time | number | 非必须 | 创建订单时间 | ||
| ├─ status | number | 非必须 | 状态 | ||
| ├─ refund_status | number | 非必须 | 退款状态 | ||
| ├─ refund_type | number | 非必须 | 退款类型 | ||
| ├─ refund_express | string | 非必须 | 退款订单号 | ||
| ├─ 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 | 非必须 | 送货人ID | ||
| ├─ gain_integral | string | 非必须 | 赠送积分 | ||
| ├─ use_integral | string | 非必须 | 使用积分 | ||
| ├─ back_integral | null | 非必须 | 退回积分 | ||
| ├─ spread_uid | number | 非必须 | 上级uid | ||
| ├─ one_brokerage | string | 非必须 | 一级返佣 | ||
| ├─ two_brokerage | string | 非必须 | 二级返佣 | ||
| ├─ mark | string | 非必须 | 备注 | ||
| ├─ is_del | number | 非必须 | 是否删除 | ||
| ├─ unique | string | 非必须 | 唯一值 | ||
| ├─ remark | null | 非必须 | 备注 | ||
| ├─ mer_id | number | 非必须 | 0 | ||
| ├─ is_mer_check | number | 非必须 | 0 | ||
| ├─ combination_id | number | 非必须 | 拼团商品ID | ||
| ├─ pink_id | number | 非必须 | 拼团ID | ||
| ├─ cost | string | 非必须 | 成本价 | ||
| ├─ seckill_id | number | 非必须 | 秒杀ID | ||
| ├─ bargain_id | number | 非必须 | 砍价ID | ||
| ├─ verify_code | string | 非必须 | 核销码 | ||
| ├─ store_id | number | 非必须 | 店铺ID | ||
| ├─ 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 | string | 非必须 | |||
| ├─ type | string | 非必须 | |||
| ├─ seckill_id | number | 非必须 | |||
| ├─ bargain_id | number | 非必须 | |||
| ├─ combination_id | number | 非必须 | |||
| ├─ product_id | number | 非必须 | |||
| ├─ product_attr_unique | string | 非必须 | |||
| ├─ cart_num | number | 非必须 | |||
| ├─ productInfo | object | 非必须 | |||
| ├─ id | number | 非必须 | |||
| ├─ image | string | 非必须 | |||
| ├─ cate_id | string | 非必须 | |||
| ├─ price | string | 非必须 | |||
| ├─ ot_price | string | 非必须 | |||
| ├─ vip_price | string | 非必须 | |||
| ├─ postage | string | 非必须 | |||
| ├─ give_integral | string | 非必须 | |||
| ├─ sales | number | 非必须 | |||
| ├─ stock | number | 非必须 | |||
| ├─ store_name | string | 非必须 | |||
| ├─ unit_name | string | 非必须 | |||
| ├─ is_show | number | 非必须 | |||
| ├─ is_del | number | 非必须 | |||
| ├─ is_postage | number | 非必须 | |||
| ├─ cost | string | 非必须 | |||
| ├─ is_sub | number | 非必须 | |||
| ├─ temp_id | number | 非必须 | |||
| ├─ is_vip | number | 非必须 | |||
| ├─ 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 | 非必须 | |||
| ├─ truePrice | string | 非必须 | |||
| ├─ vip_truePrice | number | 非必须 | |||
| ├─ trueStock | number | 非必须 | |||
| ├─ costPrice | string | 非必须 | |||
| ├─ unique | string | 非必须 | |||
| ├─ is_reply | number | 非必须 | |||
| ├─ vip_sum_truePrice | string | 非必须 | |||
| ├─ _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/user/message_system/list
Method: GET
接口描述:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ count | number | 非必须 |
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 | 非必须 |