CRMEB系统是基于ThinkPhp6.0+uniapp 开发的一套CRMEB新零售商城系统。上手简单,便于二开,源码下载直通车:
源码地址
基础接口
获取个人中心菜单
基本信息
Path: /api/menu/user
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ routine_my_menus | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ url | string | 必须 | |||
├─ routine_my_banner | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ routine_spread_banner | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
图片上传
基本信息
Path: /api/upload/image
Method: POST
接口描述:
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
filename | string | 必须 | 文件名称 | ||
dir | string | 非必须 | 文件路径 默认(store/comment) |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ url | string | 非必须 |
获取登录授权logo
基本信息
Path: /api/wechat/get_logo
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 请求状态 | ||
msg | string | 非必须 | 提示语 | ||
data | object | 非必须 | 返回数据 | ||
├─ logo_url | string | 非必须 | 授权logo |
获取网站基础配置
基本信息
Path: /api/site_config
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
data | object | 非必须 | |||
├─ record_No | string | 非必须 | 备案信息 |
获取配置是否强制绑定手机号
基本信息
Path: /api/v2/bind_status
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | boolean | 非必须 |
门店自提开启状态
基本信息
Path: /api/v2/diy/get_store_status
Method: GET
接口描述:
请求参数
公众号支付回调
基本信息
Path: /api/wechat/notify
Method: GET
接口描述:
请求参数
小程序支付回调
基本信息
Path: /api/routine/notify
Method: GET
接口描述:
请求参数
支付回调
基本信息
Path: /api/pay/notify/:type
Method: GET
接口描述:
请求参数
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | alipay wechat tourine | 类型 |
图片验证码
基本信息
Path: /api/sms_captcha
Method: GET
接口描述:
请求参数
获取发短信的code
基本信息
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 | 非必须 |
获取图片base64
基本信息
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 | 非必须 | 路径 |
优惠券列表_copy(已废弃)
基本信息
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 | 非必须 |
首页
获取首页diy
基本信息
Path: /api/diy/get_diy/:id
Method: GET
接口描述:
请求参数
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | diy id |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | object | 非必须 | |||
├─ 1609729689049000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ boxStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ txtStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ hotWords | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ logoConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049001 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049002 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ swiperConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ maxList | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 非必须 | |||
├─ info | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ tips | string | 非必须 | |||
├─ max | number | 必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ itemEdge | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ docConfig | object | 非必须 | |||
├─ cname | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ imgConfig | object | 非必须 | |||
├─ cname | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049003 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ txtStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ style | string | 必须 | |||
├─ listConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ chiild | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ val | string | 必须 | |||
├─ max | number | 必须 | |||
├─ pla | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ logoConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049004 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049005 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ menuConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ maxList | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ tips | string | 必须 | |||
├─ max | number | 必须 | |||
├─ rowStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ titleColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049006 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ titleConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ desConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ menuConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ maxList | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ tips | string | 必须 | |||
├─ max | number | 必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ boxColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049007 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ countDownColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ numberConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ imgConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049009 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ titleColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 必须 | |||
├─ productGap | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbCongfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049010 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ lineColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ lineStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ style | string | 必须 | |||
├─ icon | string | 非必须 | |||
├─ heightConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrEdge | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049011 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ imgConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049012 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ heightConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049013 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ chiild | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ val | string | 必须 | |||
├─ max | number | 必须 | |||
├─ pla | string | 必须 | |||
├─ link | object | 必须 | |||
├─ title | string | 非必须 | |||
├─ activeVal | number | 非必须 | |||
├─ optiops | object [] | 非必须 | item 类型: object | ||
├─ type | number | 必须 | |||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ imgStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049014 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ lineColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ lineStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ style | string | 必须 | |||
├─ icon | string | 非必须 | |||
├─ heightConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrEdge | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049015 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ logoConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ topConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ id | string | 非必须 | |||
├─ 1609729689049016 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | number | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ selectConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ activeValue | string | 非必须 | |||
├─ goodsSort | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ themeColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ itemStyle | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ lrConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ goodsList | object | 非必须 | |||
├─ max | number | 非必须 | |||
├─ ids | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ id | string | 非必须 | |||
├─ 1610076940804000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ activeTxtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ menuList | object [] | 非必须 | item 类型: object | ||
├─ imgList | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ name | string | 必须 | |||
├─ link | string | 必须 | |||
├─ id | string | 非必须 |
首页DIY数据_新
基本信息
Path: /api/v2/diy/get_diy/:name
Method: GET
接口描述:
请求参数
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
name | moren | 模版名称 |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ a_headerSerch | object | 非必须 | |||
├─ imgUrl | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ hotList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ b_swiperBg | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ imgList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ maxlength | number | 必须 | |||
├─ tips | string | 必须 | |||
├─ c_menus | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ imgList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ max | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ img | string | 必须 | |||
├─ info | object [] | 必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string | 必须 | |||
├─ maxlength | number | 必须 | |||
├─ tips | string | 必须 | |||
├─ d_goodList | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ tabConfig | object | 非必须 | |||
├─ tabVal | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ tabList | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ selectConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ activeValue | string | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ goodsSort | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ goodsList | object | 非必须 | |||
├─ max | number | 非必须 | |||
├─ ids | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ z_tabBar | object | 非必须 | |||
├─ isShow | object | 非必须 | |||
├─ val | boolean | 非必须 | |||
├─ tabBarList | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ imgList | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ link | string | 必须 | |||
├─ pagePath | string | 非必须 |
首页数据
基本信息
Path: /api/index
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ banner | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ menus | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ roll | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ info | object | 非必须 | |||
├─ fastInfo | string | 非必须 | |||
├─ bastInfo | string | 非必须 | |||
├─ firstInfo | string | 非必须 | |||
├─ salesInfo | string | 非必须 | |||
├─ fastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ firstList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bastBanner | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ img | string | 非必须 | |||
├─ comment | string | 非必须 | |||
├─ link | string | 非必须 | |||
├─ activity | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ lovely | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ img | string | 非必须 | |||
├─ comment | string | 非必须 | |||
├─ link | string | 非必须 | |||
├─ benefit | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ likeInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ store_info | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ stock | number | 必须 | |||
├─ vip_price | number,string | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ star | object [] | 必须 | item 类型: object | ||
├─ product_score | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ checkCoupon | boolean | 必须 | |||
├─ logoUrl | string | 非必须 | |||
├─ site_name | string | 非必须 | |||
├─ subscribe | boolean | 非必须 | |||
├─ newGoodsBananr | string | 非必须 | |||
├─ tengxun_map_key | string | 非必须 | |||
├─ explosive_money | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 |
首页数据_v2
基本信息
Path: /api/v2/index
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ fastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bastList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ firstList | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ benefit | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ likeInfo | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ store_info | string | 必须 | |||
├─ cate_id | string | 必须 | |||
├─ price | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ sales | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ activity | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ stock | number | 必须 | |||
├─ vip_price | string,number | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ star | object [] | 必须 | item 类型: object | ||
├─ product_score | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ checkCoupon | boolean | 必须 | |||
├─ subscribe | boolean | 非必须 | |||
├─ tengxun_map_key | string | 非必须 | |||
├─ site_name | string | 非必须 |
获取底部导航
基本信息
Path: /api/navigation/:template_name
Method: GET
接口描述:
请求参数
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
template_name | 非必填 |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ txtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ activeTxtColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ menuList | object [] | 非必须 | item 类型: object | ||
├─ imgList | string [] | 必须 |