Path: /adminapi/login/info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ slide | string [] | 非必须 | 轮播 | item 类型: string | |
├─ | 非必须 | ||||
├─ logo_square | string | 非必须 | 方形logo | ||
├─ logo_rectangle | string | 非必须 | 长logo | ||
├─ login_logo | string | 非必须 | 登录logo |
Path: /adminapi/captcha_pro
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/login
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | admin | 用户名 |
pwd | text | 是 | 123456 | 密码 |
imgcode | text | 否 | abcd | 图片验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | 登录token | ||
├─ expires_time | number | 非必须 | 到期时间 | ||
├─ menus | object [] | 非必须 | 左侧菜单 | item 类型: object | |
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ auth | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ children | object [] | 必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ auth | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ children | object [] | 必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ auth | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ unique_auth | string [] | 非必须 | 权限 | item 类型: string | |
├─ | 非必须 | ||||
├─ user_info | object | 非必须 | 管理员信息 | ||
├─ id | number | 非必须 | 管理员ID | ||
├─ account | string | 非必须 | 帐号 | ||
├─ head_pic | string | 非必须 | 头像 | ||
├─ logo | string | 非必须 | logo | ||
├─ logo_square | string | 非必须 | 正方形logo | ||
├─ version | string | 非必须 | 版本号 | ||
├─ newOrderAudioLink | string | 非必须 |
Path: /adminapi/setting/admin/logout
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/download
Method: GET
接口描述:
Path: /adminapi/logo
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ logo | string | 非必须 | |||
├─ logo_square | string | 非必须 |
Path: /adminapi/menusList
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | 编号 | ||
├─ pid | number | 必须 | 上级ID | ||
├─ menu_name | string | 必须 | 菜单名称 | ||
├─ menu_path | string | 必须 | 菜单地址 | ||
├─ unique_auth | string | 必须 | 前端权限 | ||
├─ sort | number | 必须 | 排序 | ||
├─ type | number | 必须 | 类型 | ||
├─ html | string | 必须 | 标签 |
Path: /adminapi/jnotice
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ icon | string | 必须 | 图标 | ||
├─ iconColor | string | 必须 | 颜色 | ||
├─ title | string | 必须 | 标题 | ||
├─ url | string | 必须 | 链接 | ||
├─ type | string | 必须 | 类型 | ||
├─ read | number | 必须 | 是否已读 | ||
├─ time | number | 必须 | 时间 |
Path: /adminapi/home/header
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object [] | 非必须 | item 类型: object | ||
├─ today | number | 必须 | 今日 | ||
├─ yesterday | number | 必须 | 昨日 | ||
├─ today_ratio | number,string | 必须 | 日环比 | ||
├─ week | number | 必须 | 本周 | ||
├─ last_week | number | 必须 | 上周 | ||
├─ week_ratio | number,string | 必须 | 周环比 | ||
├─ total | string | 必须 | 总计 | ||
├─ date | string | 必须 | 显示文字 | ||
├─ title | string | 必须 | 标题 | ||
├─ total_name | string | 必须 | 总名称 |
Path: /adminapi/home/order
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
cycle | 否 | thirtyday | 周期 thirtyday-30天 week-周 month-月 year-年 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ yAxis | object | 非必须 | |||
├─ maxnum | number | 非必须 | |||
├─ maxprice | string | 非必须 | |||
├─ legend | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ xAxis | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ type | string | 必须 | |||
├─ itemStyle | object | 必须 | |||
├─ normal | object | 非必须 | |||
├─ color | object | 非必须 | |||
├─ x | number | 非必须 | |||
├─ y | number | 非必须 | |||
├─ x2 | number | 非必须 | |||
├─ y2 | number | 非必须 | |||
├─ colorStops | object [] | 非必须 | item 类型: object | ||
├─ offset | number | 必须 | |||
├─ color | string | 必须 | |||
├─ data | number [] | 必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ yAxisIndex | number | 必须 | |||
├─ pre_cycle | object | 非必须 | |||
├─ count | object | 非必须 | |||
├─ data | number | 非必须 | |||
├─ price | object | 非必须 | |||
├─ data | number | 非必须 | |||
├─ cycle | object | 非必须 | |||
├─ count | object | 非必须 | |||
├─ data | number | 非必须 | |||
├─ percent | number | 非必须 | |||
├─ is_plus | number | 非必须 | |||
├─ price | object | 非必须 | |||
├─ data | string | 非必须 | |||
├─ percent | number | 非必须 | |||
├─ is_plus | number | 非必须 |
Path: /adminapi/home/user
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ legend | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ yAxis | object | 非必须 | |||
├─ maxnum | number | 非必须 | |||
├─ xAxis | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ bing_xdata | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ bing_data | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ value | number | 必须 | |||
├─ itemStyle | object | 必须 | |||
├─ color | string | 非必须 |
Path: /adminapi/home/rank
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 必须 | |||
├─ store_name | string,null | 必须 | |||
├─ val | string | 必须 |
Path: /adminapi/menus
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
is_show | 否 | 1 | 是否显示 |
keyword | 否 | 财务 | 搜索关键词 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ menus | object [] | 非必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ auth | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ children | object [] | 必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ auth | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ children | object [] | 非必须 | item 类型: object | ||
├─ path | string | 必须 | |||
├─ title | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ auth | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ unique_auth | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/product/cache
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
msg | string | 非必须 | |||
status | number | 非必须 |
Path: /adminapi/product/product/type_header
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ type | number | 必须 | |||
├─ name | string | 必须 | |||
├─ count | number | 必须 |
Path: /adminapi/product/product
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
cate_id | 否 | 分类id 默认传0 | |
type | 否 | 1 | type值 1-6 数字 |
store_name | 否 | 搜索词 | |
sales | 否 | asc | 销量排序asc desc 默认:normal |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: 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 | string | 必须 | |||
├─ 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 | 必须 | |||
├─ collect | number | 必须 | |||
├─ likes | number | 必须 | |||
├─ visitor | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ stock_attr | boolean | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/export/storeProduct
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 页数 |
limit | 是 | 20 | 每页条数 |
cate_id | 是 | 分类id | |
type | 是 | type值 1-6 数字 | |
store_name | 是 | 商铺名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | 导出文件地址 |
Path: /adminapi/product/product/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 商品id 新增时为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cate_id | text | 是 | 分类ID 数组 | |
store_name | text | 是 | 商品名称 | |
store_info | text | 否 | 商品简介 | |
keyword | text | 否 | 关键字 | |
unit_name | text | 否 | 单位 | |
bar_code | text | 否 | 产品码 | |
image | text | 否 | 主产品 | |
slider_image | text | 是 | 多图 数组 | |
postage | text | 否 | 邮费 | |
ot_price | text | 是 | 市场价 | |
price | text | 是 | 价格 | |
sort | text | 否 | 排序 | |
stock | text | 是 | 库存 | |
sales | text | 否 | 销量 | |
ficti | text | 否 | 虚拟销量 | |
give_integral | text | 否 | 获得积分 | |
is_show | text | 是 | 是否上架 | |
cost | text | 是 | 成本价 | |
is_hot | text | 是 | 是否热卖 | |
is_benefit | text | 是 | 是否优惠 | |
is_best | text | 是 | 是否精品 | |
is_new | text | 是 | 是否新品 | |
mer_use | text | 是 | 商户是否代理 | |
is_postage | text | 是 | 是否包邮 | |
is_good | text | 是 | 是否优品推荐 | |
spec_type | text | 是 | 规格类型 | |
items | text | 是 | 属性值 | |
attrs | text | 是 | 规则 | |
coupon_ids | text | 是 | [] | 关联优惠券id |
label_id | text | 是 | [] | 关联标签id |
command_word | text | 是 | 商品复制口令 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/get_rule
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ rule_name | string | 必须 | 属性模板名称 | ||
├─ rule_value | object [] | 必须 | 属性模板值 | item 类型: object | |
├─ value | string | 必须 | 属性名称 | ||
├─ detail | string [] | 必须 | 属性值 | item 类型: string | |
├─ | 非必须 |
Path: /adminapi/product/product/get_template
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 |
Path: /adminapi/product/product/get_temp_keys
Method: GET
接口描述:
Path: /adminapi/product/product/check_activity/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 商品ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/product/copy
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
url | text | 是 | https://item.jd.com/100009722461.html?extension_id=eyJhZCI6IjE3NTUiLCJjaCI6IjIiLCJza3UiOiIxMDAwMDk3MjI0NjEiLCJ0cyI6IjE2MDk5MDEwNzkiLCJ1bmlxaWQiOiJ7XCJjbGlja19pZFwiOlwiNWNjYTNmMTAtNWI5YS00ODAzLTk5MjYtMjZiMjMxYzZiZGNlXCIsXCJtYXRlcmlhbF9pZFwiOlwiMzA5NjI2Nzg1NVwiLFwicG9zX2lkXCI6XCIxNzU1XCIsXCJzaWRcIjpcImZkOWY0ODA2LWNhYmYtNDhjMC1iZGU3LTVkNTIwOTc3ODg2ZFwifSJ9&jd_pop=5cca3f10-5b9a-4803-9926-26b231c6bdce&abt=0 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ cate_id | string | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ store_info | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ keyword | string | 非必须 | |||
├─ ficti | number | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ give_integral | number | 非必须 | |||
├─ postage | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ slider_image | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ video_link | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ description | string | 非必须 | |||
├─ description_images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ soure_link | string | 非必须 | |||
├─ temp_id | string | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ attrs | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ info | object | 非必须 | |||
├─ attr | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 必须 | |||
├─ value2 | string | 必须 | |||
├─ detail | object | 必须 | |||
├─ 尺寸 | string | 非必须 | |||
├─ 版本 | string | 非必须 | |||
├─ pic | string | 必须 | |||
├─ price | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ bar_code | string | 必须 | |||
├─ weight | number | 必须 | |||
├─ volume | number | 必须 | |||
├─ brokerage | number | 必须 | |||
├─ brokerage_two | number | 必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ key | string | 必须 | |||
├─ slot | string | 必须 |
Path: /adminapi/product/copy_config
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ copy_type | string | 非必须 | |||
├─ copy_num | number | 非必须 |
Path: /adminapi/product/crawl/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cate_id | text | 是 | 分类id | |
store_name | text | 是 | 产品名称 | |
store_info | text | 是 | 产品简介 | |
keyword | text | 是 | 产品关键字 | |
unit_name | text | 是 | 单位 | |
image | text | 是 | 产品主图 | |
slider_image | text | 是 | 产品轮播图 | |
price | text | 是 | 售价 | |
ot_price | text | 是 | 市场价 | |
give_integral | text | 是 | 赠送积分 | |
postage | text | 是 | 邮费 | |
ficti | text | 是 | 虚拟销量 | |
stock | text | 是 | 库存 | |
cost | text | 是 | 成本价 | |
description_images | text | 是 | [] | 详情图片 |
description | text | 是 | 详情内容 | |
is_show | text | 是 | 状态 0-下架 1-上架 | |
soure_link | text | 是 | 原链接 | |
temp_id | text | 是 | 运费模版 | |
spec_type | text | 是 | 0 | 单、多规格 |
items | text | 是 | [] | 规格 |
attrs | text | 是 | [] | 规格详情 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/product_unshow
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
ids | 是 | [] | 选择商品ids |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
all | text | 否 | 0 | 0:单页1:所有加入队列 |
where | text | 否 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /adminapi/product/cache
Method: GET
接口描述:
Path: /adminapi/product/cache
Method: POST
接口描述:
Path: /adminapi/product/category/cascader_list/:type
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
authori-zation | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 1 | 非必填 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ pid | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ pid | number | 必须 |
Path: /adminapi/product/product/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
cate_id | 否 | ||
store_name | 否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ mer_id | number | 非必须 | 商户Id | ||
├─ image | string | 非必须 | 产品图片 | ||
├─ slider_image | string [] | 非必须 | 轮播图 | item 类型: string | |
├─ | 非必须 | ||||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ store_info | string | 非必须 | 商品简介 | ||
├─ keyword | string | 非必须 | 关键词 | ||
├─ cate_id | string [] | 非必须 | 分类 | item 类型: 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 | 非必须 | 是否新品 | ||
├─ description | string | 非必须 | 产品描述 | ||
├─ add_time | number | 非必须 | 添加时间 | ||
├─ is_postage | number | 非必须 | 是否包邮 | ||
├─ is_del | number | 非必须 | 是否删除 | ||
├─ mer_use | number | 非必须 | 商户是否代理 | ||
├─ give_integral | string | 非必须 | 获得积分 | ||
├─ cost | string | 非必须 | 成本价 | ||
├─ is_seckill | number | 非必须 | 秒杀状态 | ||
├─ is_bargain | number | 非必须 | 砍价状态 | ||
├─ ficti | number | 非必须 | 虚拟销量 | ||
├─ browse | number | 非必须 | 浏览量 | ||
├─ code_path | string | 非必须 | 浏览量 | ||
├─ soure_link | null | 非必须 | 淘宝京东1688类型 | ||
├─ bar_code | string | 非必须 | 产品条码 | ||
├─ is_good | number | 非必须 | 虚拟销量 | ||
├─ cate_name | string | 非必须 | 分类名称 | ||
├─ attrs | object [] | 必须 | item 类型: object | ||
├─ product_id | string | 必须 | 商品ID | ||
├─ suk | string | 必须 | 规格名称 | ||
├─ stock | string | 必须 | 库存 | ||
├─ sales | string | 必须 | 销量 | ||
├─ price | string | 必须 | 价格 | ||
├─ image | string | 必须 | 图片 | ||
├─ unique | string | 必须 | 唯一值 | ||
├─ cost | string | 必须 | 成本价 | ||
├─ bar_code | string | 必须 | 规格编码 | ||
├─ ot_price | string | 必须 | 原价 | ||
├─ weight | string | 必须 | 重量 | ||
├─ volume | string | 必须 | 体积 | ||
├─ brokerage | string | 必须 | 一级返佣 | ||
├─ brokerage_two | string | 必须 | 二级返佣 | ||
├─ type | string | 必须 | 类型 | ||
├─ quota | string | 必须 | 限量 | ||
├─ quota_show | string | 必须 | 限量显示 |
Path: /adminapi/product/product/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 商品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ tempList | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ cateList | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ disabled | 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 [] | 非必须 | item 类型: 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 | number | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ is_seckill | number | 非必须 | |||
├─ is_bargain | null | 非必须 | |||
├─ is_good | number | 非必须 | |||
├─ is_sub | number [] | 非必须 | item 类型: 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 [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ spu | string | 非必须 | |||
├─ label_id | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ command_word | string | 非必须 | |||
├─ coupons | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ description | string | 非必须 | |||
├─ items | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ attrs | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ attr | object | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ vip_price | number | 非必须 | |||
├─ price | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ ot_price | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ brokerage | number | 非必须 | |||
├─ brokerage_two | number | 非必须 |
Path: /adminapi/product/product/set_show/:id/:is_show
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商品id | |
is_show | 1上架 0 下架 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商品id参数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/set_product/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 商品id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
field | text | 是 | 字段 ficti-虚拟销量 stock-库存 sort-排序 | |
value | text | 是 | 字段值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/product_show
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ids | text | 是 | [] | 选中的商品id |
all | text | 否 | 0 | 0:单页1:所有加入队列 |
where | text | 否 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/generate_attr/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 0 | 商品id 新增时为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
attrs | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ attr | string [] | 非必须 | 属性值 | item 类型: string | |
├─ | 非必须 | ||||
├─ value | string [] | 非必须 | 属性表单 | item 类型: string | |
├─ | 非必须 | ||||
├─ header | string [] | 非必须 | 属性表头 | item 类型: string | |
├─ | 非必须 |
Path: /adminapi/product/crawl
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
link | text | 是 | 商品链接 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ cate_id | string | 非必须 | 分类id | ||
├─ store_name | string | 非必须 | 产品名称 | ||
├─ store_info | string | 非必须 | 产品简介 | ||
├─ unit_name | string | 非必须 | 单位 | ||
├─ price | string | 非必须 | 产品售价 | ||
├─ keyword | string | 非必须 | 产品关键字 | ||
├─ ficti | string | 非必须 | 虚拟销量 | ||
├─ ot_price | string | 非必须 | 产品市场价 | ||
├─ give_integral | string | 非必须 | 赠送积分 | ||
├─ postage | string | 非必须 | 邮费 | ||
├─ cost | string | 非必须 | 产品成本价 | ||
├─ image | string | 非必须 | 产品主图片 | ||
├─ slider_image | string [] | 非必须 | 产品轮播图 | item 类型: string | |
├─ | 非必须 | ||||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ stock | string | 非必须 | 库存 | ||
├─ description | string | 非必须 | 详情内容 | ||
├─ soure_link | string | 非必须 | 原始链接 | ||
├─ description_images | string [] | 非必须 | 详情图片 | item 类型: string | |
├─ | 非必须 |
Path: /adminapi/goods/get_goods_field/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/product/attr/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /adminapi/product/category
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
is_show | 否 | 1 | 是否显示 1-显示 0-不显示 |
pid | 否 | 0 | 父级id |
cate_name | 否 | 产品名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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 | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ pic | string | 必须 | |||
├─ is_show | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ big_pic | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/product/category/tree/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 1 | 0-仅顶级分类 1-所有分类 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | string | 非必须 | |||
├─ cate_name | string | 非必须 | 分类名称 | ||
├─ html | string | 非必须 |
Path: /adminapi/product/category/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/product/category
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cate_name | text | 是 | 分类名称 | |
pid | text | 是 | 分类id | |
sort | text | 否 | 排序 | |
pic | text | 否 | 图片 | |
is_show | text | 否 | 1 | 是否显示 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/category/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/product/category/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 父级id | |
cate_name | text | 是 | 分类名称 | |
pic | text | 是 | [] | 图标 |
sort | text | 是 | 排序 | |
is_show | text | 是 | 1 | 状态 1-开启 2-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/category/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/category/set_show/:id/:is_show
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
is_show | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/category/set_category/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
field | text | 是 | cate_name | 编辑的字段 |
value | text | 是 | 字段的值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/rule/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 规则id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
rule_name | text | 是 | 规则名称 | |
spec | text | 是 | [{value: "123", detail: ["12", "123", "1234"]}, {value: "234", detail: ["23", "234", "345"]}] | 规则值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/rule
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 15 | |
rule_name | 否 | 规则名称搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ rule_name | string | 非必须 | |||
├─ rule_value | string | 非必须 | |||
├─ attr_name | string | 非必须 | |||
├─ attr_value | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ count | number | 非必须 |
Path: /adminapi/product/product/rule/delete
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ids | text | 是 | 1,2,3 | 规则id id拼接的字符串 |
all | text | 否 | 0 | 0:单页1:所有加入队列执行 |
where | text | 否 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/product/rule/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 规则id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ rule_name | string | 非必须 | |||
├─ rule_value | string | 非必须 | |||
├─ spec | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/product/reply
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
account | 否 | 评论用户名 | |
is_reply | 否 | 是否回复 | |
store_name | 否 | 产品名称 | |
data | 否 | 时间选择 | |
product_id | 否 | 指定商品评论 (默认)0-表示所有商品评论 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | 产品id | ||
├─ account | string | 非必须 | 用户名名称 | ||
├─ image | string | 非必须 | 商品图片 | ||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ comment | string | 非必须 | 评论内容 | ||
├─ pics | string | 非必须 | 评论图片 | ||
├─ add_time | number | 非必须 | 添加时间 | ||
├─ merchant_reply_content | null | 非必须 | 回复内容 | ||
├─ score | string | 非必须 | 评分 | ||
├─ create_time | string | 非必须 | 添加时间转换后 | ||
├─ time | string | 非必须 | 表示时间间隔 | mock: 3分钟前 |
Path: /adminapi/product/reply/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 评论id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/reply/set_reply/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 回复id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
content | text | 是 | 回复内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/product/reply/fictitious_reply/:product_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
product_id | 0 | 默认为0在选择商品 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ srcKey | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ allowHalf | boolean | 非必须 | |||
├─ closeBtn | boolean | 非必须 | |||
├─ okBtn | boolean | 非必须 | |||
├─ editable | boolean | 非必须 | |||
├─ col | object | 非必须 | |||
├─ span | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/product/reply/save_fictitious_reply
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | 商品ID | |
nickname | text | 是 | 用户昵称 | |
avatar | text | 是 | 用户头像 | |
comment | text | 是 | 评论内容 | |
pics | text | 是 | 评论图片,数组 | |
product_score | text | 是 | 商品分数 | |
service_score | text | 是 | 服务分数 | |
add_time | text | 否 | 2020-12-30 | 评论时间:为空默认当前时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | 状态 | ||
msg | string | 非必须 | 内容 |
Path: /adminapi/order/dels
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
ids | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ids | text | 是 | [1,2,3,4,5,6,7] | 订单id合集 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/chart
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 否 | 时间 | |
type | 是 | 1:普通订单2:拼团3:秒杀4:砍价 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ all | string | 非必须 | |||
├─ general | string | 非必须 | |||
├─ pink | string | 非必须 | |||
├─ seckill | string | 非必须 | |||
├─ bargain | string | 非必须 | |||
├─ statusAll | string | 非必须 | |||
├─ unpaid | string | 非必须 | |||
├─ unshipped | string | 非必须 | |||
├─ untake | string | 非必须 | |||
├─ write_off | string | 非必须 | |||
├─ write_offed | string | 非必须 | |||
├─ unevaluate | string | 非必须 | |||
├─ complete | string | 非必须 | |||
├─ refunding | string | 非必须 | |||
├─ refund | string | 非必须 | |||
├─ del | string | 非必须 |
Path: /adminapi/order/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 否 | '' 和 8 =全部,0=未支付,1=已支付,2待收货,3=待评价,4=交易完成,5=待核销,-1=退款中,-2=已退款,-3=包含-1和-2,-4=已删除 | 订单状态 |
real_name | 否 | wx157119520452732527 | 订单号或者用户名或者用户uid或者电话 |
is_del | 否 | 1 或 0 | 是否是删除的订单 |
data | 否 | today,week,month,year,yesterday,quarter,lately7,lately30,自定义 | 时间查询 |
pay_type | 否 | 1=微信支付,2=余额支付,3=线下支付 | 支付类型 |
order | 否 | a.id-desc,a.id-asc,a.order_id-desc,a.add_time-desc | 排序 |
page | 是 | 1 | 页码 |
limit | 是 | 10 | 展示条数 |
type | 是 | '' = 全部,1=普通订单,2=拼团订单,3=秒杀订单,4=砍价订单 | 订单类型 |
field_key | 是 | uid order_id real_name user_phone title | 精准查询字段 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ order_id | string | 必须 | |||
├─ trade_no | string | 必须 | |||
├─ uid | number | 必须 | |||
├─ real_name | string | 必须 | |||
├─ user_phone | string | 必须 | |||
├─ user_address | string | 必须 | |||
├─ cart_id | 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 | string | 必须 | |||
├─ 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 | null,string | 必须 | |||
├─ delivery_code | string | 必须 | |||
├─ delivery_type | null,string | 必须 | |||
├─ delivery_id | null,string | 必须 | |||
├─ fictitious_content | string | 必须 | |||
├─ delivery_uid | number | 必须 | |||
├─ gain_integral | string | 必须 | |||
├─ use_integral | string | 必须 | |||
├─ back_integral | null | 必须 | |||
├─ mark | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ remark | null,string | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ is_mer_check | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ pink_id | number | 必须 | |||
├─ cost | string | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ verify_code | string | 必须 | |||
├─ store_id | number | 必须 | |||
├─ shipping_type | number | 必须 | |||
├─ clerk_id | number | 必须 | |||
├─ is_channel | number | 必须 | |||
├─ is_remind | number | 必须 | |||
├─ is_system_del | number | 必须 | |||
├─ channel_type | string | 必须 | |||
├─ province | string | 必须 | |||
├─ express_dump | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ spread_uid | number | 必须 | |||
├─ spread_nickname | null,string | 必须 | |||
├─ pinkStatus | null,number | 必须 | |||
├─ invoice | object,null | 必须 | |||
├─ _info | object | 必须 | |||
├─ 447 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ 448 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ 457 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ 460 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ 43978081192552824832 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ coupon_price | string | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 176573819436850610176 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 43972728374732128256 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | 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 | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 43972296462607712256 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 43972294301400301568 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | 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 | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 122472286021982617600 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | 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 | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 43971277975030464512 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | 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 | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 43965497109977104384 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ _pay_time | string | 必须 | |||
├─ pink_name | string | 必须 | |||
├─ color | string | 必须 | |||
├─ pay_type_name | string | 必须 | |||
├─ status_name | object | 必须 | |||
├─ status_name | string | 非必须 | |||
├─ pics | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ _status | number | 必须 | |||
├─ clerk_name | string | 必须 | |||
├─ count | number | 非必须 | |||
├─ stat | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ field | string | 必须 | |||
├─ count | number,string,null | 必须 | |||
├─ className | string | 必须 | |||
├─ col | number | 必须 |
Path: /adminapi/export/storeOrder
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 否 | ||
real_name | 否 | ||
data | 否 | today | 时间选择 |
type | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
staus | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/order/edit/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单号id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ min | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/update/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单号id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
order_id | text | 是 | 订单号 | |
total_price | text | 是 | 总价 | |
total_postage | text | 是 | 原始邮费 | |
pay_price | text | 是 | 支付金额 | |
pay_postage | text | 是 | 支付邮费 | |
gain_integral | text | 是 | 赠送积分 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 状态 400 =错误,200 = 正确 | ||
msg | string | 非必须 | 提醒字段 |
Path: /adminapi/order/refund/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ precision | number | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/hand/batch_delivery
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
file | 是 | 对照文件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/other/batch_delivery
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
where | text | 是 | 条件 | |
all | text | 是 | 0 | 1 |
ids | text | 是 | 订单ids | |
express_record_type | text | 是 | 1 | |
type | text | 是 | 1 | |
delivery_name | text | 是 | 快递公司名称 | |
delivery_id | text | 是 | 快递单号 | |
delivery_code | text | 是 | 快递公司编码 | |
express_temp_id | text | 是 | 电子面单模板 | |
to_name | text | 是 | 寄件人姓名 | |
to_tel | text | 是 | 寄件人电话 | |
to_addr | text | 是 | 寄件人地址 | |
sh_delivery_name | text | 是 | 送货人姓名 | |
sh_delivery_id | text | 是 | 送货人电话 | |
sh_delivery_uid | text | 是 | 送货人ID | |
fictitious_content | text | 是 | 虚拟发货内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/refund/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
refund_price | text | 是 | 1 | 退款金额 |
type | text | 是 | 1 | 1=立即退款,2=退款,返回原状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200=正确 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/order/express/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 2 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ delivery_name | string | 非必须 | 快递名称 | ||
├─ delivery_id | string | 非必须 | 快递单号 | ||
├─ result | object [] | 非必须 | item 类型: object | ||
├─ time | string | 必须 | 时间 | ||
├─ status | string | 必须 | 状态 |
Path: /adminapi/order/info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ orderInfo | object | 非必须 | 订单详情 | ||
├─ id | number | 非必须 | 订单id | ||
├─ order_id | string | 非必须 | 订单号 | ||
├─ uid | number | 非必须 | 用户uid | ||
├─ 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 | 非必须 | 订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款) | ||
├─ refund_status | number | 非必须 | 0 未退款 1 申请中 2 已退款 | ||
├─ 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 | string | 非必须 | 快递名称/送货人姓名 | ||
├─ delivery_type | string | 非必须 | 发货类型 | ||
├─ delivery_id | string | 非必须 | 快递单号/手机号 | ||
├─ gain_integral | string | 非必须 | 消费赚取积分 | ||
├─ use_integral | string | 非必须 | 使用积分 | ||
├─ back_integral | null | 非必须 | 给用户退了多少积分 | ||
├─ mark | string | 非必须 | 备注 | ||
├─ is_del | number | 非必须 | 是否删除 | ||
├─ unique | string | 非必须 | 唯一id(md5加密)类似id | ||
├─ remark | null | 非必须 | 管理员备注 | ||
├─ mer_id | number | 非必须 | 商户ID | ||
├─ is_mer_check | number | 非必须 | 是否审核 | ||
├─ combination_id | number | 非必须 | 拼团产品id | ||
├─ pink_id | number | 非必须 | 拼团订单号 | ||
├─ cost | string | 非必须 | 成本价 | ||
├─ seckill_id | number | 非必须 | 秒杀 | ||
├─ bargain_id | number | 非必须 | 砍价 | ||
├─ verify_code | string | 非必须 | 核销码 | ||
├─ store_id | number | 非必须 | 门店id | ||
├─ shipping_type | number | 非必须 | 配送方式 1=快递 ,2=门店自提 | ||
├─ is_channel | number | 非必须 | 支付渠道(0微信公众号1微信小程序) | ||
├─ is_remind | number | 非必须 | 新订单提醒 | ||
├─ is_system_del | number | 非必须 | 管理员是否删除 | ||
├─ _status | object | 非必须 | |||
├─ _type | string | 非必须 | 订单状态 | ||
├─ _payType | string | 非必须 | 余额支付 | ||
├─ _deliveryType | string | 非必须 | 配送方式 | ||
├─ _pay_time | string | 非必须 | 格式化后的支付时间 | ||
├─ _add_time | string | 必须 | 格式化后的添加时间 | ||
├─ userInfo | object | 非必须 | 订单用户详情 | ||
├─ uid | number | 非必须 | 用户uid | ||
├─ account | string | 非必须 | 用户名 | ||
├─ real_name | string | 非必须 | 真实姓名 | ||
├─ birthday | number | 非必须 | 生日 | ||
├─ card_id | string | 非必须 | 身份证号码 | ||
├─ mark | string | 非必须 | 用户备注 | ||
├─ partner_id | number | 非必须 | 合伙人id | ||
├─ group_id | number | 非必须 | 用户分组id | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ avatar | string | 非必须 | 用户头像 | ||
├─ phone | null | 非必须 | 手机号码 | ||
├─ add_time | number | 非必须 | 添加时间 | ||
├─ last_time | number | 非必须 | 最后一次登录时间 | ||
├─ now_money | string | 非必须 | 用户余额 | ||
├─ brokerage_price | string | 非必须 | 佣金金额 | ||
├─ integral | string | 非必须 | 用户剩余积分 | ||
├─ sign_num | number | 非必须 | 连续签到天数 | ||
├─ status | number | 非必须 | 1为正常,0为禁止 | ||
├─ level | number | 非必须 | 等级 | ||
├─ spread_uid | number | 非必须 | 推广元id | ||
├─ spread_time | number | 非必须 | 推广员关联时间 | ||
├─ user_type | string | 非必须 | 用户类型 | ||
├─ is_promoter | number | 非必须 | 是否为推广员 | ||
├─ pay_count | number | 非必须 | 用户购买次数 | ||
├─ spread_count | number | 非必须 | 下级人数 | ||
├─ clean_time | number | 非必须 | 清理会员时间 | ||
├─ addres | string | 非必须 | 详细地址 | ||
├─ adminid | number | 非必须 | 管理员编号 | ||
├─ spread_name | string | 非必须 | 推广员昵称 |
Path: /adminapi/order/distribution/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/distribution/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
delivery_name | text | 是 | 快递名称 | |
delivery_id | text | 是 | 快递单号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/no_refund/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/no_refund/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
refund_reason | text | 是 | 不退款原因 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200 = 正确 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/order/write
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
code | text | 是 | 核销码 | |
confirm | text | 否 | 是否确认核销 0 = 验证确认,1=核销订单 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | number | 非必须 | 订单状态 | ||
├─ uid | number | 非必须 | 用户uid | ||
├─ order_id | string | 非必须 | 订单号 | ||
├─ nickname | string | 非必须 | 用户昵称 |
Path: /adminapi/order/write_update/:order_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id | wx0999999 | 订单号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/pay_offline/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200 =只正确 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/order/refund_integral/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ min | number | 非必须 | |||
├─ precision | number | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/refund_integral/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
back_integral | text | 是 | 可退积分 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=正确 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/order/remark/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remark | text | 是 | 备注 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=正确 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/order/status/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 页码 |
limit | 是 | 10 | 展示条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ oid | number | 非必须 | |||
├─ change_type | string | 非必须 | |||
├─ change_message | string | 非必须 | |||
├─ change_time | string | 非必须 |
Path: /adminapi/order/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=成功 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/order/print/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/delivery/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ avatar | string | 必须 | |||
├─ wx_name | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/adminapi/order/express/temp
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
com | 是 | zhaijisong | 快递公司编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ code | string | 必须 | |||
├─ pic | string | 必须 | |||
├─ temp_id | string | 必须 |
Path: /adminapi/order/delivery/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 1=发货,2=送货,3=虚拟发货 | 类型 |
delivery_name | text | 是 | 快递公司 | |
delivery_id | text | 是 | 单号 | |
delivery_code | text | 是 | 快递公司编码 | |
sh_delivery_id | text | 否 | 送货人电话 | |
sh_delivery_name | text | 否 | 送货人姓名 | |
sh_delivery_uid | text | 是 | 送货人uid | |
express_record_type | text | 是 | 2 | 发货记录类型 |
express_temp_id | text | 是 | 电子面单模版 | |
to_name | text | 是 | 寄件人姓名 | |
to_tel | text | 是 | 寄件人电话 | |
to_addr | text | 是 | 寄件人地址 | |
fictitious_content | text | 是 | 虚拟发货备注 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/express_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ value | string | 必须 | |||
├─ code | string | 必须 |
Path: /adminapi/order/take/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 订单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 200 = 成功,400 = 错误 | ||
msg | string | 非必须 | 备注 |
Path: /adminapi/order/sheet_info
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ express_temp_id | string | 非必须 | |||
├─ id | string | 非必须 | |||
├─ to_name | string | 非必须 | |||
├─ to_tel | string | 非必须 | |||
├─ to_add | string | 非必须 | |||
├─ export_open | boolean | 非必须 |
Path: /adminapi/order/order_dump/:order_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
order_id | wx0999999 | 订单号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/scan_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
order_id | 否 | 订单号 | |
name | 否 | 用户名 | |
add_time | 否 | 创建时间 | |
page | 否 | 1 | 页数 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ type | number | 必须 | |||
├─ order_id | string | 必须 | |||
├─ member_type | string | 必须 | |||
├─ code | string | 必须 | |||
├─ pay_type | string | 必须 | |||
├─ paid | number | 必须 | |||
├─ pay_price | string | 必须 | |||
├─ member_price | string | 必须 | |||
├─ pay_time | string | 必须 | |||
├─ trade_no | string | 必须 | |||
├─ channel_type | string | 必须 | |||
├─ is_free | number | 必须 | |||
├─ is_permanent | number | 必须 | |||
├─ overdue_time | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ vip_day | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ money | string | 必须 | |||
├─ phone | string,null | 必须 | |||
├─ nickname | string,null | 必须 | |||
├─ true_price | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/order/offline_scan
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 否 | 是否生成画布 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
string | 非必须 | ||||
├─ routine | string | 非必须 |
Path: /adminapi/refund/list?page=1&limit=15&order_id=&time=&refund_type=0
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
order_id | 是 | 订单id | |
time | 是 | 时间选择 | |
refund_type | 是 | 退款状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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 | 必须 | |||
├─ pay_type | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ 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 | null,string | 必须 | |||
├─ refund_price | string | 必须 | |||
├─ delivery_name | null,string | 必须 | |||
├─ delivery_code | string | 必须 | |||
├─ delivery_type | null,string | 必须 | |||
├─ delivery_id | null,string | 必须 | |||
├─ fictitious_content | string | 必须 | |||
├─ delivery_uid | number | 必须 | |||
├─ gain_integral | string | 必须 | |||
├─ use_integral | string | 必须 | |||
├─ back_integral | null | 必须 | |||
├─ spread_uid | number | 必须 | |||
├─ one_brokerage | string | 必须 | |||
├─ two_brokerage | string | 必须 | |||
├─ mark | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ remark | null | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ is_mer_check | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ pink_id | number | 必须 | |||
├─ cost | string | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ verify_code | string | 必须 | |||
├─ store_id | number | 必须 | |||
├─ shipping_type | number | 必须 | |||
├─ clerk_id | number | 必须 | |||
├─ is_channel | number | 必须 | |||
├─ is_remind | number | 必须 | |||
├─ is_system_del | number | 必须 | |||
├─ channel_type | string | 必须 | |||
├─ province | string | 必须 | |||
├─ express_dump | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ spread_nickname | null,string | 必须 | |||
├─ _info | object | 必须 | |||
├─ 79136781854014439424 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 79136782009711198208 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 79136780265862201344 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 7136542965014200320 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 115136536042781016064 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 115136535153085251584 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 1136129035737497600 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 115136524359647887360 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 115136523931757576192 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 7136505345638924288 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 115136523637241937920 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 115136522412270288896 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 7136521379842359296 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 7136509747154124800 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ 7136507866461765632 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ price | string | 非必须 | |||
├─ postage | string | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ volume | 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 | 非必须 | |||
├─ truePrice | string | 非必须 | |||
├─ vip_truePrice | number | 非必须 | |||
├─ trueStock | number | 非必须 | |||
├─ costPrice | string | 非必须 | |||
├─ use_integral | number | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ coupon_price | number | 非必须 | |||
├─ one_brokerage | string | 非必须 | |||
├─ two_brokerage | string | 非必须 | |||
├─ _refund_time | string | 必须 | |||
├─ _pay_time | string | 必须 | |||
├─ pink_name | string | 必须 | |||
├─ color | string | 必须 | |||
├─ pay_type_name | string | 必须 | |||
├─ status_name | object | 必须 | |||
├─ status_name | string | 非必须 | |||
├─ pics | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ _status | number | 必须 | |||
├─ clerk_name | string | 必须 | |||
├─ count | number | 非必须 | |||
├─ num | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ num | number | 必须 |
Path: /adminapi/app/wechat/push
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 58 | 要发送的图文id |
user_ids | text | 是 | 1,2,3 | 接受消息的用户id 拼接的字符串 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user/type_header
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ user_type | string | 必须 | 会员类型 | ||
├─ name | string | 必须 | 会员名称 | ||
├─ count | number | 必须 | 数量 |
Path: /adminapi/user/user
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
nickname | 否 | jack | 用户昵称 |
status | 否 | 1为正常,0为禁止 | 用户状态 |
pay_count | 否 | -1:0 0:1+ 1:2+ 2:3+ 3:4+ 4:5+ | 消费情况 |
is_promoter | 否 | 0-普通会员 1-推广员 | 是否为推广员 |
order | 否 | a.id-desc,a.id-asc,a.order_id-desc,a.add_time-desc | 排序 |
data | 是 | today | 时间 |
user_type | 否 | wechat-微信公众号 routine-微信小程序 h5-H5 | 用户类型 |
country | 否 | domestic:中国 abroad:外国 | 国家 |
province | 否 | 陕西省 | 省份 |
city | 否 | 西安市 | 城市 |
user_time_type | 否 | visitno-时间段未访问 visit-时间段访问过 add_time-首次访问 | 访问情况 |
user_time | 否 | 2019-11-06 - 2019-12-10 | 访问时间段 |
sex | 否 | 1-男 2-女 0-保密 | 性别 |
level | 是 | 1 | 等级 |
group_id | 是 | 1 | 分组id |
label_id | 是 | 1 | 标签id |
now_money | 是 | asc desc normal | 余额排序 |
field_key | 是 | uid nickname user_type phone | 准确搜索字段 |
isMember | 是 | 1 | 是否付费会员 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 必须 | |||
├─ real_name | string | 必须 | |||
├─ birthday | string | 必须 | |||
├─ card_id | string | 必须 | |||
├─ mark | string | 必须 | |||
├─ partner_id | number | 必须 | |||
├─ group_id | string | 必须 | |||
├─ 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 | string | 必须 | |||
├─ level | string | 必须 | |||
├─ 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 | 必须 | |||
├─ country | string | 必须 | |||
├─ province | string | 必须 | |||
├─ city | string | 必须 | |||
├─ sex | string | 必须 | |||
├─ unionid | string,null | 必须 | |||
├─ openid | string | 必须 | |||
├─ w_user_type | string | 必须 | |||
├─ groupid | number | 必须 | |||
├─ tagid_list | null,string | 必须 | |||
├─ subscribe | number | 必须 | |||
├─ subscribe_time | null,number | 必须 | |||
├─ extract_count_price | number | 必须 | |||
├─ spread_uid_nickname | string | 必须 | |||
├─ vip_name | boolean | 必须 | |||
├─ labels | string | 必须 | |||
├─ isMember | number | 必须 |
Path: /adminapi /user/set_group
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
uids | text | 是 | [1,2] | 用户ID |
all | text | 是 | 0 | 1 |
where | text | 是 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/save_set_group
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
group_id | 是 | 1 | 会员分组ID |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
group_id | text | 是 | 分组id | |
uids | text | 是 | uids | |
all | text | 是 | 0 | 1 |
where | text | 是 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 必须 | |||
msg | string | 必须 |
Path: /adminapi/user/set_label
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
uids | text | 是 | [1,2] | 用户ID |
all | text | 是 | 0 | 1 |
where | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/save_set_label
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
uids | text | 是 | 1,2 | 用户ID |
label_id | text | 是 | 1,2 | 标签ID |
all | text | 是 | 0 | 1 |
where | text | 是 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/user/user/syncUsers
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ editable | boolean | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ info | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/user/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
is_promoter | text | 是 | 推广员权限是否开启 | |
real_name | text | 是 | 姓名 | |
card_id | text | 是 | 身份证号 | |
birthday | text | 是 | 生日 | |
mark | text | 是 | 备注 | |
status | text | 是 | 状态 | |
level | text | 是 | 等级 | |
phone | text | 是 | 手机号 | |
addres | text | 是 | 地址 | |
label_id | text | 是 | 标签id | |
group_id | text | 是 | 分组id | |
pwd | text | 是 | 密码 | |
true_pwd | text | 是 | 确认密码 | |
spread_open | text | 是 | 是否禁用推广员 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ editable | boolean | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ info | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/set_status/:status/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
status | 1 | 要修改的状态 0-禁用 1-解禁 |
id | 1 | 会员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=正确 | ||
msg | string | 非必须 |
Path: /adminapi/user/user/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
money_status | text | 是 | 余额改变类型 | |
is_promoter | text | 是 | 推广员权限 | |
real_name | text | 是 | 姓名 | |
card_id | text | 是 | 身份证 | |
birthday | text | 是 | 生日 | |
mark | text | 是 | 备注 | |
money | text | 是 | 余额变动数 | |
integration_status | text | 是 | 积分改变类型 | |
integration | text | 是 | 积分变动数 | |
status | text | 是 | 状态 | |
level | text | 是 | 等级 | |
phone | text | 是 | 手机号 | |
addess | text | 是 | 地址 | |
label_id | text | 是 | 标签 | |
group_id | text | 是 | 分组 | |
pwd | text | 是 | 密码 | |
true_pwd | text | 是 | 确认密码 | |
spread_open | text | 是 | 禁用推广员 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/one_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | spread:推广下线; order:订单列表; integral:积分列表; sign:签到明细; coupon:持有优惠劵; balance_change:余额变动记录 | 类别 |
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ count | number | 非必须 |
Path: /adminapi/user/user/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 97 | uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ userinfo | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ headerList | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ key | string | 必须 | |||
├─ count | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ ps_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 | 非必须 | |||
├─ 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 | 非必须 |
Path: /adminapi/user/edit_other/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ placeholder | string | 非必须 | |||
├─ min | number | 非必须 | |||
├─ precision | number | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/update_other/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
money_status | text | 是 | ||
money | text | 是 | ||
integration_status | text | 是 | ||
integration | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/give_level_time/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/save_give_level_time/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
days | text | 是 | 天数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/give_level/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ col | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
title | string | 非必须 | |||
action | string | 非必须 | |||
method | string | 非必须 |
Path: /adminapi/user/save_give_level/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
level_id | text | 是 | 1 | 会员等级id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/del_level/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/spread_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 10 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=正确 | ||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 非必须 | 用户id | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ avatar | string | 非必须 | 用户头像地址 | ||
├─ add_time | string | 非必须 | 创建时间 |
Path: /adminapi/user/order_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 会员id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 10 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ order_id | string | 非必须 | 订单号 | ||
├─ real_name | string | 非必须 | 用户真实姓名 | ||
├─ total_num | number | 非必须 | 订单商品总数 | ||
├─ total_price | number | 非必须 | 订单总价 | ||
├─ pay_price | number | 非必须 | 实际支付金额 | ||
├─ pay_time | string | 非必须 | 支付时间 | ||
├─ paid | number | 非必须 | 支付状态 | ||
├─ pay_type | string | 非必须 | 支付方式 | ||
├─ pink_id | number | 非必须 | 拼团id 0没有拼团 | ||
├─ seckill_id | number | 非必须 | 秒杀产品ID | ||
├─ bargain_id | string | 非必须 | 砍价id |
Path: /adminapi/user/integral_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 用户id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 10 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
mag | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ title | string | 非必须 | 账单标题 | ||
├─ number | number | 非必须 | 明细数字 | ||
├─ balance | number | 非必须 | 剩余 | ||
├─ mark | string | 非必须 | 备注 | ||
├─ add_time | string | 非必须 | 添加时间 |
Path: /adminapi/user/sign_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 用户id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 10 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ title | string | 非必须 | 签到说明 | ||
├─ number | number | 非必须 | 获得积分 | ||
├─ mark | string | 非必须 | 备注 | ||
├─ add_time | string | 非必须 | 添加时间 |
Path: /adminapi/user/coupon_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 用户id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ _add_time | string | 非必须 | 优惠券创建时间 | ||
├─ _end_time | string | 非必须 | 优惠券结束时间 | ||
├─ use_min_price | number | 非必须 | 最低消费多少金额可用优惠券 | ||
├─ coupon_price | number | 非必须 | 优惠券的面值 | ||
├─ _type | string | 非必须 | 0-普通 1-超过一年 2-未超过一年 | ||
├─ _msg | string | 非必须 | 状态 (已失效 可使用 已使用 已过期) |
Path: /adminapi/user/balance_change_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 用户id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ title | string | 非必须 | 账单标题 | ||
├─ type | string | 非必须 | 明细类型 | ||
├─ mark | string | 非必须 | 备注 | ||
├─ number | number | 非必须 | 明细数字 | ||
├─ balance | number | 非必须 | 剩余 | ||
├─ pm | string | 非必须 | 类型:支出 获得 | ||
├─ status | string | 非必须 | 状态:待确定 有效 无效 |
Path: /adminapi/user/user_group/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | |
limit | 是 | 15 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 必须 | |||
├─ list | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ group_name | string | 必须 |
Path: /adminapi/user/user_group/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分组ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_group/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 是 | 新增时为0,修改时为当前ID | |
group_name | 是 | 分组名称 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 1 | 分组ID 新增为0 |
group_name | text | 是 | 测试分组 | 分组名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_group/add/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分组ID 新增为0 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/user_label
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 页数 |
limit | 是 | 15 | 条数 |
label_cate | 否 | 1 | 标签分类 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ label_cate | number | 必须 | |||
├─ label_name | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/user/user_label/add/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 添加为0 ,修改为标签ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 非必须 | |||
├─ label | string | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/user_label/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 1 | 添加为0 修改为标签ID |
label_name | text | 是 | 标签 | 标签名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_label/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 标签ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_label_cate
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 分页 | |
limit | 否 | 截取条数 | |
name | 否 | 分类名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ count | number | 非必须 |
Path: /adminapi/user/user_label_cate/all
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ pid | number | 非必须 | |||
├─ owner_id | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ other | string | 非必须 | |||
├─ add_time | number | 非必须 |
Path: /adminapi/user/user_label_cate/create
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/user_label_cate
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 111 | 分类名称 |
sort | text | 是 | 0 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_label_cate/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user_label_cate/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分类名称 | |
sort | text | 是 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_label_cate/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/label/:uid
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid | 用户uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | 分类名 | ||
├─ label | object [] | 必须 | 标签列表 | item 类型: object | |
├─ id | number | 必须 | 标签id | ||
├─ label_cate | number | 必须 | |||
├─ label_name | string | 必须 | 标签名 | ||
├─ disabled | boolean | 必须 | 是否已经拥有标签 |
Path: /adminapi/user/label/:uid
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
label_ids | text | 是 | 选中用户标签id | |
un_label_ids | text | 是 | 取消用户标签id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
msg | string | 非必须 | |||
status | number | 非必须 |
Path: /adminapi/user/user_level/vip_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 10 | 每页条数 |
title | 否 | 青铜会员 | 等级名称 |
is_show | 否 | 0-否 1-是 | 是否显示 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ 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 | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/user/user_level/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 否 | 1 | 等级id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ min | number | 非必须 | |||
├─ precision | number | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/user/user_level
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 否 | 0 | 修改的等级id 添加时为0 |
name | text | 是 | 黄金会员 | 会员名称 |
is_forever | text | 是 | 0-否 1-是 | 是否为永久会员 |
money | text | 是 | 10.00 | 购买金额 |
is_pay | text | 是 | 1-购买 0-不购买 | 是否购买 |
valid_date | text | 是 | 10 | 有效时间(天) |
grade | text | 是 | 2 | 等级 |
discount | text | 是 | 98.00 | 折扣 |
icon | text | 否 | http://datong.crmeb.net/public/uploads/attach/2019/03/28/5c9ccca8bc1e0.png | 会员图标 |
image | text | 否 | http://datong.crmeb.net/public/uploads/attach/2019/03/28/5c9ccca8cd632.jpg | 会员卡背景 |
is_show | text | 否 | 1 | 是否显示 1-*显示 0-隐藏 |
explain | text | 否 | 测试等级 | 说明 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/user_level/delete/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 等级id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 状态 400 =错误,200 = 正确 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/user/user_level/set_show/:id/:is_show
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 等级id |
is_show | 1 | 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=成功 | ||
msg | string | 非必须 |
Path: /adminapi/user/user_level/set_value/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 等级id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
field | text | 是 | name | name-会员名称 grade-等级 discount-折扣 |
value | text | 是 | 钻石会员 | field对应的值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=成功 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/user/user_level/task/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 2 | 等级id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 页码 |
limit | 是 | 10 | 每页条数 |
name | 否 | 累计签到20天 | 任务名称 |
is_show | 否 | 1 | 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | integer | 非必须 | 任务id | ||
├─ name | string | 非必须 | 任务名称 | ||
├─ real_name | string | 非必须 | 配置原名 | ||
├─ task_type | string | 非必须 | 任务类型 | ||
├─ number | string | 非必须 | 限定数 | ||
├─ level_id | integer | 非必须 | 等级id | ||
├─ sort | integer | 非必须 | 排序 | ||
├─ is_show | integer | 非必须 | 是否显示 | ||
├─ is_must | integer | 非必须 | 是否务必达成任务,1务必达成,0=满足其一 | ||
├─ illustrate | string | 非必须 | 任务说明 | ||
├─ add_time | string | 非必须 | 新增时间 | ||
├─ level_name | string | 非必须 | 等级名称 |
Path: /adminapi/user/user_level/set_task/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 任务id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
field | text | 是 | sort | 排序 |
value | text | 是 | 4 | field对应的值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=成功 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/user/user_level/set_task_show/:id/:is_show
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 任务id |
is_show | 1 | 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400=错误,200=成功 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/user/user_level/set_task_must/:id/:is_must
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 任务id |
is_must | 1 | 是否务必达成 1=务必达成,0=满足其一 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 状态 400 =错误,200 = 正确 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/user/user_level/create_task
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 否 | 1 | 任务id |
level_id | 否 | 1 | 等级id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ lable | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ col | object | 非必须 | |||
├─ span | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/user/user_level/save_task
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 否 | 1 | 任务id 修改时必需 |
level_id | text | 是 | 1 | 等级id |
task_type | text | 是 | SatisfactionIntegral | 任务类型 |
number | text | 是 | 200 | 限定数 |
is_show | text | 是 | 1 | 1-显示 0-隐藏 |
sort | text | 是 | 5 | 排序 |
is_must | text | 是 | 1 | 是否务必达成任务,1务必达成,0=满足其一 |
illustrate | text | 是 | 初级任务 | 任务说明 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200 = 正确 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/user/user_level/read/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | integer | 非必须 | 等级id | ||
├─ mer_id | integer | 非必须 | 商户id | ||
├─ name | string | 非必须 | 等级名称 | ||
├─ money | number | 非必须 | 购买金额 | ||
├─ valid_date | integer | 非必须 | 有效时间 | ||
├─ is_forever | integer | 非必须 | 是否为永久会员 1-是 0-否 | ||
├─ is_pay | integer | 非必须 | 是否购买,1=购买,0=不购买 | ||
├─ is_show | integer | 非必须 | 是否显示 1=显示,0=隐藏 | ||
├─ grade | integer | 非必须 | 会员等级 | ||
├─ discount | number | 非必须 | 享受折扣 | ||
├─ image | string | 非必须 | 会员卡背景 | ||
├─ icon | string | 非必须 | 会员图标 | ||
├─ explain | string | 非必须 | 说明 | ||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ is_del | integer | 非必须 | 是否删除.1=删除,0=未删除 |
Path: /adminapi/user/user_level/delete_task/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 任务id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/member_ship/save/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pre_price | 是 | 优惠价 | |
price | 是 | 原价 | |
vip_day | 是 | 有限期(天) | |
type | 是 | month free quarter year ever 会员卡类型 | |
sort | 是 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/member/ship
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ type | string | 必须 | |||
├─ title | string | 必须 | |||
├─ vip_day | number | 必须 | |||
├─ price | string | 必须 | |||
├─ pre_price | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/user/member_ship/set_ship_status
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 是 | 会员类型id | |
is_del | 是 | 是否删除 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/member/right
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ right_type | string | 必须 | |||
├─ title | string | 必须 | |||
├─ show_title | string | 必须 | |||
├─ image | string | 必须 | |||
├─ explain | string | 必须 | |||
├─ number | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/user/member_right/save/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
title | 是 | 名称 | |
show_title | 是 | 展示名称 | |
image | 是 | 图标 | |
right_type | 是 | 权益类型 | |
explain | 是 | 简介 | |
number | 是 | 倍数 | |
sort | 是 | 排序 | |
status | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/member/agreement
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ content | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | number | 非必须 |
Path: /adminapi/user/member_agreement/save/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
title | 是 | 标题 | |
content | 是 | 内容 | |
status | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/adminapi/user/member_batch/index
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
title | 否 | 第一批次 | 批次卡名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | |||
├─ list | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | 名称 | ||
├─ total_num | number | 必须 | 卡数量 | ||
├─ use_start_time | string | 必须 | |||
├─ use_end_time | string | 必须 | |||
├─ use_day | number | 必须 | 体验天数 | ||
├─ use_num | number | 必须 | 已经领取张数 | ||
├─ status | number | 必须 | 状态 | ||
├─ sort | number | 必须 | |||
├─ qrcode | string | 必须 | 二维码 | ||
├─ remark | string | 必须 | 备注 | ||
├─ add_time | string | 必须 | |||
├─ count | number | 必须 |
Path: /adminapi/adminapi/member_batch/save/0
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
title | 是 | 第一批次卡 | 批次名称 |
use_day | 是 | 体验天数 | 10 |
total_num | 是 | 100 | 生成卡数量 |
remark | 否 | 这是生成的第一批卡 | 备注 |
status | 否 | 批次状态 | 0:禁用,1:启用 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/adminapi/export/memberCard/45
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | string [] | 必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/adminapi/member_batch/set_value/34
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
field | 是 | title | 修改key |
value | 是 | 把第一次变为第二次 | 修改值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 |
Path: /adminapi/adminapi/user/member_card/index/:card_batch_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
card_batch_id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页数 |
limit | 否 | 20 | 条数 |
card_number | 否 | 卡号 | |
phone | 否 | 领卡人手机号 | |
is_use | 否 | 1 | 是否领取 0:未领取,1:已领取 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ card_batch_id | number | 必须 | |||
├─ card_number | string | 必须 | |||
├─ card_password | string | 必须 | |||
├─ use_uid | number | 必须 | |||
├─ use_time | number | 必须 | |||
├─ status | number | 必须 | |||
├─ username | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/user/member_card/set_status
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
card_id | 是 | 会员卡id | |
status | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/member_batch/set_value/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
field | 是 | 字段 | |
value | 是 | 值 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/user/member_scan
Method: GET
接口描述:
Path: /adminapi/user/member/record
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
phone | 否 | 用户电话 | |
member_type | 否 | 会员卡类型 |
Path: /adminapi/setting/config/edit_basics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
tab_id | 是 | 1 | 配置分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 必须 | |||
├─ info | string | 必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ props | object | 必须 | |||
├─ control | object [] | 非必须 | item 类型: object | ||
├─ value | number | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,number | 必须 | |||
├─ title | string | 必须 | |||
├─ info | string | 必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ rows | number | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ control | object [] | 非必须 | item 类型: object | ||
├─ value | number | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ col | object | 非必须 | |||
├─ span | number | 非必须 | |||
├─ props | object | 非必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/config/save_basics
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/agent/statistics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 否 | 时间选择 | |
nickname | 否 | 用户昵称/id/手机号码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ res | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ count | number | 必须 | |||
├─ className | string | 必须 | |||
├─ col | number | 必须 |
Path: /adminapi/agent/index
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
nickname | 否 | 用户昵称/用户id/手机号码 | |
data | 否 | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | 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 | 必须 | |||
├─ 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 | 必须 | |||
├─ headimgurl | string | 必须 | |||
├─ extract_count_price | number | 必须 | |||
├─ extract_count_num | number | 必须 | |||
├─ spread_name | string | 必须 | |||
├─ order_price | number | 必须 | |||
├─ order_count | number | 必须 | |||
├─ broken_commission | string | 必须 | |||
├─ brokerage_money | number | 必须 | |||
├─ new_money | string | 必须 |
Path: /adminapi/export/userAgent
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
nickname | 否 | 用户昵称/用户id/手机号码 | |
data | 否 | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/agent/stair
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
uid | 否 | 用户id | |
data | 否 | 时间选择 | |
nickname | 否 | 用户昵称/用户id/手机号码 | |
type | 否 | 用户类型 1-一级推广人 2-二级推广人 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | 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 | string | 必须 | |||
├─ 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 | 必须 | |||
├─ order | object [] | 必须 | item 类型: object | ||
├─ order_price | string | 必须 | |||
├─ order_count | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ spreadCount | object [] | 必须 | item 类型: object | ||
├─ spread_count | number | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ spreadUser | object | 必须 | |||
├─ uid | number | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ order_count | number | 必须 | |||
├─ promoter_name | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/agent/stair/statistics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
uid | 否 | 用户id | |
data | 否 | 时间选择 | |
nickname | 否 | 用户昵称 | |
type | 否 | 用户类型 1-一级推广人 2-二级推广人 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ res | object [] | 非必须 | item 类型: object | ||
├─ col | string | 非必须 | |||
├─ count | string | 非必须 | |||
├─ name | string | 非必须 |
Path: /adminapi/agent/stair/order
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
uid | 否 | 用户id | |
data | 否 | 时间选择 | |
order_id | 否 | 订单号 | |
type | 否 | 订单类型 1-一级推广人订单 2-二级推广人订单 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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 | null | 必须 | |||
├─ delivery_code | string | 必须 | |||
├─ delivery_type | string,null | 必须 | |||
├─ delivery_id | null | 必须 | |||
├─ fictitious_content | string | 必须 | |||
├─ delivery_uid | number | 必须 | |||
├─ gain_integral | string | 必须 | |||
├─ use_integral | string | 必须 | |||
├─ back_integral | null,string | 必须 | |||
├─ 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 | 必须 | |||
├─ user_info | string | 必须 | |||
├─ avatar | string | 必须 | |||
├─ spread_info | string | 必须 | |||
├─ brokerage_price | string,number | 必须 | |||
├─ _pay_time | string | 必须 | |||
├─ _add_time | string | 必须 | |||
├─ take_time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/agent/stair/statistics_1576892465988
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
uid | 否 | 用户id | |
data | 否 | 时间选择 | |
order_id | 否 | 订单号 | |
type | 否 | 订单类型 1-一级推广人订单 2-二级推广人订单 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ res | object [] | 非必须 | item 类型: object | ||
├─ col | string | 非必须 | |||
├─ count | string | 非必须 | |||
├─ name | string | 非必须 |
Path: /adminapi/agent/look_code
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
uid | 是 | 用户id | |
action | 是 | wechant_code |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code_src | string | 非必须 | 二维码链接 |
Path: /adminapi/agent/look_xcx_code
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
uid | 是 | 用户id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code_src | string | 非必须 | 二维码链接 |
Path: /adminapi/agent/look_h5_code
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
uid | 是 | 1 | uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ code_src | string | 非必须 |
Path: /adminapi/agent/stair/delete_spread/:uid
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid | 1 | 分销员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/agent/spread
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
uid | text | 是 | 当前用户uid | |
spread_uid | text | 是 | 推广人uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/agent/stair/delete_system_spread/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid | 1 | 用户uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/kefu
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ avatar | string | 必须 | |||
├─ wx_name | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/app/wechat/kefu/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
nickname | 否 | 微信用户名称 | |
data | 否 | 时间选择 | |
type | 是 | 用户类型选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ nickname | string | 必须 | |||
├─ uid | number | 必须 | |||
├─ headimgurl | string | 必须 | |||
├─ subscribe | number | 必须 | |||
├─ province | string | 必须 | |||
├─ country | string | 必须 | |||
├─ city | string | 必须 | |||
├─ sex | number | 必须 | |||
├─ user_type | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/app/wechat/kefu/add
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ srcKey | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ trueValue | number | 非必须 | |||
├─ falseValue | number | 非必须 | |||
├─ slot | object | 非必须 | |||
├─ open | string | 非必须 | |||
├─ close | string | 非必须 | |||
├─ size | string | 非必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ control | object [] | 非必须 | item 类型: object | ||
├─ value | number | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ trueValue | number | 非必须 | |||
├─ falseValue | number | 非必须 | |||
├─ slot | object | 非必须 | |||
├─ open | string | 非必须 | |||
├─ close | string | 非必须 | |||
├─ size | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/kefu
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
iamge | text | 是 | 选择用户图像 | |
uid | text | 是 | uid | |
avatar | text | 是 | 图像 | |
customer | text | 是 | 订单管理状态 | |
notify | text | 是 | 订单通知 | |
phone | text | 是 | 手机号 | |
account | text | 是 | 帐号 | |
password | text | 是 | 密码 | |
true_password | text | 是 | 确认密码 | |
nickname | text | 是 | 名称 | |
status | text | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/kefu/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 客服id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ trueValue | number | 非必须 | |||
├─ falseValue | number | 非必须 | |||
├─ slot | object | 非必须 | |||
├─ open | string | 非必须 | |||
├─ close | string | 非必须 | |||
├─ size | string | 非必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ control | object [] | 非必须 | item 类型: object | ||
├─ value | number | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ trueValue | number | 非必须 | |||
├─ falseValue | number | 非必须 | |||
├─ slot | object | 非必须 | |||
├─ open | string | 非必须 | |||
├─ close | string | 非必须 | |||
├─ size | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/kefu/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 客服id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
avatar | text | 是 | 客服头像 | |
nickname | text | 是 | 客服名称 | |
status | text | 是 | 状态 1-显示 0-隐藏 | |
notify | text | 是 | 订单通知1开启0关闭 | |
customer | text | 是 | 是否展示统计管理 | |
account | text | 是 | 帐号 | |
phone | text | 是 | 手机号 | |
password | text | 是 | 密码 | |
true_password | text | 是 | 确认密码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/kefu/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 客服id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/kefu/record/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 客服id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | string | 非必须 | 用户id | ||
├─ nickname | string | 非必须 | 用户名称 | ||
├─ headimgurl | string | 非必须 | 用户头像 |
Path: /adminapi/app/wechat/kefu/chat_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
uid | 是 | 客服uid | |
to_uid | 是 | 接收用户id | |
id | 是 | 客服id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | |||
├─ nickname | string | 非必须 | 用户名称 | ||
├─ avatar | string | 非必须 | 用户头像 | ||
├─ msn | string | 非必须 | 消息内容 | ||
├─ add_time | string | 非必须 | 发送时间 |
Path: /adminapi/app/wechat/kefu/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 客服id |
status | 1 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/kefu/login/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ token | string | 非必须 | 授权token | ||
├─ exp_time | number | 非必须 | 过期时间 | ||
├─ kefuInfo | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | 关联uid | ||
├─ account | string | 非必须 | 客服账号 | ||
├─ avatar | string | 非必须 | 客服头像 | ||
├─ nickname | string | 非必须 | 客服昵称 | ||
├─ phone | string | 非必须 | 客服手机号 |
Path: /adminapi/app/wechat/speechcraft
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 页码 | |
limit | 否 | 展示条数 | |
cate_id | 否 | 话术分类 | |
title | 是 | 标题 | |
message | 是 | 内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ kefu_id | number | 必须 | |||
├─ cate_id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ message | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/app/wechat/speechcraft/create
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | 授权token |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/speechcraft
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cate_id | text | 是 | 分类id | |
title | text | 是 | 标题 | |
message | text | 是 | 话术内容 | |
sort | text | 是 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/speechcraft/:id/edit
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | 授权token |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/speechcraft/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cate_id | text | 是 | 分类id | |
title | text | 是 | 标题 | |
message | text | 是 | 话术内容 | |
sort | text | 是 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/speechcraft/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/speechcraft/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ kefu_id | number | 非必须 | |||
├─ cate_id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ message | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ add_time | string | 非必须 |
Path: /adminapi/app/wechat/speechcraftcate
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
name | 是 | 分类名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ owner_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ type | number | 必须 | |||
├─ other | string | 必须 | |||
├─ add_time | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/app/wechat/speechcraftcate/create
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/speechcraftcate
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分类名 | |
sort | text | 是 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/speechcraftcate/:id/edit
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/speechcraftcate/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分类名称 | |
sort | text | 是 | 分类排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/speechcraftcate/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/feedback
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
time | 否 | 时间搜索 | |
title | 否 | 用户昵称,电话,留言内容搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ rela_name | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ content | string | 必须 | |||
├─ make | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/app/feedback/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ col | object | 非必须 | |||
├─ span | number | 非必须 | |||
├─ props | object | 非必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/feedback/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
make | text | 是 | 备注内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/feedback/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
status | 否 | 1-开启 0-关闭 | |
title | 否 | 优惠券名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | 优惠券名称 | ||
├─ integral | number | 必须 | 兑换消耗积分值 | ||
├─ coupon_price | string | 必须 | 兑换的优惠券面值 | ||
├─ use_min_price | string | 必须 | 最低消费多少金额可用优惠券 | ||
├─ coupon_time | number | 必须 | 优惠券有效期限 | ||
├─ sort | number | 必须 | 排序 | ||
├─ status | number | 必须 | 状态 | ||
├─ add_time | number | 必须 | 兑换项目添加时间 | ||
├─ is_del | number | 必须 | 是否删除 | ||
├─ product_id | string | 必须 | 所属商品id | ||
├─ category_id | number | 必须 | 分类id | ||
├─ type | string | 必须 | 优惠券类型 |
Path: /adminapi/marketing/coupon/create/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | 1 | 0通用卷 默认,1品类卷,2商品卷 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/marketing/coupon/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 优惠券名称 | |
coupon_price | text | 是 | 优惠券面值 | |
use_min_price | text | 是 | 优惠券最低消费 | |
coupon_time | text | 是 | 优惠券有效期限 | |
sort | text | 是 | 排序 | |
status | text | 是 | 状态 | |
product_id | text | 否 | 商品卷商品ID | |
category_id | text | 否 | 分类卷分类ID | |
type | text | 是 | 优惠卷类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/marketing/coupon/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 优惠券名称 | |
coupon_price | text | 是 | 优惠券面值 | |
use_min_price | text | 是 | 优惠券最低消费 | |
coupon_time | text | 是 | 优惠券有效期限 | |
sort | text | 是 | 排序 | |
status | text | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/status/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/issue/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/marketing/coupon/issue/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
range_date | text | 是 | ['',''] | 领取时间 |
count | text | 是 | 100 | 发布数量 |
status | text | 是 | 1 | 状态 1 正常 0 未开启 -1 已无效 |
is_permanent | text | 是 | 1 | 是否限量 1-是 0-否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/released
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
status | 否 | 状态 1 正常 0 未开启 -1 已无效 | |
coupon_title | 否 | 优惠券名称 | |
receive_type | 否 | 领取方式 | |
type | 否 | 优惠券类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | null | 必须 | |||
├─ 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 | string | 必须 | |||
├─ use_min_price | string | 必须 | |||
├─ coupon_time | number | 必须 | |||
├─ product_id | string | 必须 | |||
├─ category_id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ receive_type | number | 必须 | |||
├─ start_use_time | number | 必须 | |||
├─ end_use_time | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/coupon/save_coupon
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
coupon_title | 是 | 优惠券名称 | |
coupon_price | 是 | 面值 | |
use_min_price | 是 | 使用门槛 | |
coupon_time | 是 | 使用时间(天数) | |
start_use_time | 是 | 使用开始时间 | |
end_use_time | 是 | 使用结束时间 | |
start_time | 是 | 领取开始时间 | |
end_time | 是 | 领取结束时间 | |
receive_type | 是 | 发送方式 | |
is_permanent | 是 | 是否限量 | |
total_count | 是 | 发布数量 | |
product_id | 是 | 适用商品id | |
category_id | 是 | 适用分类id | |
type | 是 | 优惠券类型 | |
sort | 是 | 排序 | |
status | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/copy/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ cid | null | 非必须 | |||
├─ 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 | string | 非必须 | |||
├─ use_min_price | string | 非必须 | |||
├─ coupon_time | number | 非必须 | |||
├─ product_id | string | 非必须 | |||
├─ category_id | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ receive_type | number | 非必须 | |||
├─ start_use_time | number | 非必须 | |||
├─ end_use_time | number | 非必须 | |||
├─ sort | number | 非必须 |
Path: /adminapi/marketing/coupon/status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
status | 0 | 1 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/released/issue_log/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 已发布优惠券id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 非必须 | |||
├─ issue_coupon_id | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/coupon/released/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 优惠券id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/grant
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
status | 否 | 1 | 状态 1-启用 0-禁用 |
title | 否 | 优惠券名称 | |
is_del | 否 | 0 | 是否删除 1-是 0-否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | |||
├─ title | string | 非必须 | 优惠券名称 | ||
├─ coupon_price | string | 非必须 | 优惠券面值 | ||
├─ use_min_price | string | 非必须 | 优惠券最低消费 | ||
├─ coupon_time | string | 非必须 | 优惠券有效期限 |
Path: /adminapi/marketing/coupon/user/grant
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 22 | 优惠券id |
uid | text | 是 | 1,2,3 | 用户id 拼接的字符串 |
all | text | 是 | 0 | 1 |
where | text | 是 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/coupon/user
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
status | 否 | 状态(0:未使用,1:已使用, 2:已过期) | |
coupon_title | 否 | 优惠券名称 | |
nickname | 否 | 会员名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ coupon_title | string | 必须 | |||
├─ coupon_price | string | 必须 | |||
├─ use_min_price | string | 必须 | |||
├─ add_time | number | 必须 | |||
├─ start_time | number | 必须 | |||
├─ end_time | number | 必须 | |||
├─ use_time | number | 必须 | |||
├─ type | string | 必须 | |||
├─ status | string | 必须 | |||
├─ is_fail | number | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/bargain/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | |
status | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/bargain/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 砍价id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/bargain/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 砍价id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ store_name | null | 非必须 | |||
├─ price | number | 非必须 | |||
├─ min_price | number | 非必须 | |||
├─ num | number | 非必须 | |||
├─ bargain_max_price | number | 非必须 | |||
├─ bargain_min_price | number | 非必须 | |||
├─ bargain_num | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ give_integral | number | 非必须 | |||
├─ info | string | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ postage | number | 非必须 | |||
├─ rule | string | 非必须 | |||
├─ look | number | 非必须 | |||
├─ share | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ people_num | number | 非必须 | |||
├─ section_time | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ description | string | 非必须 | |||
├─ attrs | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 非必须 | |||
├─ detailValue | string | 非必须 | |||
├─ attrHidden | boolean | 非必须 | |||
├─ detail | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 非必须 | |||
├─ detail | object | 非必须 | |||
├─ 规格 | string | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ min_price | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ ot_price | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ brokerage | number | 非必须 | |||
├─ brokerage_two | number | 非必须 | |||
├─ opt | boolean | 非必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ key | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 必须 |
Path: /adminapi/marketing/goods_bargain
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 活动名称 | |
info | text | 是 | 活动简介 | |
store_name | text | 是 | 产品名称 | |
unit_name | text | 是 | 单位名称 | |
image | text | 是 | 活动图片 | |
images | text | 是 | 产品轮播图 | |
price | text | 是 | 砍价金额 | |
min_price | text | 是 | 价商品最低价 | |
bargain_max_price | text | 是 | 用户每次砍价的最大金额 | |
bargain_min_price | text | 是 | 用户每次砍价的最小金额 | |
bargain_num | text | 是 | 用户每次砍价的次数 | |
stock | text | 是 | 库存 | |
sales | text | 是 | 销量 | |
sort | text | 是 | 排序 | |
num | text | 是 | 每次购买的砍价产品数量 | |
give_integral | text | 是 | 反多少积分 | |
postage | text | 是 | 邮费 | |
is_postage | text | 是 | 是否包邮 | |
is_hot | text | 是 | 是否推荐 | |
status | text | 是 | 砍价状态 | |
product_id | text | 是 | 产品id | |
start_time | text | 是 | 开启时间 | |
stop_time | text | 是 | 关闭时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/marketing/bargain/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 砍价id 新建时为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 砍价活动名称 | |
info | text | 是 | 砍价活动简介 | |
unit_name | text | 是 | 件 | 单位 |
section_time | text | 是 | [] | 活动时间 |
image | text | 是 | 产品主图片 | |
images | text | 是 | [] | 产品轮播图 |
bargain_max_price | text | 是 | 单次砍价的最大金额 | |
bargain_min_price | text | 是 | 单次砍价的最小金额 | |
bargain_num | text | 是 | 单次砍价的次数 | |
sort | text | 是 | 排序 | |
num | text | 是 | 单次允许购买数量 | |
temp_id | text | 是 | 运费模版 | |
is_hot | text | 是 | 热门推荐 1-是 0-否 | |
status | text | 是 | 活动状态 1-是 0-否 | |
product_id | text | 是 | 产品id | |
description | text | 是 | 内容 | |
rule | text | 是 | 规格 | |
attrs | text | 是 | 规格详情 | |
items | text | 是 | 规格 | |
copy | text | 是 | 是否是复制 | |
people_num | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/bargain
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
status | 否 | 状态 1-开启 0-关闭 | |
store_name | 否 | 产品名称或编号 | |
start_status | 否 | 活动状态进行中 未开始 已结束 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image | string | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ stock | number | 必须 | |||
├─ sales | number | 必须 | |||
├─ images | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ start_time | number | 必须 | |||
├─ stop_time | number | 必须 | |||
├─ store_name | null | 必须 | |||
├─ price | string | 必须 | |||
├─ min_price | string | 必须 | |||
├─ num | number | 必须 | |||
├─ bargain_max_price | string | 必须 | |||
├─ bargain_min_price | string | 必须 | |||
├─ bargain_num | number | 必须 | |||
├─ status | number | 必须 | |||
├─ give_integral | string | 必须 | |||
├─ info | string | 必须 | |||
├─ cost | null | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_hot | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ is_postage | number | 必须 | |||
├─ postage | null | 必须 | |||
├─ rule | string | 必须 | |||
├─ look | number | 必须 | |||
├─ share | number | 必须 | |||
├─ temp_id | number | 必须 | |||
├─ weight | string | 必须 | |||
├─ volume | string | 必须 | |||
├─ quota | number | 必须 | |||
├─ quota_show | number | 必须 | |||
├─ people_num | number | 必须 | |||
├─ count_people_all | number | 必须 | |||
├─ count_people_help | number | 必须 | |||
├─ count_people_success | number | 必须 | |||
├─ stop_status | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/export/storeBargain
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页数 |
limit | 否 | 20 | 每页条数 |
status | 否 | 状态 | |
store_name | 否 | 商铺名称 | |
data | 否 | today | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/marketing/bargain_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 否 | 砍价状态 | |
data | 否 | 时间 | |
page | 否 | 页数 | |
limit | 否 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ bargain_price_min | string | 必须 | |||
├─ bargain_price | string | 必须 | |||
├─ price | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ title | string | 必须 | |||
├─ image | string | 必须 | |||
├─ datatime | string | 必须 | |||
├─ people_num | number | 必须 | |||
├─ avatar | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ num | number | 必须 | |||
├─ now_price | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/bargain_list_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 9 | 砍价id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 |
Path: /adminapi/marketing/combination
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
is_show | 否 | 状态 1-开启 0-关闭 | |
store_name | 否 | 关键字 产品名称/产品id/拼团名称/拼团id | |
start_status | 是 | -1:已结束0未开始1进行中 | 活动状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ images | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 必须 | |||
├─ attr | null | 必须 | |||
├─ people | number | 必须 | |||
├─ info | string | 必须 | |||
├─ price | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ sales | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ is_host | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ combination | number | 必须 | |||
├─ mer_use | null | 必须 | |||
├─ is_postage | number | 必须 | |||
├─ postage | string | 必须 | |||
├─ start_time | number | 必须 | |||
├─ stop_time | number | 必须 | |||
├─ effective_time | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ browse | number | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ temp_id | number | 必须 | |||
├─ weight | string | 必须 | |||
├─ volume | string | 必须 | |||
├─ num | number | 必须 | |||
├─ once_num | number | 必须 | |||
├─ quota | number | 必须 | |||
├─ quota_show | number | 必须 | |||
├─ virtual | number | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ product_price | string | 必须 | |||
├─ count_people | number | 必须 | |||
├─ count_people_all | number | 必须 | |||
├─ count_people_pink | number | 必须 | |||
├─ stop_status | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/combination/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ attr | null | 非必须 | |||
├─ people | number | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ is_host | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ combination | number | 非必须 | |||
├─ mer_use | null | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ postage | number | 非必须 | |||
├─ effective_time | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ num | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ virtual | number | 非必须 | |||
├─ section_time | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ description | string | 非必须 | |||
├─ attrs | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detailValue | string | 必须 | |||
├─ attrHidden | boolean | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 必须 | |||
├─ value2 | string | 必须 | |||
├─ detail | object | 必须 | |||
├─ 颜色 | string | 非必须 | |||
├─ 尺码 | string | 非必须 | |||
├─ pic | string | 必须 | |||
├─ price | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ quota | number | 必须 | |||
├─ bar_code | string | 必须 | |||
├─ weight | number | 必须 | |||
├─ volume | number | 必须 | |||
├─ brokerage | number | 必须 | |||
├─ brokerage_two | number | 必须 | |||
├─ _checked | boolean | 必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ key | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 非必须 | |||
├─ type | number | 必须 |
Path: /adminapi/marketing/combination/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团id 新建时为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | 产品id | |
title | text | 是 | 拼团名称 | |
info | text | 是 | 拼团简介 | |
unit_name | text | 是 | 单位 | |
image | text | 是 | 产品主图片 | |
images | text | 是 | 产品轮播图 | |
section_time | text | 是 | 拼团时间 | |
is_host | text | 是 | 热门推荐 1-是0-否 | |
is_show | text | 是 | 状态 1-开启 0-关闭 | |
num | text | 是 | 总购买数量 | |
temp_id | text | 是 | 运费模板 | |
effective_time | text | 是 | 拼团时效 | |
people | text | 是 | 拼团人数 | |
description | text | 是 | 内容 | |
attrs | text | 是 | 规格详情 | |
items | text | 是 | 规格 | |
once_num | text | 是 | 一次购买数量 | |
sort | text | 是 | 排序 | |
copy | text | 是 | 是否复制 | |
virtual | text | 是 | 虚拟成团比例 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/export/storeCombination
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
is_show | 否 | 是否展示 | |
store_name | 否 | 商铺名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/marketing/combination/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团id |
status | 1 | 状态 1-开启 0-状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/combination/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/goods_combination
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | 标题 | |
info | text | 是 | 简介 | |
unit_name | text | 是 | 单位 | |
image | text | 是 | 产品图片 | |
images | text | 是 | 轮播图 | |
effective_time | text | 是 | 拼团订单有效时间 | |
postage | text | 是 | 邮费 | |
people | text | 是 | 参团人数 | |
price | text | 是 | 价格 | |
sort | text | 是 | 排序 | |
stock | text | 是 | 库存 | |
sales | text | 是 | 销量 | |
is_show | text | 是 | 产品状态 | |
is_host | text | 是 | 推荐 | |
is_postage | text | 是 | 否包邮 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/marketing/combination/export
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
is_show | 是 | 状态 1-开启 0-关闭 | |
store_name | 是 | 关键字 产品名称/产品id/拼团名称/拼团id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/marketing/combination/statistics
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ attr | null | 非必须 | |||
├─ people | number | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ is_host | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ combination | number | 非必须 | |||
├─ mer_use | null | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ postage | number | 非必须 | |||
├─ effective_time | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ browse | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ num | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ virtual | number | 非必须 | |||
├─ section_time | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ description | string | 非必须 | |||
├─ attrs | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detailValue | string | 必须 | |||
├─ attrHidden | boolean | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 必须 | |||
├─ value2 | string | 必须 | |||
├─ detail | object | 必须 | |||
├─ 颜色 | string | 非必须 | |||
├─ 尺码 | string | 非必须 | |||
├─ pic | string | 必须 | |||
├─ price | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ quota | number | 必须 | |||
├─ bar_code | string | 必须 | |||
├─ weight | number | 必须 | |||
├─ volume | number | 必须 | |||
├─ brokerage | number | 必须 | |||
├─ brokerage_two | number | 必须 | |||
├─ _checked | boolean | 必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ key | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 非必须 | |||
├─ type | number | 必须 |
Path: /adminapi/marketing/combination/combine/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 状态 1进行中2已完成3未完成 | |
data | 是 | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ nickname | string | 必须 | |||
├─ avatar | string | 必须 | |||
├─ order_id | string | 必须 | |||
├─ order_id_key | number | 必须 | |||
├─ total_num | number | 必须 | |||
├─ total_price | string | 必须 | |||
├─ cid | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ people | number | 必须 | |||
├─ price | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ stop_time | string | 必须 | |||
├─ k_id | number | 必须 | |||
├─ is_tpl | number | 必须 | |||
├─ is_refund | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_virtual | number | 必须 | |||
├─ title | string | 必须 | |||
├─ count_people | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/combination/order_pink/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 拼团列表id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ order_id_key | number | 非必须 | |||
├─ total_num | number | 非必须 | |||
├─ total_price | string | 非必须 | |||
├─ cid | number | 非必须 | |||
├─ pid | number | 非必须 | |||
├─ people | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ stop_time | string | 非必须 | |||
├─ k_id | number | 非必须 | |||
├─ is_tpl | number | 非必须 | |||
├─ is_refund | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_virtual | number | 非必须 | |||
├─ title | string | 非必须 |
Path: /adminapi/marketing/seckill
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
status | 否 | 状态 1-开启 0-关闭 | |
store_name | 否 | 关键字 秒杀名称/秒杀id | |
start_status | 是 | -1:已结束0:未开始1:进行中 | 活动状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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 | 必须 | |||
├─ cost | string | 必须 | |||
├─ ot_price | string | 必须 | |||
├─ give_integral | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ sales | number | 必须 | |||
├─ unit_name | string | 必须 | |||
├─ postage | string | 必须 | |||
├─ description | null | 必须 | |||
├─ start_time | string | 必须 | |||
├─ stop_time | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status | number | 必须 | |||
├─ is_postage | number | 必须 | |||
├─ is_hot | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ num | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ time_id | number | 必须 | |||
├─ temp_id | number | 必须 | |||
├─ weight | string | 必须 | |||
├─ volume | string | 必须 | |||
├─ quota | number | 必须 | |||
├─ quota_show | number | 必须 | |||
├─ once_num | number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ start_name | string | 必须 | |||
├─ _stop_time | string | 必须 | |||
├─ stop_status | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/seckill/time_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ time | string | 必须 | |||
├─ continued | string | 必须 | |||
├─ slide | array,string | 必须 |
Path: /adminapi/marketing/seckill/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 秒杀id 新增时为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | 产品id | |
title | text | 是 | 活动名称 | |
info | text | 是 | 活动简介 | |
unit_name | text | 是 | 单位 | |
image | text | 是 | 商品主图片 | |
images | text | 是 | [] | 商品轮播图 |
give_integral | text | 是 | 赠送积分 | |
section_time | text | 是 | [] | 活动时间 |
is_hot | text | 是 | 热门推荐 1-是 0-否 | |
status | text | 是 | 状态 1-开启 0-关闭 | |
num | text | 是 | 限制总数 | |
once_num | text | 是 | 单次都买次 | |
time_id | text | 是 | 秒杀时间段 | |
temp_id | text | 是 | 运费模版id | |
sort | text | 是 | 排序 | |
description | text | 是 | 内容 | |
attrs | text | 是 | 规格详情 | |
items | text | 是 | 规格 | |
copy | text | 是 | 是否复制 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/seckill/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 秒杀id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ ot_price | number | 非必须 | |||
├─ give_integral | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ sales | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ postage | number | 非必须 | |||
├─ description | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_postage | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ num | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ time_id | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ section_time | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ attrs | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 非必须 | |||
├─ detailValue | string | 非必须 | |||
├─ attrHidden | boolean | 非必须 | |||
├─ detail | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 非必须 | |||
├─ detail | object | 非必须 | |||
├─ 规格 | string | 非必须 | |||
├─ pic | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ cost | number | 非必须 | |||
├─ ot_price | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ bar_code | string | 非必须 | |||
├─ weight | number | 非必须 | |||
├─ volume | number | 非必须 | |||
├─ brokerage | number | 非必须 | |||
├─ brokerage_two | number | 非必须 | |||
├─ _checked | boolean | 非必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ key | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 非必须 | |||
├─ type | number | 必须 |
Path: /adminapi/product/product/attrs/:id/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 商品ID |
type | 1 | 1秒杀2砍价3拼团 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detailValue | string | 必须 | |||
├─ attrHidden | boolean | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ attrs | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 必须 | |||
├─ value2 | string | 必须 | |||
├─ detail | object | 必须 | |||
├─ 大小 | string | 非必须 | |||
├─ 颜色 | string | 非必须 | |||
├─ pic | string | 必须 | |||
├─ price | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ bar_code | string | 必须 | |||
├─ weight | number | 必须 | |||
├─ volume | number | 必须 | |||
├─ brokerage | number | 必须 | |||
├─ brokerage_two | number | 必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 必须 | |||
├─ key | string | 必须 |
Path: /adminapi/marketing/seckill/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 秒杀id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/seckill/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 秒杀id |
status | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/export/storeSeckill
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 否 | 状态 | |
store_name | 否 | 商铺名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | execl地址 |
Path: /adminapi/marketing/seckill/export
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 状态 1-开启 0-关闭 | |
store_name | 是 | 关键字 秒杀名称/秒杀id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/marketing/get_goods_field/:id?field=
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id?field= | 商品id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
field | 是 | store_name,store_info,unit_name,image,slider_image,cost,stock,price,is_postage | 查询字段 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ store_info | string | 非必须 | 商品描述 | ||
├─ unit_name | string | 非必须 | 单位 | ||
├─ image | string | 非必须 | 图片 | ||
├─ slider_image | string | 非必须 | 幻灯片 | ||
├─ cost | string | 非必须 | 成本价 | ||
├─ stock | number | 非必须 | 库存 | ||
├─ price | string | 非必须 | 价格 | ||
├─ is_postage | number | 非必须 | 是否包邮 |
Path: /adminapi/marketing/goods_seckill
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/setting/seckill_data/set_status/:id/:status
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | id |
status | 0 | 1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/seckill_data/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/seckill_data/create
Method: GET
接口描述:
Path: /adminapi/setting/seckill_data/header
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 54 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ key | string | 必须 | |||
├─ title | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ type | string | 非必须 | |||
├─ slot | string | 必须 | |||
├─ fixed | string | 非必须 |
Path: /adminapi/setting/seckill_data
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 分页 |
limit | 是 | 20 | 每页条数 |
gid | 是 | 54 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ gid | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ time | string | 必须 | |||
├─ continued | string | 必须 | |||
├─ slide | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ count | number | 非必须 | |||
├─ type | string | 非必须 |
Path: /adminapi/setting/seckill_data/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 49 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/marketing/integral_config/save_basics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
integral_max_num | 是 | 10 | 抵用上限 |
integral_ratio | 是 | 2 | 积分抵用 |
order_give_integral | 是 | 5 | 下单赠送积分 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/marketing/integral_config/edit_basics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
tab_id | 是 | 11 | 父类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 必须 | |||
├─ info | string | 必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/marketing/integral
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
start_time | 否 | 2019-12-20 00:00:00 | 开始时间 |
end_time | 否 | 2019-12-21 00:00:00 | 结束时间 |
nickname | 否 | 用户昵称或用户id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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 | number | 必须 | |||
├─ balance | number | 必须 | |||
├─ mark | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status | number | 必须 | |||
├─ take | number | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/integral/statistics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_time | 否 | 开始时间 | |
end_time | 否 | 结束时间 | |
nickname | 否 | 用户昵称或id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ res | object [] | 非必须 | item 类型: object | ||
├─ col | number | 必须 | |||
├─ count | number | 必须 | |||
├─ name | string | 必须 |
Path: /adminapi/export/userPoint
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_time | 否 | 开始时间 | |
end_time | 否 | 结束时间 | |
nikename | 否 | 用户昵称会id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel 文件地址 |
Path: /adminapi/marketing/integral/export
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_time | 否 | 开始时间 | |
end_time | 否 | 结束时间 | |
nickname | 否 | 用户昵称会id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/setting/sign_data/set_status/:id/:status
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 147 | id |
status | 0 | 1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/sign_data/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 147 | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/sign_data/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 55 | 分组id |
Path: /adminapi/setting/sign_data/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 55 | 分组id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/setting/sign_data/header
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 45 | 分组id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ key | string | 必须 | |||
├─ title | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 必须 | |||
├─ fixed | string | 非必须 |
Path: /adminapi/setting/sign_data
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 分页 |
limit | 否 | 20 | 每页条数 |
gid | 是 | 45 | 分组id |
status | 否 | 1 | 是否显示 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ gid | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ day | string | 必须 | |||
├─ sign_num | string | 必须 | |||
├─ pp | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ ll | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ count | number | 非必须 | |||
├─ type | string | 非必须 |
Path: /adminapi/marketing/integral_product
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
integral_time | 是 | ||
is_show | 是 | ||
store_name | 是 | ||
page | 是 | ||
limit | 是 | ||
start_status | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | 编号 | ||
├─ image | string | 必须 | 主图 | ||
├─ product_id | number | 必须 | 商品ID | ||
├─ 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 | 必须 | 限量显示 | ||
├─ count | number | 非必须 |
Path: /adminapi/marketing/integral/order/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
status | 是 | ||
pay_type | 是 | ||
data | 是 | ||
real_name | 是 | ||
field_key | 是 | ||
type | 是 | ||
product_id | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ user_phone | string | 非必须 | |||
├─ user_address | string | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ store_name | string | 非必须 | |||
├─ suk | string | 非必须 | |||
├─ total_num | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ total_price | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ delivery_name | string | 非必须 | |||
├─ delivery_code | string | 非必须 | |||
├─ delivery_type | string | 非必须 | |||
├─ delivery_id | string | 非必须 | |||
├─ fictitious_content | string | 非必须 | |||
├─ delivery_uid | number | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ remark | string | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_mer_check | number | 非必须 | |||
├─ is_remind | number | 非必须 | |||
├─ is_system_del | number | 非必须 | |||
├─ channel_type | string | 非必须 | |||
├─ province | string | 非必须 | |||
├─ express_dump | string | 非必须 | |||
├─ verify_code | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ spread_uid | number | 非必须 | |||
├─ status_name | string | 非必须 | |||
├─ count | number | 非必须 | |||
├─ batch_url | string | 非必须 |
Path: /adminapi/marketing/integral/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | 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 | 非必须 | |||
├─ description | string | 非必须 | |||
├─ attrs | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detailValue | string | 必须 | |||
├─ attrHidden | boolean | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 必须 | |||
├─ value2 | string | 必须 | |||
├─ detail | object | 必须 | |||
├─ 颜色 | string | 非必须 | |||
├─ 尺码 | string | 非必须 | |||
├─ pic | string | 必须 | |||
├─ price | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ quota | number | 必须 | |||
├─ bar_code | string | 必须 | |||
├─ weight | number | 必须 | |||
├─ volume | number | 必须 | |||
├─ brokerage | number | 必须 | |||
├─ brokerage_two | number | 必须 | |||
├─ _checked | boolean | 必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ key | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 非必须 | |||
├─ type | number | 必须 |
Path: /adminapi/marketing/integral/order/chart
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | ||
product_id | 是 | ||
data | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ statusAll | string | 非必须 | |||
├─ unshipped | string | 非必须 | |||
├─ untake | string | 非必须 | |||
├─ complete | string | 非必须 |
Path: /adminapi/marketing/advance/index
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | ||
time_type | 是 | ||
title | 是 | ||
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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 | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ cate_id | null | 非必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/advance/info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ image | string | 非必须 | |||
├─ images | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ price | number | 非必须 | |||
├─ ot_price | number | 非必须 | |||
├─ 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 | 非必须 | |||
├─ quota | number | 非必须 | |||
├─ quota_show | number | 非必须 | |||
├─ once_num | number | 非必须 | |||
├─ section_time | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ pay_time | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ description | string | 非必须 | |||
├─ attrs | object | 非必须 | |||
├─ items | object [] | 非必须 | item 类型: object | ||
├─ value | string | 必须 | |||
├─ detailValue | string | 必须 | |||
├─ attrHidden | boolean | 必须 | |||
├─ detail | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ value | object [] | 非必须 | item 类型: object | ||
├─ value1 | string | 必须 | |||
├─ value2 | string | 必须 | |||
├─ detail | object | 必须 | |||
├─ 颜色 | string | 非必须 | |||
├─ 尺码 | string | 非必须 | |||
├─ pic | string | 必须 | |||
├─ price | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ stock | number | 必须 | |||
├─ quota | number | 必须 | |||
├─ bar_code | string | 必须 | |||
├─ weight | number | 必须 | |||
├─ volume | number | 必须 | |||
├─ brokerage | number | 必须 | |||
├─ brokerage_two | number | 必须 | |||
├─ _checked | boolean | 必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ key | string | 必须 | |||
├─ align | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ slot | string | 非必须 | |||
├─ type | number | 必须 |
Path: /adminapi/live/room/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
kerword | 否 | 张三 | 关键词 |
status | 否 | 1 | 状态 |
page | 否 | 1 | 页数 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | 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 | 必须 |
Path: /adminapi/live/room/add
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
name | 是 | 张三的直播间 | 直播间名称 |
cover_img | 是 | 背景图地址 | |
share_img | 是 | 分享图地址 | |
anchor_name | 是 | 张三 | 主播名称 |
anchor_wechat | 是 | wx_dddddd | 主播微信号 |
phone | 是 | 13572809876 | 主播手机号 |
start_time | 是 | [10000000000,1000000000] | 直播预计开始、结束时间 |
type | 是 | 1 | 直播间类型 【1: 推流,0:手机直播】 |
screen_type | 是 | 1 | 横屏、竖屏 【1:横屏,0:竖屏】 |
close_like | 是 | 是否关闭点赞 | |
close_goods | 是 | 是否关闭货架 | |
close_comment | 是 | 是否关闭评论 | |
sort | 否 | 100 | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | string | 必须 |
Path: /adminapi/live/room/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/live/room/add_goods
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
room_id | 是 | 100 | 直播间列表主键id |
goods_ids | 是 | [100,102,222] | 直播商品列表主键ids |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | string | 必须 |
Path: /adminapi/live/room/set_show/:id/:is_show
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 100 | 直播间id |
is_show | 0 | 1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/live/room/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 6 | 直播间id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | 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 | 非必须 |
Path: /adminapi/live/room/syncRoom
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/live/goods/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
kerword | 否 | 张三 | 关键词搜索 |
status | 否 | 0 | 1 |
page | 否 | 1 | 页数 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ goods_id | number | 必须 | |||
├─ audit_id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ cover_img | string | 必须 | |||
├─ url | string | 必须 | |||
├─ price_type | number | 必须 | |||
├─ cost_price | string | 必须 | |||
├─ price | string | 必须 | |||
├─ price2 | string | 必须 | |||
├─ audit_status | number | 必须 | |||
├─ third_part_tag | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | 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 | 非必须 |
Path: /adminapi/adminapi/live/goods/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 2 | 直播商品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ goods_id | number | 非必须 | |||
├─ audit_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ cover_img | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ price_type | number | 非必须 | |||
├─ cost_price | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ price2 | string | 非必须 | |||
├─ audit_status | number | 非必须 | |||
├─ third_part_tag | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | 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 | 非必须 |
Path: /adminapi/adminapi/live/goods/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 2 | 直播商品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/adminapi/live/goods/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
product_id | 是 | [59,60] | 商品ids |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ image | string | 必须 | |||
├─ store_name | string | 必须 | |||
├─ price | string | 必须 | |||
├─ cost_price | string | 必须 | |||
├─ stock | number | 必须 |
Path: /adminapi/adminapi/live/goods/add
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
goods_info | 是 | [['product_id'=>1,'name'=>'name','cover_img'=>'iamge_url','price'=>'直播价','cost_price'=>'原价']] |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/adminapi/live/goods/set_show/:id/:is_show
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 2 | 直播商品id |
is_show | 0 | 1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/adminapi/live/goods/syncGoods
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/adminapi/live/anchor/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
kerword | 否 | 张三 | |
page | 否 | 1 | 页面 |
limit | 否 | 20 | 每页条数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ cover_img | string | 必须 | |||
string | 必须 | ||||
├─ phone | string | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | string | 必须 |
Path: /adminapi/adminapi/live/anchor/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 否 | 1 | 添加表单传0 |
name | 是 | 张三 | 主播昵称 |
是 | zhangsan | 主播微信号 | |
phone | 是 | 13609879876 | 主播手机号 |
cover_img | 是 | 主播图像 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 |
Path: /adminapi/adminapi/live/anchor/add/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 添加id传0 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/adminapi/live/anchor/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 主播id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 |
Path: /adminapi/adminapi/live/anchor/set_show/:id/:is_show
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | ||
is_show |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 |
Path: /adminapi/marketing/lottery/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_status | 是 | ||
status | 是 | ||
store_name | 是 | ||
export | 是 | ||
page | 是 | ||
factor | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ desc | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ factor | number | 非必须 | |||
├─ factor_num | number | 非必须 | |||
├─ attends_user | number | 非必须 | |||
├─ user_level | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ user_label | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ is_svip | number | 非必须 | |||
├─ prize_num | number | 非必须 | |||
├─ start_time | string | 非必须 | |||
├─ end_time | string | 非必须 | |||
├─ 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 | 必须 | |||
├─ name | string | 必须 | |||
├─ prompt | string | 必须 | |||
├─ image | string | 必须 | |||
├─ chance | number | 必须 | |||
├─ total | number | 必须 | |||
├─ coupon_id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ num | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ lottery_type | string | 非必须 | |||
├─ lottery_all | number | 非必须 | |||
├─ lottery_people | number | 非必须 | |||
├─ lottery_win | number | 非必须 | |||
├─ lottery_status | string | 非必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/marketing/lottery/record/list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | ||
page | 是 | ||
limit | 是 | ||
lottery_id | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ lottery_id | number | 必须 | |||
├─ prize_id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ is_receive | number | 必须 | |||
├─ receive_time | number | 必须 | |||
├─ receive_info | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ is_deliver | number | 必须 | |||
├─ deliver_time | number | 必须 | |||
├─ deliver_info | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ add_time | string | 必须 | |||
├─ lottery | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ desc | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ factor | number | 非必须 | |||
├─ factor_num | number | 非必须 | |||
├─ attends_user | number | 非必须 | |||
├─ 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 | 必须 | |||
├─ id | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ lottery_id | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ prompt | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ chance | number | 非必须 | |||
├─ total | number | 非必须 | |||
├─ coupon_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ num | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ user | object | 必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/finance/extract/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
real_name | text | 是 | 真实姓名 | |
mark | text | 否 | 备注 | |
extract_price | text | 是 | 提现金额 | |
alipay_code | text | 是 | 支付宝账号 | |
text | 是 | 微信号 | ||
bank_code | text | 是 | 银行卡号 | |
bank_address | text | 是 | 开户行 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/finance/extract
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 页码 |
status | 是 | -1 未通过 0 审核中 1 已提现 | 提现状态 |
extract_type | 否 | bank = 银行卡 alipay = 支付宝wx=微信 | 提现方式 |
nireid | 否 | 等风来,随风去 | 微信昵称/姓名/支付宝账号/银行卡号 |
date | 否 | 2019/12/02-2019/12/06 | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ extract_statistics | object | 非必须 | |||
├─ price | string | 非必须 | 待提现金额 | ||
├─ brokerage_count | string | 非必须 | 佣金总金额 | ||
├─ priced | string | 非必须 | 已提现金额 | ||
├─ brokerage_not | string | 非必须 | 未提现金额 | ||
├─ list | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ id | string | 非必须 | 提现申请记录id | ||
├─ uid | string | 非必须 | 用户id | ||
├─ real_name | string | 非必须 | 名称 | ||
├─ extract_type | string | 非必须 | bank = 银行卡 alipay = 支付宝wx=微信 | ||
├─ bank_code | string | 非必须 | 银行卡 | ||
├─ bank_address | string | 非必须 | 开户地址 | ||
├─ alipay_code | string | 非必须 | 支付宝账号 | ||
├─ extract_price | string | 非必须 | 提现金额 | ||
├─ mark | string | 非必须 | 备注 | ||
├─ balance | string | 非必须 | 剩余 | ||
├─ fail_msg | string | 非必须 | 无效原因 | ||
├─ fail_time | string | 非必须 | 拒绝时间 | ||
├─ add_time | string | 非必须 | 记录时间 | ||
├─ status | string | 非必须 | -1 未通过 0 审核中 1 已提现 | ||
string | 非必须 | 微信号 |
Path: /adminapi/finance/extract/refuse/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
message | text | 是 | 拒绝原因 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/finance/extract/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 申请记录id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ precision | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/finance/extract/adopt/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/invoice/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 否 | 状态 | |
real_name | 否 | 搜索 | |
header_type | 否 | 抬头类型 | |
type | 否 | 发票类型 | |
data | 否 | 时间 | |
fileld_key | 否 | order_id uid real_name phone | 准确搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ invoice_id | number | 必须 | |||
├─ order_id | string | 必须 | |||
├─ header_type | number | 必须 | |||
├─ type | number | 必须 | |||
├─ name | string | 必须 | |||
├─ duty_number | string | 必须 | |||
├─ drawer_phone | string | 必须 | |||
string | 必须 | ||||
├─ tell | string | 必须 | |||
├─ address | string | 必须 | |||
├─ bank | string | 必须 | |||
├─ card_number | string | 必须 | |||
├─ is_invoice | number | 必须 | |||
├─ invoice_number | string | 必须 | |||
├─ invoice_reamrk | string | 必须 | |||
├─ invoice_time | number | 必须 | |||
├─ invoice_add_time | string | 必须 | |||
├─ order | object | 必须 | |||
├─ id | number | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ pay_price | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ user_phone | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ refund_status | number | 非必须 | |||
├─ id | number | 必须 | |||
├─ pay_price | string | 必须 | |||
├─ real_name | string | 必须 | |||
├─ user_phone | string | 必须 | |||
├─ status | number | 必须 | |||
├─ refund_status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/order/invoice/chart
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 时间 | |
type | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ all | string | 非必须 | |||
├─ noOpened | string | 非必须 | |||
├─ opened | string | 非必须 | |||
├─ refund | string | 非必须 |
Path: /adminapi/order/invoice_order_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 120 | 开票id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ orderInfo | 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 | string | 非必须 | |||
├─ 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 | string | 非必须 | |||
├─ 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 | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ is_reply | number | 非必须 | |||
├─ class_name | 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 | 非必须 | |||
├─ vip_true_price | number | 非必须 | |||
├─ _store_name | string | 非必须 | |||
├─ userInfo | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ account | string | 非必须 | |||
├─ 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 | 非必须 | |||
├─ clean_time | number | 非必须 | |||
├─ addres | string | 非必须 | |||
├─ adminid | number | 非必须 | |||
├─ record_phone | string | 非必须 | |||
├─ is_money_level | number | 非必须 | |||
├─ is_ever_level | number | 非必须 | |||
├─ overdue_time | number | 非必须 | |||
├─ uniqid | string | 非必须 | |||
├─ spread_name | 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 | 非必须 |
Path: /adminapi/order/invoice/set/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
is_invoice | text | 是 | 是否开票 | |
invoice_number | text | 是 | 开票号 | |
remark | text | 是 | 备注 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 |
Path: /adminapi/finance/recharge
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
data | 否 | today | 时间选择 today 今天 week month year yesterday quarter lately7 lately30 |
paid | 否 | 1 | 支付类型 0-未支付 1-已支付 |
nickname | 否 | 4558 | 姓名/电话/uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ order_id | string | 必须 | |||
├─ price | string | 必须 | |||
├─ give_price | string | 必须 | |||
├─ recharge_type | string | 必须 | |||
├─ paid | number | 必须 | |||
├─ pay_time | null,number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ refund_price | string | 必须 | |||
├─ channel_type | string | 必须 | |||
├─ nickname | string,null | 必须 | |||
├─ avatar | string,null | 必须 | |||
├─ _recharge_type | string | 必须 | |||
├─ _pay_time | string | 必须 | |||
├─ _add_time | string | 必须 | |||
├─ paid_type | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/finance/recharge/user_recharge
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 否 | 时间选择 | |
paid | 否 | 是否支付 0-否 1-是 | |
nickname | 否 | 姓名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ field | string | 必须 | |||
├─ count | number | 必须 | |||
├─ className | string | 必须 | |||
├─ col | number | 必须 |
Path: /adminapi/finance/recharge/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/finance/recharge/:id/refund_edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/finance/recharge/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
refund_price | text | 是 | 0 | 1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/export/userRecharge
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 否 | today | 时间选择 today 今天 week month year yesterday quarter lately7 lately30 |
paid | 否 | 1 | 支付类型 0-未支付 1-已支付 |
nickname | 否 | 4558 | 姓名/电话/uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/finance/finance/bill_type
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ type | string | 必须 |
Path: /adminapi/finance/finance/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
start_time | 否 | ||
end_time | 否 | ||
nickname | 否 | 昵称/ID | |
type | 否 | 筛选类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | 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 | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/finance/finance/export
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_time | 是 | ||
end_time | 是 | ||
nickname | 是 | ||
type | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/export/userFinance
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
start_time | 否 | 开始时间 | |
end_time | 否 | 结束时间 | |
nickname | 否 | 昵称 | |
type | 否 | 类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/finance/finance/commission_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
nickname | 否 | 昵称/id | |
price_max | 否 | 佣金最大值 | |
price_min | 否 | 佣金最小值 | |
brokerage_price | 否 | asc desc nomal | 排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ sum_number | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ uid | number | 必须 | |||
├─ now_money | string | 必须 | |||
├─ brokerage_price | string | 必须 | |||
├─ extract_price | number,string | 必须 |
Path: /adminapi/finance/finance/user_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 用户id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ user_info | object [] | 非必须 | item 类型: object | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ spread_uid | string | 非必须 | 推广员id | ||
├─ now_money | string | 非必须 | 用户余额 | ||
├─ add_time | string | 非必须 | 添加时间 | ||
├─ number | string | 非必须 | 佣金总收入 | ||
├─ spread_name | string | 非必须 | 上级推广人 |
Path: /adminapi/finance/finance/extract_list/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 用户id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
start_time | 是 | ||
end_time | 是 | ||
nickname | 是 | 昵称/订单号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | 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 | 必须 | |||
├─ nickname | string | 必须 | |||
├─ _add_time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/export/userCommission
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页数 |
limit | 否 | 20 | 每页条数 |
nickname | 否 | 昵称 | |
price_max | 否 | 金额大 | |
price_min | 否 | 金额小 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/cms/cms
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 15 | 每页条数 |
pid | 否 | 1 | 分类id |
title | 否 | 互联网 | 关键字搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cid | string | 必须 | |||
├─ title | string | 必须 | |||
├─ author | string | 必须 | |||
├─ image_input | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ synopsis | string | 必须 | |||
├─ share_title | string | 必须 | |||
├─ share_synopsis | string | 必须 | |||
├─ visit | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ url | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ hide | number | 必须 | |||
├─ admin_id | number | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ is_hot | number | 必须 | |||
├─ is_banner | number | 必须 | |||
├─ content | string | 必须 | |||
├─ catename | string | 必须 | |||
├─ storeInfo | object | 必须 | |||
├─ store_name | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ id | number | 非必须 | |||
├─ ot_price | string | 非必须 | |||
├─ store_name | null,string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/cms/cms/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 文章id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ cid | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ author | string | 非必须 | |||
├─ image_input | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ synopsis | string | 非必须 | |||
├─ share_title | string | 非必须 | |||
├─ share_synopsis | string | 非必须 | |||
├─ visit | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ url | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ hide | number | 非必须 | |||
├─ admin_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_banner | number | 非必须 | |||
├─ content | string | 非必须 | |||
├─ catename | string | 非必须 | |||
├─ store_info | null | 非必须 | |||
├─ storeInfo | null | 非必须 |
Path: /adminapi/cms/cms
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 1 | 文章id |
cid | text | 是 | 1 | 分类id |
title | text | 是 | 小米也产业互联网了 | 文章标题 |
author | text | 是 | PingWest | 作者 |
image_input | text | 是 | http://crmeb.my/uploads/attach/2019/11/20191120/3f9a2e407414fd6d6489a43ffac78800.jpg | 文章图片 |
content | text | 是 | 文章内容 | |
synopsis | text | 是 | 文章简介 | |
share_title | text | 否 | 文章分享标题 | |
share_synopsis | text | 否 | 文章分享简介 | |
visit | text | 否 | 浏览次数 | |
sort | text | 否 | 排序 | |
url | text | 否 | 原文链接 | |
is_banner | text | 否 | 是否轮播图(小程序) | |
is_hot | text | 否 | 是否热门(小程序) | |
status | text | 否 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/cms/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 文章id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/cms/relation/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 文章id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
product_id | text | 是 | 1 | 产品id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/cms/unrelation/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 文章id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/cms/upload
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | multipart/form-data | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
file | file | 是 | 上传的图片文件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | |||
├─ url | string | 必须 | 图片路径 |
Path: /adminapi/cms/category/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类 |
status | 1 | 状态 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/category
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 否 | 0 | 展示形式 0-列表形式(默认) 1-树形形式 |
page | 否 | 1 | 页码 |
limit | 否 | 15 | 每页条数 |
status | 否 | 1 | 状态 1-展示 0-隐藏 |
title | 否 | 科技 | 文章分类标题关键字搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ title | string | 必须 | |||
├─ intr | string | 必须 | |||
├─ image | string | 必须 | |||
├─ status | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ hidden | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/cms/category/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/category
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 分类名称 | |
intr | text | 是 | 文章分类简介 | |
image | text | 是 | [v1/1.jpg,v1/2.png] | 图片地址 |
sort | text | 是 | 2 | 排序 |
status | text | 是 | 1 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/category/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/cms/category/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 分类名称 | |
intr | text | 是 | 文章分类简介 | |
image | text | 是 | [v1/1.jpg,v1/2.png] | 图片地址 |
sort | text | 是 | 2 | 排序 |
status | text | 是 | 1 | 状态 |
id | text | 是 | 1 | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/cms/category/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/adminapi/statistic/product/get_basic
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJwcm8uY3JtZWIubXkiLCJhdWQiOiJwcm8uY3JtZWIubXkiLCJpYXQiOjE2MDQwNDUxNzEsIm5iZiI6MTYwNDA0NTE3MSwiZXhwIjoxNjA0MDU1OTcxLCJqdGkiOnsiaWQiOjEsInR5cGUiOiJhZG1pbiJ9fQ.rNL3MWbqmN9GTk_o1eRNgfL4DWi56zancJof8ZSH_9U |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 2019/10/27-2020/10/26 | 时间区间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ browse | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ user | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cart | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ order | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ pay | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ payPrice | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cost | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ refundPrice | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ refund | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ payPercent | object | 非必须 | |||
├─ num | string | 非必须 | |||
├─ percent | string | 非必须 |
Path: /adminapi/adminapi/statistic/product/get_product_ranking
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 2020/9/28-2020/10/30 | |
sort | 是 | visit 访问量 user 访客 cart 购物车 orders 下单数 price 金额 profit 毛利率 collect 收藏 changes 转化率 repeats 复购率 |
排序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ product_id | number | 必须 | |||
├─ visit | string | 必须 | |||
├─ user | number | 必须 | |||
├─ cart | string | 必须 | |||
├─ orders | string | 必须 | |||
├─ pay | string | 必须 | |||
├─ price | string | 必须 | |||
├─ cost | string | 必须 | |||
├─ profit | string,number | 必须 | |||
├─ collect | string | 必须 | |||
├─ changes | string | 必须 | |||
├─ repeats | string,number | 必须 | |||
├─ store_name | string | 必须 | |||
├─ image | string | 必须 |
Path: /adminapi/statistic/product/get_excel
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 2020/11/24-2020/12/23 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ url | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/adminapi/statistic/product/get_trend
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJwcm8uY3JtZWIubXkiLCJhdWQiOiJwcm8uY3JtZWIubXkiLCJpYXQiOjE2MDQwNDUxNzEsIm5iZiI6MTYwNDA0NTE3MSwiZXhwIjoxNjA0MDU1OTcxLCJqdGkiOnsiaWQiOjEsInR5cGUiOiJhZG1pbiJ9fQ.rNL3MWbqmN9GTk_o1eRNgfL4DWi56zancJof8ZSH_9U |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 2020/5/27-2020/10/26 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ xAxis | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ data | number [] | 必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ type | string | 必须 | |||
├─ smooth | string | 必须 | |||
├─ yAxisIndex | number | 必须 |
Path: /adminapi/adminapi/statistic/user/get_region
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 2020/7/1-2020/10/31 | |
channel_type | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ allNum | number | 必须 | |||
├─ province | string | 必须 | |||
├─ newNum | number | 必须 | |||
├─ visitNum | number | 必须 | |||
├─ payPrice | number | 必须 |
Path: /adminapi/adminapi/statistic/user/get_sex
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
channel_type | 是 | ||
data | 是 | 2020/1/1-2020/10/31 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ name | string | 必须 | |||
├─ name_key | number | 必须 |
Path: /adminapi/adminapi/statistic/user/get_wechat
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
channel_type | 是 | wechat routine h5 pc | |
data | 是 | 2020/7/1-2020/10/31 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ subscribe | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ unSubscribe | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ increaseSubscribe | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cumulativeSubscribe | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cumulativeUnSubscribe | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ percent | string | 非必须 |
Path: /adminapi/adminapi/statistic/user/get_wechat_trend
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
channel_type | 是 | wechat routine h5 pc | |
data | 是 | 2020/7/1-2020/10/31 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ xAxis | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ value | number [] | 必须 | item 类型: number | ||
├─ | 非必须 |
Path: /adminapi/adminapi/statistic/user/get_basic
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
channel_type | 是 | wechat 公众号 routine 小程序 h5 pc | |
data | 是 | 2020/10/1-2020/10/31 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ people | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ browse | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ newUser | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ payPeople | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ payPercent | object | 非必须 | |||
├─ num | string | 非必须 | |||
├─ last_num | string | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ payUser | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ rechargePeople | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ payPrice | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cumulativeUser | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cumulativePayUser | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cumulativeRechargePeople | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 | |||
├─ cumulativePayPeople | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ last_num | number | 非必须 | |||
├─ percent | string | 非必须 |
Path: /adminapi/statistic/user/get_excel
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
channel_type | 是 | 用户渠道 | |
data | 是 | 时间 2020/11/30-2020/12/30 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ url | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/adminapi/statistic/user/get_trend
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
channel_type | 是 | wechat routine h5 pc | |
data | 是 | 2020/7/1-2020/10/31 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ xAxis | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ value | number [] | 必须 | item 类型: number | ||
├─ | 非必须 |
Path: /adminapi/statistic/trade/top_trade
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
time | 是 | today/yestoday | 今天昨天 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ left | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ x | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ money | number | 必须 | |||
├─ value | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ right | object | 非必须 | |||
├─ today | object | 非必须 | |||
├─ x | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ now_money | number | 必须 | |||
├─ last_money | number | 必须 | |||
├─ rate | number | 必须 | |||
├─ value | number [] | 必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ month | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ now_money | number | 必须 | |||
├─ last_money | number | 必须 | |||
├─ rate | string | 必须 | |||
├─ value | object | 必须 | |||
├─ 2021-01-01 | number | 非必须 | |||
├─ 2021-01-02 | number | 非必须 | |||
├─ 2021-01-03 | number | 非必须 | |||
├─ 2021-01-04 | number | 非必须 | |||
├─ 2021-01-05 | number | 非必须 | |||
├─ 2021-01-06 | number | 非必须 | |||
├─ 2021-01-07 | number | 非必须 | |||
├─ 2021-01-08 | number | 非必须 | |||
├─ 2021-01-09 | number | 非必须 | |||
├─ 2021-01-10 | number | 非必须 | |||
├─ 2021-01-11 | number | 非必须 | |||
├─ 2021-01-12 | number | 非必须 | |||
├─ 2021-01-13 | number | 非必须 | |||
├─ 2021-01-14 | number | 非必须 | |||
├─ 2021-01-15 | number | 非必须 | |||
├─ 2021-01-16 | number | 非必须 | |||
├─ 2021-01-17 | number | 非必须 | |||
├─ 2021-01-18 | number | 非必须 | |||
├─ 2021-01-19 | number | 非必须 | |||
├─ 2021-01-20 | number | 非必须 | |||
├─ 2021-01-21 | number | 非必须 | |||
├─ 2021-01-22 | number | 非必须 | |||
├─ 2021-01-23 | number | 非必须 | |||
├─ 2021-01-24 | number | 非必须 | |||
├─ 2021-01-25 | number | 非必须 | |||
├─ 2021-01-26 | number | 非必须 | |||
├─ 2021-01-27 | number | 非必须 | |||
├─ 2021-01-28 | number | 非必须 | |||
├─ 2021-01-29 | number | 非必须 | |||
├─ 2021-01-30 | number | 非必须 | |||
├─ 2021-01-31 | number | 非必须 |
Path: /adminapi/statistic/trade/bottom_trade
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
data | 是 | 今天:today 昨天:yestoday 本月:month 上月:last_month 今年:year 最近7天:7 最近30天:30 自由时间:['start_time' =>开始时间, 'end_time' => 结束时间] |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ x | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ series | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ money | string,number | 必须 | |||
├─ type | number | 必须 | |||
├─ rate | number | 必须 | |||
├─ value | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ export | string | 非必须 |
Path: /adminapi/setting/config/header_basics
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 0 | 类型 0-系统 1-应用 2-支付 3-其他 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ config_tab | object [] | 非必须 | item 类型: object | ||
├─ value | string | 非必须 | 配置分类id | ||
├─ label | string | 非必须 | 配置分类名称 | ||
├─ icon | string | 非必须 | 图标 | ||
├─ type | string | 非必须 | 配置类型 |
Path: /adminapi/serve/captcha
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机号码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/serve/checkCode
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机号 | |
verify_code | text | 是 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/register
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
phone | text | 是 | 手机号码 | |
account | text | 是 | 账号 | |
password | text | 是 | 密码 | |
verify_code | text | 是 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 |
Path: /adminapi/serve/login
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 账号 | |
password | text | 是 | 密码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ access_token | string | 非必须 | token | ||
├─ expires_in | number | 非必须 | 过期时间 |
Path: /adminapi/serve/info
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ account | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ consume | string | 非必须 | |||
├─ sms | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ surp | number | 非必须 | |||
├─ sign | string | 非必须 | |||
├─ open | number | 非必须 | |||
├─ query | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ surp | number | 非必须 | |||
├─ open | number | 非必须 | |||
├─ dump | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ surp | number | 非必须 | |||
├─ open | number | 非必须 | |||
├─ copy | object | 非必须 | |||
├─ num | number | 非必须 | |||
├─ surp | number | 非必须 | |||
├─ open | number | 非必须 |
Path: /adminapi/serve/opn_express
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
com | text | 是 | 快递公司 | |
temp_id | text | 是 | 打印模板 | |
to_name | text | 是 | 寄件人 | |
to_tel | text | 是 | 寄件人电话 | |
siid | text | 是 | 云打印机编号 | |
to_address | text | 是 | 寄件人详细地址 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/sms/open
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
sign | 是 | 签名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/sms/sign
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
sign | text | 是 | 短信签名 | |
phone | text | 是 | 手机号 | |
code | text | 是 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/sms/temps
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
temp_type | 是 | 1 | 模板类型:1,验证码;2,通知;3,营销短信 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ temp_id | string | 必须 | |||
├─ title | string | 必须 | |||
├─ content | string | 必须 | |||
├─ temp_type | number | 必须 | |||
├─ status | number | 必须 | |||
├─ templateid | string | 必须 | |||
├─ type | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/notify/sms/temp/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/notify/sms/temp
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 模板名称 | |
content | text | 是 | 【您的短信签名】您的验证码是:{$code},有效期为{$time}分钟。如非本人操作,可不用理会。模板中的{$code}和{$time}需要替换成对应的变量,请开发者知晓。修改此项无效! | 模板内容示例 |
type | text | 是 | 1 | 模板类型 1-验证码 2-通知 3-推广 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/sms/apply
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 短信名 | |
content | text | 是 | 短信内容 | |
type | text | 是 | 模板类型:1,验证码;2,通知;3,营销短信 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/serve/sms/apply_record
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 页码 | |
limit | 是 | 展示调试 | |
temp_type | 是 | 模板类型:1,验证码;2,通知;3,营销短信 |
Path: /adminapi/serve/open
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 1=开通复制商品,0=开通物流查询 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/record
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
type | 是 | 1 = 短信,2= 电子面单,3 = 物流查询,4 = 复制商品 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 必须 | |||
├─ data | object | 必须 | 电子面单 | ||
├─ from_name | string | 必须 | 发货人 | ||
├─ to_name | string | 必须 | 收货人 | ||
├─ code | string | 必须 | 快递公司编码 | ||
├─ num | string | 必须 | 快递单号 | ||
├─ order_id | string | 必须 | 订单号 | ||
├─ add_time | string | 必须 | 电子面单打印时间 | ||
├─ _resultcode | string | 必须 | 状态 | ||
├─ data_1 | object | 必须 | 快递查询 | ||
├─ content | object | 必须 | 快递查询结果内容 | ||
├─ ischeck | string | 必须 | 快递状态 | ||
├─ com | string | 必须 | 快递公司编码 | ||
├─ num | string | 必须 | 快递单号 | ||
├─ content | object | 必须 | 数组对象 | ||
├─ time | string | 必须 | 时间 | ||
├─ status | string | 必须 | 描述 | ||
├─ code | string | 必须 | 快递公司编码 | ||
├─ add_time | string | 必须 | 添加时间 | ||
├─ _resultcode | string | 必须 | 状态 | ||
├─ data_2 | object [] | 必须 | 复制商品 | item 类型: object | |
├─ add_time | string | 必须 | 添加时间 | ||
├─ _resultcode | string | 必须 | 请求状态 | ||
├─ url | string | 必须 | 复制URL |
Path: /adminapi/serve/export_all
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | 快递公司名称 | ||
├─ code | string | 必须 | 快递公司编码 | ||
├─ mark | string | 必须 | 备注 | ||
├─ partner_id | number | 必须 | |||
├─ partner_key | number | 必须 | |||
├─ net | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/serve/export_temp
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
com | 是 | 快递公司编码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ title | string | 非必须 | 标题 | ||
├─ code | string | 非必须 | 快递公司编码 | ||
├─ temp_id | string | 非必须 | 模板编号 | ||
├─ pic | string | 非必须 | 模板图片 | ||
├─ count | number | 非必须 |
Path: /adminapi/serve/modify
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 账号 | |
password | text | 是 | 新密码 | |
phone | text | 是 | 手机号 | |
verify_code | text | 是 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/update_phone
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 账号 | |
phone | text | 是 | 手机号 | |
verify_code | text | 是 | 验证码 | |
password | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/serve/meal_list
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authori-zation | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 套餐类型:sms,短信;expr_query,物流查询;dump,电子面单;copy,产品复制 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ price | string | 必须 | |||
├─ num | number | 必须 | |||
├─ type | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/serve/pay_meal
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
Authori-zation | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
meal_id | text | 是 | ||
price | text | 是 | ||
num | text | 是 | ||
type | text | 是 | ||
pay_type | text | 是 | 支付方式:weixin:微信;alipay:支付宝; |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ qr_code | string | 非必须 | |||
├─ code_url | string | 非必须 | |||
├─ invalid | string | 非必须 |
Path: /adminapi/serve/dump_open
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ isOpen | boolean | 非必须 | true = 开通,false=未开通 |
Path: /adminapi/diy/get_list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 1 | 类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ is_diy | number | 必须 | |||
├─ template_name | string | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ name | string | 必须 | |||
├─ type | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ update_time | string | 必须 | |||
├─ status | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/diy/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 默认模板 | 模板名称 |
template_name | text | 是 | moren | 页面类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/diy/get_product
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: 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 | 必须 | |||
├─ description | string | 必须 | |||
├─ couponId | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ issue_coupon_id | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ title | string | 必须 |
Path: /adminapi/diy/get_product_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: 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 | number | 必须 | |||
├─ vip_price | number | 必须 | |||
├─ ot_price | number | 必须 | |||
├─ postage | number | 必须 | |||
├─ 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 | number | 必须 | |||
├─ cost | number | 必须 | |||
├─ is_seckill | number | 必须 | |||
├─ is_bargain | null | 必须 | |||
├─ is_good | number | 必须 | |||
├─ is_sub | number | 必须 | |||
├─ is_vip | number | 必须 | |||
├─ ficti | number | 必须 | |||
├─ browse | number | 必须 | |||
├─ code_path | string | 必须 | |||
├─ soure_link | string | 必须 | |||
├─ video_link | string | 必须 | |||
├─ temp_id | number | 必须 | |||
├─ spec_type | number | 必须 | |||
├─ activity | string | 必须 | |||
├─ spu | string | 必须 | |||
├─ label_id | string | 必须 | |||
├─ command_word | string | 必须 | |||
├─ description | string | 必须 | |||
├─ couponId | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ product_id | number | 必须 | |||
├─ issue_coupon_id | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ title | string | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ is_product_type | number | 必须 |
Path: /adminapi/diy/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/diy/set_recovery/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 页面模板id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/diy/get_page_category
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | 编号 | ||
├─ pid | number | 必须 | 上级ID | ||
├─ type | string | 必须 | 类型 | ||
├─ name | string | 必须 | 名称 | ||
├─ title | string | 必须 | 标题 | ||
├─ expand | boolean | 必须 | |||
├─ children | object [] | 必须 | 下级 | item 类型: object | |
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ type | string | 必须 | |||
├─ name | string | 必须 | |||
├─ title | string | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ children | string [] | 必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/diy/get_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 模版id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ version | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ template_name | string | 非必须 | |||
├─ value | object | 非必须 | |||
├─ 1609988537085000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ 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 | 必须 | |||
├─ 1609989263787000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ numConfig | object | 非必须 | |||
├─ val | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ selectConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ activeValue | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ title | string | 必须 | |||
├─ activeValue | string | 必须 | |||
├─ listStyle | object | 非必须 | |||
├─ cname | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ val | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ bgColor | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ default | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ color | object [] | 非必须 | item 类型: object | ||
├─ item | string | 非必须 | |||
├─ itemConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ mbConfig | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ val | number | 非必须 | |||
├─ min | number | 非必须 | |||
├─ 1609988577773000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ 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 | ||
├─ | 非必须 | ||||
├─ 1609990421445000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ 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 | 非必须 | |||
├─ 1609991031373000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ 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 | 非必须 | |||
├─ 1609991361201000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ 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 | 非必须 | |||
├─ 1609991370825000 | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ timestamp | string | 非必须 | |||
├─ 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 | 非必须 | |||
├─ 1609991382160000 | 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 | 必须 | |||
├─ default_value | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ update_time | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ is_diy | number | 非必须 | |||
├─ is_del | number | 非必须 |
Path: /adminapi/diy/save/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 修改模板ID |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
version | text | 是 | v1 | 版本号 |
name | text | 是 | 测试模板 | 模板名称 |
value | text | 是 | {} | 模板值 |
type | text | 是 | 1 | 模板类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | string | 非必须 |
Path: /adminapi/diy/del/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 删除模板ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/diy/set_status/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 使用模板ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/diy/recovery/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/diy/get_category
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 |
Path: /adminapi/diy/get_url
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ url | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ url | string | 必须 | |||
├─ parameter | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ example | string | 必须 |
Path: /adminapi/diy/get_store_status
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ store_status | string | 非必须 |
Path: /adminapi/diy/get_by_category
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ pid | number | 必须 | |||
├─ pic | string | 必须 |
Path: /adminapi/setting/group_all
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 |
Path: /adminapi/setting/group_data/header
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 1 | 组合数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ header | object [] | 非必须 | item 类型: object | ||
├─ key | string | 必须 | |||
├─ title | string | 必须 | |||
├─ minWidth | number | 必须 | |||
├─ type | string | 非必须 | |||
├─ slot | string | 必须 | |||
├─ fixed | string | 非必须 |
Path: /adminapi/setting/group_data
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 1 | 组合数据id |
page | 否 | 1 | 页码 |
limit | 否 | 15 | 每页条数 |
status | 否 | 1 | 是否显示 1-显示 0-不显示 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ gid | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ img | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ comment | string | 非必须 | |||
├─ link | string | 非必须 | |||
├─ count | number | 非必须 | |||
├─ type | string | 非必须 |
Path: /adminapi/setting/group_data/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 1 | 组合数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/group_data
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
gid | text | 是 | 1 | 组合数据id |
banner/img/name/pic/info/time | text | 是 | 数据字段对应的数据值 | |
sort | text | 是 | 排序 | |
status | text | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/group_data/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 数据id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
gid | 是 | 1 | 组合数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/group_data/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
banner/img/name/pic/info/time | text | 是 | (banner)v1/test.png | 数据字段对应的数据值 |
sort | text | 是 | 2 | 排序 |
status | text | 是 | 1 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/group_data/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/group_data/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 数据id |
status | 1 | 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/get_kf_adv
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ content | string | 非必须 |
Path: /adminapi/setting/set_kf_adv
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
content | 是 | 协议内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/role/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 身份id 新增时为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
role_name | text | 是 | 身份名称 | |
status | text | 是 | 状态 | |
checked_menus | text | 是 | [1.2.3] | 选中的菜单id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/role/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类 |
status | 1 | 状态 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/role
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
status | 否 | 1 | 状态 |
role_name | 否 | 身份昵称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ role_name | string | 必须 | |||
├─ rules | string | 必须 | |||
├─ level | number | 必须 | |||
├─ status | number | 必须 |
Path: /adminapi/setting/role/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 身份id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/role/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ menus | object [] | 非必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 |
Path: /adminapi/setting/role/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 身份id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ role | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ role_name | string | 非必须 | |||
├─ rules | string | 非必须 | |||
├─ level | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ menus | object [] | 非必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ pid | number | 必须 | |||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 | |||
├─ expand | boolean | 必须 |
Path: /adminapi/setting/admin
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 页码 |
limit | 是 | 10 | 展示条数 |
name | 否 | 管理员姓名 | |
roles | 否 | 权限 | |
status | 否 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ account | string | 必须 | |||
├─ head_pic | string | 必须 | |||
├─ pwd | string | 必须 | |||
├─ real_name | string | 必须 | |||
├─ roles | string | 必须 | |||
├─ last_ip | string | 必须 | |||
├─ last_time | number | 必须 | |||
├─ add_time | number | 必须 | |||
├─ login_count | number | 必须 | |||
├─ level | number | 必须 | |||
├─ status | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ _add_time | string | 必须 | |||
├─ _last_time | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/setting/admin/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/admin
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 管理员账号之能为英文加数字 | |
conf_pwd | text | 是 | 确认密码 | |
pwd | text | 是 | 密码 | |
roles | text | 是 | 权限 | |
status | text | 是 | 状态 | |
real_name | text | 是 | 管理员姓名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200 = 正确 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/setting/admin/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 管理员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/admin/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 管理员id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 管理员账号 | |
conf_pwd | text | 否 | 确认密码 不填写不修改密码 | |
pwd | text | 否 | 密码 不填写不修改密码 | |
real_name | text | 否 | 姓名 | |
roles | text | 是 | 权限 | |
status | text | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200 = 正确 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/setting/admin/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 管理员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 400 = 错误,200 = 正确 | ||
msg | string | 非必须 | 提示 |
Path: /adminapi/setting/info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | 管理员id | ||
├─ account | string | 非必须 | 管理员账号 | ||
├─ head_pic | string | 非必须 | 头像 | ||
├─ real_name | string | 非必须 | 姓名 | ||
├─ roles | string [] | 非必须 | 权限 | item 类型: string | |
├─ | 非必须 | ||||
├─ last_ip | string | 非必须 | 最近访问ip | ||
├─ last_time | number | 非必须 | 最近访问时间戳 | ||
├─ add_time | number | 非必须 | 添加时间戳 | ||
├─ login_count | number | 非必须 | 登陆次数 | ||
├─ level | number | 非必须 | 等级 |
Path: /adminapi/setting/update_admin
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
real_name | text | 是 | 管理员姓名 | |
head_pic | text | 是 | 头像 | |
pwd | text | 否 | 旧密码 填写则修改密码 | |
new_pwd | text | 否 | 新密码 填写则修改密码 | |
conf_pwd | text | 否 | 确认密码 填写则修改密码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 200 = 成功,400 = 错误 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/setting/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 管理员id |
status | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/menus
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
is_show | 否 | 是否显示 | |
keyword | 否 | 搜索词 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ module | string | 必须 | |||
├─ controller | string | 必须 | |||
├─ action | string | 必须 | |||
├─ api_url | string | 必须 | |||
├─ methods | string | 必须 | |||
├─ params | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_show_path | number | 必须 | |||
├─ access | number | 必须 | |||
├─ menu_path | string | 必须 | |||
├─ path | string | 必须 | |||
├─ auth_type | number | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ unique_auth | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ module | string | 必须 | |||
├─ controller | string | 必须 | |||
├─ action | string | 必须 | |||
├─ api_url | string | 必须 | |||
├─ methods | string | 必须 | |||
├─ params | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_show_path | number | 必须 | |||
├─ access | number | 必须 | |||
├─ menu_path | string | 必须 | |||
├─ path | string | 必须 | |||
├─ auth_type | number | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ unique_auth | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ module | string | 必须 | |||
├─ controller | string | 必须 | |||
├─ action | string | 必须 | |||
├─ api_url | string | 必须 | |||
├─ methods | string | 必须 | |||
├─ params | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_show_path | number | 必须 | |||
├─ access | number | 必须 | |||
├─ menu_path | string | 必须 | |||
├─ path | string | 必须 | |||
├─ auth_type | number | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ unique_auth | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ module | string | 必须 | |||
├─ controller | string | 必须 | |||
├─ action | string | 必须 | |||
├─ api_url | string | 必须 | |||
├─ methods | string | 必须 | |||
├─ params | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_show_path | number | 必须 | |||
├─ access | number | 必须 | |||
├─ menu_path | string | 必须 | |||
├─ path | string | 必须 | |||
├─ auth_type | number | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ unique_auth | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ module | string | 必须 | |||
├─ controller | string | 必须 | |||
├─ action | string | 必须 | |||
├─ api_url | string | 必须 | |||
├─ methods | string | 必须 | |||
├─ params | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_show_path | number | 必须 | |||
├─ access | number | 必须 | |||
├─ menu_path | string | 必须 | |||
├─ path | string | 必须 | |||
├─ auth_type | number | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ unique_auth | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ module | string | 必须 | |||
├─ controller | string | 必须 | |||
├─ action | string | 必须 | |||
├─ api_url | string | 必须 | |||
├─ methods | string | 必须 | |||
├─ params | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_show_path | number | 必须 | |||
├─ access | number | 必须 | |||
├─ menu_path | string | 必须 | |||
├─ path | string | 必须 | |||
├─ auth_type | number | 必须 | |||
├─ header | string | 必须 | |||
├─ is_header | number | 必须 | |||
├─ unique_auth | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ heࡡder | string | 非必须 |
Path: /adminapi/setting/menus/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ label | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ label | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ label | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ label | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ label | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ label | string | 必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/menus
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
menu_name | text | 是 | 菜单明 中英文 | |
controller | text | 是 | 控制器名 英文 | |
module | text | 是 | 模型名 英文 | |
action | text | 是 | 方法名 | |
icon | text | 是 | 图标类名 | |
params | text | 是 | 参数 | |
path | text | 是 | 路径 | |
menu_path | text | 是 | 路由地址 提供前台使用 | |
api_url | text | 是 | 接口地址 | |
methods | text | 是 | 方法 | |
unique_auth | text | 是 | 唯一标识前台权限使用 | |
header | text | 是 | 头部 | |
is_header | text | 是 | 是否头部 | |
pid | text | 是 | 父级id | |
sort | text | 是 | 排序 | |
auth_type | text | 是 | 1 = 菜单,2= 接口 | |
access | text | 是 | 子管理员是否能用 | |
is_show | text | 是 | 是否显示 | |
is_show_path | text | 是 | 显示路径 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 200 = 添加成功,400 = 失败 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/setting/menus/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 规则id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ title | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ required | boolean | 必须 | |||
├─ trigger | string | 必须 | |||
├─ type | string | 必须 | |||
├─ message | string | 必须 | |||
├─ col | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ options | object [] | 必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/setting/menus/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 权限id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
menu_name | text | 是 | 菜单名称 | |
controller | text | 是 | 控制器名称 英文 | |
module | text | 是 | 模块名称 | |
action | text | 是 | 方法名称 | |
params | text | 是 | 参数 | |
icon | text | 是 | 字体图标class | |
menu_path | text | 是 | 路由地址 前台使用 | |
unique_auth | text | 是 | 唯一权限 前台使用 | |
path | text | 是 | 路径 | |
sort | text | 是 | 排序 | |
pid | text | 是 | 上级id | |
is_header | text | 是 | 是否头部 | |
header | text | 是 | 头部 | |
auth_type | text | 是 | 1=菜单,2=接口 | |
access | text | 是 | 子管理员是否能用 | |
is_show | text | 是 | 是否显示 | |
is_show_path | text | 是 | 显示路径 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/menus/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 规则id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/menus/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 规则id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ pid | number | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ menu_name | string | 非必须 | |||
├─ module | string | 非必须 | |||
├─ controller | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ api_url | string | 非必须 | |||
├─ methods | string | 非必须 | |||
├─ params | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_show_path | number | 非必须 | |||
├─ access | number | 非必须 | |||
├─ menu_path | string | 非必须 | |||
├─ path | number [] | 非必须 | item 类型: number | ||
├─ | 非必须 | ||||
├─ auth_type | number | 非必须 | |||
├─ header | string | 非必须 | |||
├─ is_header | number | 非必须 | |||
├─ unique_auth | string | 非必须 | |||
├─ is_del | number | 非必须 |
Path: /adminapi/setting/menus/show/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 规则id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
is_show | text | 是 | 1 = 显示 ,0 = 隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/delivery/index
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ avatar | string | 必须 | |||
├─ wx_name | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/order/delivery/add
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ srcKey | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/delivery/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
image | text | 是 | 用户头像 | |
uid | text | 是 | 用户uid | |
avatar | text | 是 | 图像 | |
phone | text | 是 | 电话号码 | |
nickname | text | 是 | 名称 | |
status | text | 是 | 账号状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/delivery/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配送员id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ maxlength | number | 非必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/order/delivery/update/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
avatar | text | 是 | 头像 | |
nickname | text | 是 | 姓名 | |
phone | text | 是 | 电话 | |
status | text | 是 | 账号状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/order/delivery/del/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /adminapi/order/delivery/set_status/:id/:status
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | ||
status |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 |
Path: /adminapi/adminapi/order/delivery/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
nickname | 是 | 昵称搜索 | |
data | 是 | 时间搜索 | |
type | 是 | 用户类型搜索(详见客服) |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/adminapi/order/delivery/list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ avatar | string | 必须 | |||
├─ wx_name | string | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/adminapi/order/delivery/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/adminapi/order/delivery/set_status/:id/:status
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | ||
status |
Path: /adminapi/merchant/store/address
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ key | string | 非必须 |
Path: /adminapi/merchant/store/get_header
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | object | 非必须 | |||
├─ show | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ num | number | 非必须 | |||
├─ hide | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ num | number | 非必须 | |||
├─ recycle | object | 非必须 | |||
├─ name | string | 非必须 | |||
├─ num | number | 非必须 |
Path: /adminapi/merchant/store
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
keywords | 是 | ||
type | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ name | string | 必须 | |||
├─ introduction | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ address | string | 必须 | |||
├─ detailed_address | string | 必须 | |||
├─ image | string | 必须 | |||
├─ latitude | string | 必须 | |||
├─ longitude | string | 必须 | |||
├─ valid_time | string | 必须 | |||
├─ day_time | string | 必须 | |||
├─ add_time | number | 必须 | |||
├─ is_show | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/merchant/store/get_info/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 门店id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ introduction | string | 非必须 | |||
├─ phone | string | 非必须 | |||
├─ address | string | 非必须 | |||
├─ detailed_address | string | 非必须 | |||
├─ image | string | 非必须 | |||
├─ oblong_image | string | 非必须 | |||
├─ latitude | string | 非必须 | |||
├─ longitude | string | 非必须 | |||
├─ valid_time | string | 非必须 | |||
├─ day_time | string | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ is_show | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ latlng | string | 非必须 | |||
├─ dataVal | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ timeVal | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ address2 | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/merchant/store/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 门店名称 | |
introduction | text | 否 | 门店简介 | |
image | text | 是 | 门店logo | |
phone | text | 是 | 门店电话 | |
address | text | 是 | [陕西,西安,未央区] | 地址 |
detailed_address | text | 是 | 启航大厦 | 详细地址 |
latlng | text | 是 | 34.29318,108.94712 | 经纬度 |
day_time | text | 是 | [08:00:00,18:00:00] | 营业时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/merchant/store/set_show/:id/:is_show
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 门店ID | |
is_show | 1显示0隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/merchant/store/del/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 门店ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/export/storeMerchant
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keywords | 否 | 名称 | 关键字 |
type | 否 | 显示、隐藏、回收站 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel地址 |
Path: /adminapi/merchant/store_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | 门店id | ||
├─ name | string | 非必须 | 门店名称 |
Path: /adminapi/merchant/store_staff
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
store_id | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ uid | number | 必须 | |||
├─ avatar | string | 必须 | |||
├─ store_id | number | 必须 | |||
├─ staff_name | string | 必须 | |||
├─ phone | string | 必须 | |||
├─ verify_status | number | 必须 | |||
├─ status | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ name | string | 必须 | |||
├─ nickname | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/merchant/store_staff/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ srcKey | string | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/merchant/store_staff/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ width | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ col | object | 必须 | |||
├─ span | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/merchant/store_staff/save/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 店员ID 新增为0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
image | text | 是 | 图像 | |
avatar | text | 是 | 核销员图像 | |
uid | text | 是 | uid | |
store_id | text | 是 | 提货点id | |
staff_name | text | 是 | 名称 | |
phone | text | 是 | 手机号 | |
verify_status | text | 是 | 核销开关 | |
status | text | 是 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/merchant/store_staff/del/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 店员ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/merchant/store_staff/set_show/:id/:is_show
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 店员ID | |
is_show |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/merchant/verify_order
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
data | 是 | 时间 | |
real_name | 是 | 筛选条件 | |
store_id | 是 | 门店ID | |
type | 是 | 类型 | |
field_key | 是 | order_id uid user_phone real_namet title | 准确搜索字段 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ order_id | string | 必须 | |||
├─ trade_no | string | 必须 | |||
├─ uid | number | 必须 | |||
├─ real_name | string | 必须 | |||
├─ user_phone | string | 必须 | |||
├─ user_address | string | 必须 | |||
├─ cart_id | 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 | string | 必须 | |||
├─ 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,string | 必须 | |||
├─ delivery_code | string | 必须 | |||
├─ delivery_type | null,string | 必须 | |||
├─ delivery_id | null,string | 必须 | |||
├─ fictitious_content | string | 必须 | |||
├─ delivery_uid | number | 必须 | |||
├─ gain_integral | string | 必须 | |||
├─ use_integral | string | 必须 | |||
├─ back_integral | null | 必须 | |||
├─ mark | string | 必须 | |||
├─ is_del | number | 必须 | |||
├─ unique | string | 必须 | |||
├─ remark | null | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ is_mer_check | number | 必须 | |||
├─ combination_id | number | 必须 | |||
├─ pink_id | number | 必须 | |||
├─ cost | string | 必须 | |||
├─ seckill_id | number | 必须 | |||
├─ bargain_id | number | 必须 | |||
├─ verify_code | string | 必须 | |||
├─ store_id | number | 必须 | |||
├─ shipping_type | number | 必须 | |||
├─ clerk_id | number | 必须 | |||
├─ is_channel | number | 必须 | |||
├─ is_remind | number | 必须 | |||
├─ is_system_del | number | 必须 | |||
├─ channel_type | string | 必须 | |||
├─ province | string | 必须 | |||
├─ express_dump | string | 必须 | |||
├─ nickname | string,null | 必须 | |||
├─ phone | string,null | 必须 | |||
├─ spread_uid | number,null | 必须 | |||
├─ spread_nickname | string,null | 必须 | |||
├─ store_name | string | 必须 | |||
├─ staff_uid | null,number | 必须 | |||
├─ staff_store_id | null,number | 必须 | |||
├─ clerk_name | string | 必须 | |||
├─ _info | object | 必须 | |||
├─ 977443148082577408 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 35073415353039847424 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 35073391230100176896 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 35073389617792942080 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 78772333537298087936 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 78772332211101106176 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 78170576061502455808 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 569843927804411904 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 669740392135786496 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ 569015305552134144 | object | 非必须 | |||
├─ cart_info | 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 | 非必须 | |||
├─ integral_price | number | 非必须 | |||
├─ _pay_time | string | 必须 | |||
├─ pink_name | string | 必须 | |||
├─ color | string | 必须 | |||
├─ pay_type_name | string | 必须 | |||
├─ status_name | object | 必须 | |||
├─ status_name | string | 非必须 | |||
├─ pics | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ _status | number | 必须 | |||
├─ badge | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ field | string | 必须 | |||
├─ count | number,string,null | 必须 | |||
├─ className | string | 必须 | |||
├─ col | number | 必须 |
Path: /adminapi/merchant/verify_badge
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | 名称 | ||
├─ field | string | 必须 | 单位 | ||
├─ count | number,null | 必须 | 数量 | ||
├─ background_color | string | 必须 | 颜色 | ||
├─ col | number | 必须 |
Path: /adminapi/merchant/verify/spread_info/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid | 1 | 用户ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ spread | object | 非必须 | |||
├─ uid | number | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ birthday | number | 非必须 | |||
├─ card_id | string | 非必须 | |||
├─ partner_id | number | 非必须 | |||
├─ group_id | number | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ avatar | string | 非必须 | |||
├─ phone | null | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ last_time | number | 非必须 | |||
├─ now_money | string | 非必须 | |||
├─ brokerage_price | string | 非必须 | |||
├─ integral | string | 非必须 | |||
├─ sign_num | number | 非必须 | |||
├─ status | 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 | 非必须 | |||
├─ login_type | string | 非必须 |
Path: /adminapi/setting/shipping_templates/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | |
limit | 是 | 15 | |
name | 是 | 测试模板 | 筛选模板名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | 总条数 | ||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | 模板ID | ||
├─ name | string | 非必须 | 模板名称 | ||
├─ type | string | 非必须 | 计费方式 | ||
├─ appoint | string | 非必须 | 是否开启指定包邮 | ||
├─ sort | number | 非必须 | 排序 | ||
├─ add_time | string | 非必须 | 添加时间 |
Path: /adminapi/setting/shipping_templates/save/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 修改模板ID 添加为0 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
region_info | object [] | 非必须 | 区域运费 | item 类型: object | |
├─ region | object [] | 必须 | item 类型: object | ||
├─ city_id | string | 必须 | 城市ID | ||
├─ name | string | 必须 | 城市名称 | ||
├─ children | object [] | 必须 | 下级 | item 类型: object | |
├─ city_id | string | 必须 | 城市ID | ||
├─ name | string | 必须 | 城市名称 | ||
├─ regionName | string [] | 必须 | 显示城市名称 | item 类型: string | |
├─ | 非必须 | ||||
├─ first | string | 必须 | 首件件数 | ||
├─ price | string | 必须 | 首件金额 | ||
├─ continue | string | 必须 | 续件件数 | ||
├─ continue_price | string | 必须 | 续件金额 | ||
├─ uniqid | string | 必须 | 唯一值 | ||
appoint_info | object [] | 非必须 | 区域包邮 | item 类型: object | |
├─ place | object [] | 非必须 | item 类型: object | ||
├─ city_id | string | 非必须 | 城市ID | ||
├─ name | string | 非必须 | 城市名称 | ||
├─ children | object [] | 非必须 | 下级 | item 类型: object | |
├─ city_id | string | 非必须 | 城市ID | ||
├─ name | string | 非必须 | 城市名称 | ||
├─ a_num | string | 非必须 | 包邮件数 | ||
├─ a_price | string | 非必须 | 包邮金额 | ||
├─ placeName | string [] | 非必须 | 城市显示名称 | item 类型: string | |
├─ | 非必须 | ||||
sort | string | 非必须 | 排序 | ||
type | string | 非必须 | 运费模板类型 | ||
name | string | 非必须 | 运费模板名称 | ||
appoint | string | 非必须 | 是否开启包邮 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/shipping_templates/del/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 运费模板ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 必须 | |||
msg | string | 必须 |
Path: /adminapi/setting/shipping_templates/city_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ city_id | number | 必须 | |||
├─ level | number | 必须 | |||
├─ parent_id | number | 必须 | |||
├─ area_code | string | 必须 | |||
├─ name | string | 必须 | |||
├─ merger_name | string | 必须 | |||
├─ lng | string | 必须 | |||
├─ lat | string | 必须 | |||
├─ is_show | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ city_id | number | 必须 | |||
├─ level | number | 必须 | |||
├─ parent_id | number | 必须 | |||
├─ area_code | string | 必须 | |||
├─ name | string | 必须 | |||
├─ merger_name | string | 必须 | |||
├─ lng | string | 必须 | |||
├─ lat | string | 必须 | |||
├─ is_show | number | 必须 |
Path: /adminapi/setting/shipping_templates/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 运费模板ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ appointList | object [] | 非必须 | 包邮地区 | item 类型: object | |
├─ place | object [] | 非必须 | 包邮地区 | item 类型: object | |
├─ city_id | number | 非必须 | 省份ID | ||
├─ name | string | 非必须 | 省份名称 | ||
├─ children | object [] | 非必须 | 下级城市 | item 类型: object | |
├─ city_id | number | 非必须 | 城市ID | ||
├─ name | string | 非必须 | 城市名称 | ||
├─ a_num | string | 非必须 | 包邮件数 | ||
├─ a_price | string | 非必须 | 包邮金额 | ||
├─ placeName | string [] | 非必须 | 显示省份 | item 类型: string | |
├─ | 非必须 | ||||
├─ templateList | object [] | 非必须 | 运费地区 | item 类型: object | |
├─ region | object [] | 非必须 | 运费地区 | item 类型: object | |
├─ city_id | number | 非必须 | 省份ID | ||
├─ name | string | 非必须 | 省份名称 | ||
├─ children | object [] | 非必须 | 下级城市 | item 类型: object | |
├─ city_id | number | 非必须 | 城市ID | ||
├─ name | string | 非必须 | 城市名称 | ||
├─ regionName | string [] | 非必须 | 显示省份 | item 类型: string | |
├─ | 非必须 | ||||
├─ first | string | 非必须 | 首件个数 | ||
├─ price | string | 非必须 | 首件金额 | ||
├─ continue | string | 非必须 | 续件个数 | ||
├─ continue_price | string | 非必须 | 续件金额 | ||
├─ uniqid | string | 非必须 | 唯一值 | ||
├─ formData | object | 非必须 | |||
├─ name | string | 非必须 | 模板名称 | ||
├─ type | number | 非必须 | 模板类型 | ||
├─ appoint_check | number | 非必须 | 是由包邮 | ||
├─ sort | number | 非必须 | 排序 |
Path: /adminapi/setting/notification/index
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 1 | 类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ mark | string | 必须 | |||
├─ name | string | 必须 | |||
├─ title | string | 必须 | |||
├─ is_system | number | 必须 | |||
├─ is_app | number | 必须 | |||
├─ is_wechat | number | 必须 | |||
├─ is_routine | number | 必须 | |||
├─ is_sms | number | 必须 | |||
├─ is_ent_wechat | number | 必须 | |||
├─ system_title | string | 必须 | |||
├─ system_text | string | 必须 | |||
├─ app_id | number | 必须 | |||
├─ wechat_id | string | 必须 | |||
├─ routine_id | string | 必须 | |||
├─ sms_id | number | 必须 | |||
├─ ent_wechat_text | string | 必须 | |||
├─ variable | string | 必须 | |||
├─ url | string | 必须 | |||
├─ type | number | 必须 | |||
├─ add_time | number | 必须 |
Path: /adminapi/setting/notification/info
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 是 | 通知id | |
type | 是 | 通知类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ is_system | number | 非必须 | |||
├─ is_app | number | 非必须 | |||
├─ is_wechat | number | 非必须 | |||
├─ is_routine | number | 非必须 | |||
├─ is_sms | number | 非必须 | |||
├─ is_ent_wechat | number | 非必须 | |||
├─ system_title | string | 非必须 | |||
├─ system_text | string | 非必须 | |||
├─ app_id | number | 非必须 | |||
├─ wechat_id | string | 非必须 | |||
├─ routine_id | string | 非必须 | |||
├─ sms_id | number | 非必须 | |||
├─ ent_wechat_text | string | 非必须 | |||
├─ variable | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ add_time | number | 非必须 | |||
├─ content | string | 非必须 |
Path: /adminapi/app/wechat/menu
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
button | text | 是 | appid: "112" |
name: "111"
pagepath: "3333"
sub_button: [{type: "click", name: "222", url: "123.com", key: "1212"},…]
0: {type: "click", name: "222", url: "123.com", key: "1212"}
1: {type: "view", name: "33", url: "http://crmeb.my"}
type: "view"
url: "http://crmeb.my" | type:click-关键字 view-跳转网页 miniprogram-小程序 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/menu
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ menus | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ name | string | 必须 | |||
├─ sub_button | object [] | 必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ name | string | 必须 | |||
├─ url | string | 必须 | |||
├─ key | string | 必须 | |||
├─ appid | string | 非必须 | |||
├─ pagepath | string | 非必须 | |||
├─ key | string | 必须 | |||
├─ url | string | 必须 | |||
├─ appid | string | 非必须 | |||
├─ pagepath | string | 非必须 |
Path: /adminapi/app/wechat/template/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
status | 1 | 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/template
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
name | 否 | 订单发货 | 模板名 |
status | 否 | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ industry | object | 非必须 | |||
├─ primary_industry | string | 非必须 | |||
├─ secondary_industry | string | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ tempkey | string | 必须 | |||
├─ name | string | 必须 | |||
├─ kid | string | 必须 | |||
├─ content | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ tempid | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status | number | 必须 |
Path: /adminapi/app/wechat/template/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/template
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tempkey | text | 是 | 模板编号 | |
tempid | text | 是 | 模板ID | |
name | text | 是 | 模板名 | |
content | text | 是 | 回复内容 | |
status | text | 是 | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/template/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/template/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tempid | text | 是 | 模板id | |
status | text | 是 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/template/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/wechat/news
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 0 | 图文id 新增时为0 |
list | text | 是 | list[0][id]: 0 |
list[0][title]: 文章标题
list[0][author]: admin
list[0][content]:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/news/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 图文id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/news
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
cate_name | 否 | 前景分析 | 图文名称模糊搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ cate_name | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ new_id | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ new | object [] | 必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ cid | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ author | string | 非必须 | |||
├─ image_input | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ synopsis | string | 非必须 | |||
├─ share_title | null | 非必须 | |||
├─ share_synopsis | null | 非必须 | |||
├─ visit | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ url | null | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ hide | number | 非必须 | |||
├─ admin_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_banner | number | 非必须 |
Path: /adminapi/app/wechat/news/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 图文id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ cate_name | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ new_id | string | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ new | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ cid | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ author | string | 非必须 | |||
├─ image_input | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ synopsis | string | 非必须 | |||
├─ share_title | null | 非必须 | |||
├─ share_synopsis | null | 非必须 | |||
├─ visit | string | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ url | null | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ hide | number | 非必须 | |||
├─ admin_id | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ is_hot | number | 非必须 | |||
├─ is_banner | number | 非必须 | |||
├─ content | string | 非必须 |
Path: /adminapi/app/wechat/reply
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
key | 是 | default subscribe | 关键词subscribe:关注 default :无效关键词 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | string | 非必须 | |||
├─ key | string | 非必须 | 关键词 | ||
├─ type | string | 非必须 | 回复类型 | ||
├─ data | string | 非必须 | 回复内容 | ||
├─ status | string | 非必须 | 状态 1-启用 0- 禁用 | ||
├─ hide | string | 非必须 | 是否隐藏 0-否 1-是 |
Path: /adminapi/app/wechat/keyword/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 回复内容id 新增时传0 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
key | text | 是 | 测试,111,元旦,222 | 关键词字符串 |
type | text | 是 | text | 回复类型 text-文本 image-图片 news-图文 voice-语音 |
status | text | 是 | 1 | 状态 |
data | text | 是 | {src: "/uploads/wechat/image/20191204/debd1617a9dd3dbcc601cbb2d9cc86cf.jpg"} | 回复内容 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/keyword/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 回复内容id |
status | 1 | 状态 1-启用 0-禁用 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/keyword
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 15 | 每页条数 |
key | 否 | fs | 关键词模糊搜索 |
type | 否 | text | 回复类型 text-文本 image-图片 news-图文 voice-语音 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ type | string | 必须 | |||
├─ data | object | 必须 | |||
├─ content | string | 非必须 | |||
├─ status | number | 必须 | |||
├─ hide | number | 必须 | |||
├─ keys | string | 必须 | |||
├─ typeName | string | 必须 | |||
├─ key | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/app/wechat/keyword/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 回复内容id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/keyword/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 回复内容id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ type | string | 非必须 | |||
├─ data | object | 非必须 | |||
├─ content | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ hide | number | 非必须 | |||
├─ key | string | 非必须 |
Path: /adminapi/app/wechat/code_reply/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 关键词 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ id | number | 非必须 | |||
├─ third_type | string | 非必须 | |||
├─ third_id | number | 非必须 | |||
├─ ticket | string | 非必须 | |||
├─ expire_seconds | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ url | string | 非必须 | |||
├─ qrcode_url | string | 非必须 | |||
├─ scan | number | 非必须 | |||
├─ type | number | 非必须 |
Path: /adminapi/app/wechat/user_group/:openid
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
openid | 用户openid |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
group_id | text | 是 | 12 | 分组id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/user_group/:openid/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
openid | 用户openid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/app/wechat/user_tag/:openid
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
openid | openid |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tag_id | text | 是 | 标签id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/user_tag/:openid/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
openid | 用户openid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/app/wechat/group
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ count | string | 非必须 |
Path: /adminapi/app/wechat/group/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分组id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/tag/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 标签id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/syn_tag/:openid
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
openid | 用户openid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/action/operate
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 |
Path: /adminapi/app/wechat/tag
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ count | string | 非必须 |
Path: /adminapi/app/wechat/group
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分组名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/group/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/app/wechat/tag
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 标签名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/tag/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/app/wechat/user
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
nickname | 否 | 阿杜 | 微信昵称 |
data | 否 | week | 时间选择 today 今天 week month year yesterday quarter lately7 lately30 |
tagid_list | 否 | 1,2,3 | 标签id组成的字符串 |
groupid | 否 | 2 | 分组id |
sex | 否 | 1 | 用户的性别,值为1时是男性,值为2时是女性,值为0时是未知 |
export | 否 | 0 | 输出方式 1-导出 其他为列表 |
subscribe | 否 | 1 | 是否关注 1-是 0-否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | integer | 非必须 | 用户id | ||
├─ openid | string | 非必须 | |||
├─ nickname | string | 非必须 | 微信昵称 | ||
├─ headimgurl | string | 非必须 | 头像 | ||
├─ sex | string | 非必须 | 性别 | ||
├─ country | string | 非必须 | 国家 | ||
├─ province | string | 非必须 | 省份 | ||
├─ city | string | 非必须 | 城市 | ||
├─ subscribe | string | 非必须 | 是否关注 | ||
├─ groupid | string | 非必须 | 分组id | ||
├─ tagid_list | string | 非必须 | 标签id | ||
├─ groupList | object [] | 非必须 | 分组列表 | item 类型: object | |
├─ id | string | 非必须 | 分组id | ||
├─ name | string | 非必须 | 分组名称 | ||
├─ tagList | object [] | 非必须 | 标签列表 | item 类型: object | |
├─ id | string | 非必须 | 标签id | ||
├─ name | string | 非必须 | 标签名称 |
Path: /adminapi/app/wechat/action
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 | |
nickname | 否 | 昵称 | |
type | 否 | 类型 | |
data | 否 | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | integer | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | |||
├─ nickname | string | 非必须 | |||
├─ type_name | string | 非必须 | 操作名称 | ||
├─ result_arr | object [] | 非必须 | item 类型: object | ||
├─ msg | string | 非必须 | 关联内容 | ||
├─ add_time | string | 非必须 | 操作时间 |
Path: /adminapi/app/wechat/group/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分组id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分组名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/group/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分组id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/app/wechat/tag/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 标签id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 标签名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/wechat/tag/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 标签id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/app/wechat/user/tag_group
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ groupList | object [] | 非必须 | 分组列表 | item 类型: object | |
├─ id | string | 非必须 | 分组id | ||
├─ name | string | 非必须 | 分组名称 | ||
├─ tagList | object [] | 非必须 | 标签列表 | item 类型: object | |
├─ id | string | 非必须 | 标签id | ||
├─ name | string | 非必须 | 标签名称 |
Path: /adminapi/export/wechatUser
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页数 |
limit | 否 | 20 | 每页条数 |
nickname | 否 | ||
data | 否 | ||
tagid_list | 否 | ||
groupid | 否 | ||
sex | 否 | ||
subscribe | 否 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 必须 | |||
msg | string | 必须 | |||
data | object | 必须 | excel文件地址 |
Path: /adminapi/app/routine/syncSubscribe
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/routine/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
status | 1 | 开启 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/routine
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 20 | 每页条数 |
name | 否 | 发货提醒 | 模板名 |
status | 否 | 1 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ industry | object | 非必须 | |||
├─ primary_industry | string | 非必须 | |||
├─ secondary_industry | string | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ tempkey | string | 必须 | |||
├─ name | string | 必须 | |||
├─ kid | string | 必须 | |||
├─ content | string [] | 必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ tempid | string | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status | number | 必须 |
Path: /adminapi/app/routine/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/routine
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tempkey | text | 是 | 模板编号 | |
tempid | text | 是 | 模板ID | |
name | text | 是 | 模板名 | |
content | text | 是 | 回复内容 | |
status | text | 是 | 状态 1-开启 0-关闭 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/routine/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/app/routine/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tempid | text | 是 | 模板ID | |
status | text | 是 | 1-开启 0-关闭 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/app/routine/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 模板id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 必须 | |||
├─ value | number | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/config_class/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类 |
status | 1 | 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config_class/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config_class
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
eng_title | text | 是 | 分类字段 | |
status | text | 是 | 1 | 状态 1-显示 2-隐藏 |
title | text | 是 | 公众号配置 | 分类昵称 |
icon | text | 是 | weixin | 图标 |
type | text | 是 | 0 | 类型 0-系统 1-应用 2-支付 3-其他 |
sort | text | 是 | 排序 | |
pid | text | 是 | 父类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config_class/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/config_class/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
title | text | 是 | 公众号配置 | 分类昵称 |
status | text | 是 | 1 | 状态 1-显示 2-隐藏 |
eng_title | text | 是 | 分类字段 | |
icon | text | 是 | weixin | 图标 |
type | text | 是 | 0 | 类型 0-系统 1-应用 2-支付 3-其他 |
sort | text | 是 | 排序 | |
pid | text | 是 | 父类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config_class/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ maxLength | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ src | string | 非必须 | |||
├─ icon | string | 非必须 | |||
├─ height | string | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/config_class
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | 页码 |
limit | 否 | 15 | 每页条数 |
status | 否 | 1 | 状态 1-显示 0-不显示 |
title | 否 | 商城 | 分类昵称模糊搜索 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ title | string | 必须 | |||
├─ eng_title | string | 必须 | |||
├─ status | number | 必须 | |||
├─ info | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ type | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ title | string | 必须 | |||
├─ eng_title | string | 必须 | |||
├─ status | number | 必须 | |||
├─ info | number | 必须 | |||
├─ icon | string | 必须 | |||
├─ type | number | 必须 | |||
├─ sort | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/setting/config
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
tab_id | 是 | 1 | 配置分类id |
page | 是 | ||
limit | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ menu_name | string | 必须 | |||
├─ type | string | 必须 | |||
├─ input_type | string,null | 必须 | |||
├─ config_tab_id | number | 必须 | |||
├─ parameter | null,string | 必须 | |||
├─ upload_type | null,number | 必须 | |||
├─ required | string,null | 必须 | |||
├─ width | number | 必须 | |||
├─ high | null,number | 必须 | |||
├─ value | string | 必须 | |||
├─ info | string | 必须 | |||
├─ desc | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 |
Path: /adminapi/setting/config/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | integer | 非必须 | 配置id | ||
├─ menu_name | string | 非必须 | 字段名称 | ||
├─ type | string | 非必须 | 类型(文本框,单选按钮...) | ||
├─ input_type | string | 非必须 | 表单类型 | ||
├─ config_tab_id | integer | 非必须 | 配置分类id | ||
├─ parameter | string | 非必须 | 规则 单选框和多选框 | ||
├─ upload_type | integer | 非必须 | 上传文件格式1单图2多图3文件 | ||
├─ required | string | 非必须 | 规则 | ||
├─ width | string | 非必须 | 多行文本框的宽度 | ||
├─ high | string | 非必须 | 多行文框的高度 | ||
├─ value | string | 非必须 | 默认值 | ||
├─ info | string | 非必须 | 配置名称 | ||
├─ desc | string | 非必须 | 配置简介 | ||
├─ sort | string | 非必须 | 排序 | ||
├─ status | string | 非必须 | 是否隐藏 |
Path: /adminapi/setting/config/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 否 | 0 | 类型 0-文本框 1-多行文本框 2-单选框 3-文件上传 4-多选框 5-下拉框 |
tab_id | 否 | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ autofocus | boolean | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number,string | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/config
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
menu_name | text | 是 | ||
type | text | 是 | ||
input_type | text | 是 | ||
config_tab_id | text | 是 | ||
parameter | text | 是 | ||
upload_type | text | 是 | ||
required | text | 是 | ||
width | text | 是 | ||
high | text | 是 | ||
value | text | 是 | ||
info | text | 是 | ||
desc | text | 是 | ||
sort | text | 是 | ||
status | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ disabled | boolean | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ autofocus | boolean | 非必须 | |||
├─ options | object [] | 必须 | item 类型: object | ||
├─ value | number,string | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/config/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 字段类型 text/upload | |
input_type | text | 是 | 表单类型 | |
config_tab_id | text | 是 | 配置分类id | |
parameter | text | 是 | 0=>明文模式 |
1=>兼容模式
2=>安全模式 | 规则 单选框和多选框 |
| upload_type | text | 是 | 1 | 上传文件格式1单图2多图3文件 |
| required | text | 是 | required:true required:true,url:true | 规则 |
| value | text | 是 | | 默认值 |
| info | text | 是 | | 配置名称 |
| desc | text | 是 | | 配置简介 |
| sort | text | 是 | | 排序 |
| status | text | 是 | 0-隐藏 1-显示 | 是否隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 配置id |
status | 1 | 1-显示 0-隐藏 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/config/upload
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | multipart/form-data | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
file | file | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ filepath | string | 非必须 | 文件路径 |
Path: /adminapi/setting/group/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 组合数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/group
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 数据组名称 | |
config_name | text | 是 | 数据字段 key | |
info | text | 是 | 简介 | |
typelist | text | 是 | ['name':'value'] | 数据组字段以及类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/group
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 1 | 页码 |
limit | 是 | 15 | 每页条数 |
keyword | 否 | 秒杀 | 搜索关键字 config_name name info |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | integer | 非必须 | 组合数据ID | ||
├─ name | string | 非必须 | 数据组名称 | ||
├─ info | string | 非必须 | 数据提示 | ||
├─ config_name | string | 非必须 | 数据字段 | ||
├─ fields | string | 非必须 | 数据组字段以及类型(json数据) |
Path: /adminapi/setting/group/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 组合数据id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object | 非必须 | |||
├─ id | integer | 非必须 | 组合数据ID | ||
├─ name | string | 非必须 | 数据组名称 | ||
├─ info | string | 非必须 | 数据提示 | ||
├─ config_name | string | 非必须 | 数据字段 | ||
├─ fields | string | 非必须 | 数据组字段以及类型(json数据) |
Path: /adminapi/setting/group/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 组合数据id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | ||
config_name | text | 是 | ||
info | text | 是 | ||
typelist | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/refresh_cache/cache
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/refresh_cache/log
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/log/search_admin
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ info | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ real_name | string | 必须 |
Path: /adminapi/system/log
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
pages | 否 | 行为 | |
path | 否 | 链接 | |
ip | 否 | ip | |
admin_id | 否 | 管理员id | |
data | 否 | 时间选择 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ admin_id | number | 必须 | |||
├─ admin_name | string | 必须 | |||
├─ path | string | 必须 | |||
├─ page | string | 必须 | |||
├─ method | string | 必须 | |||
├─ ip | string | 必须 | |||
├─ type | string | 必须 | |||
├─ add_time | number | 必须 | |||
├─ merchant_id | number | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/system/file/savefile
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
comment | text | 是 | 文件内容 | |
filepath | text | 是 | 文件路径 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/file/opendir
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
dir | 是 | 当前目录 | |
superior | 否 | 是否返回上级 是-非0 | |
filedir | 是 | 文件夹名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ filename | string | 非必须 | 文件/文件夹名 | ||
├─ pathname | string | 非必须 | 文件/文件夹路径 | ||
├─ size | string | 非必须 | 文件/文件夹大小 | ||
├─ isWritable | boolean | 非必须 | 是否可写 | ||
├─ mtime | string | 非必须 | 更新时间 | ||
├─ isDir | boolean | 非必须 | 是否为文件夹 true-是 | ||
├─ path | string | 非必须 | 当前路径 |
Path: /adminapi/system/file
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ filename | string | 必须 | |||
├─ cthash | string | 必须 | |||
├─ atime | string | 必须 | |||
├─ mtime | string | 必须 | |||
├─ ctime | string | 必须 | |||
├─ type | string | 必须 |
Path: /adminapi/system/file/openfile
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
filepath | 是 | 文件路径 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ content | string | 非必须 | 文件内容 | ||
├─ mode | string | 非必须 | 文件类型 | ||
├─ filepath | string | 非必须 | 文件路径 |
Path: /adminapi/system/replace_site_url
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
url | text | 是 | http://www.crmeb.com | 替换域名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/clear/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
type | temp--清除用户生成的临时附件; recycle--清除回收站产品; store-清除商城数据; category-清除产品分类; order-清除订单数据; kefu-清除客服数据; wechat-清除微信管理数据; attachment-清除所有附件; article-清除内容分类; system-清除系统记录 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/backup
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ name | string | 必须 | |||
├─ engine | string | 必须 | |||
├─ version | number | 必须 | |||
├─ row_format | string | 必须 | |||
├─ rows | number | 必须 | |||
├─ avg_row_length | number | 必须 | |||
├─ data_length | number | 必须 | |||
├─ max_data_length | number | 必须 | |||
├─ index_length | number | 必须 | |||
├─ data_free | number | 必须 | |||
├─ auto_increment | number,null | 必须 | |||
├─ create_time | string | 必须 | |||
├─ update_time | null,string | 必须 | |||
├─ check_time | null | 必须 | |||
├─ collation | string | 必须 | |||
├─ checksum | null | 必须 | |||
├─ create_options | string | 必须 | |||
├─ comment | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/system/backup/file_list
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ filename | string | 非必须 | |||
├─ part | number | 非必须 | |||
├─ size | string | 非必须 | |||
├─ compress | string | 非必须 | |||
├─ backtime | string | 非必须 | |||
├─ time | number | 非必须 |
Path: /adminapi/system/backup/read
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
tablename | 是 | 表名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ TABLE_CATALOG | string | 必须 | |||
├─ TABLE_SCHEMA | string | 必须 | |||
├─ TABLE_NAME | string | 必须 | |||
├─ COLUMN_NAME | string | 必须 | |||
├─ ORDINAL_POSITION | number | 必须 | |||
├─ COLUMN_DEFAULT | null,string | 必须 | |||
├─ IS_NULLABLE | string | 必须 | |||
├─ DATA_TYPE | string | 必须 | |||
├─ CHARACTER_MAXIMUM_LENGTH | null,number | 必须 | |||
├─ CHARACTER_OCTET_LENGTH | null,number | 必须 | |||
├─ NUMERIC_PRECISION | number,null | 必须 | |||
├─ NUMERIC_SCALE | number,null | 必须 | |||
├─ CHARACTER_SET_NAME | null,string | 必须 | |||
├─ COLLATION_NAME | null,string | 必须 | |||
├─ COLUMN_TYPE | string | 必须 | |||
├─ COLUMN_KEY | string | 必须 | |||
├─ EXTRA | string | 必须 | |||
├─ PRIVILEGES | string | 必须 | |||
├─ COLUMN_COMMENT | string | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/system/backup/optimize
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tables | text | 是 | [eb_article,eb_article_category] | 表名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/backup/repair
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tables | text | 是 | [eb_article,eb_article_category] | 表名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/backup/backup
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tables | text | 是 | [eb_article,eb_article_category] | 表名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/backup/del_file
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
filename | text | 是 | 文件名 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/system/backup/import
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
part | text | 是 | ||
start | text | 是 | ||
time | text | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/backup/download
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
time | 是 | 备份时间戳 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ key | string | 非必须 |
Path: /adminapi/freight/express/set_status/:id/:status
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 公司id |
status | 1 | 状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/freight/express
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | ||
limit | 否 | ||
keyword | 否 | 物流公司名称或者编码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | |||
├─ code | string | 非必须 | 物流公司名称 | ||
├─ name | string | 非必须 | 编码 | ||
├─ sort | string | 非必须 | 排序 | ||
├─ is_show | string | 非必须 | 是否显示 |
Path: /adminapi/freight/express/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/freight/express/sync_express
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/freight/express/create
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | object | 非必须 | |||
├─ col | object | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/freight/express
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 公司名称 | |
code | text | 是 | 编码 | |
sort | text | 是 | 10 | 排序 |
is_show | text | 是 | 是否启用 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/freight/express/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 物流公司id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 否 | 月结账号 | |
key | text | 否 | 月结密钥 | |
sort | text | 是 | 排序 | |
is_show | text | 是 | 是否启用 | |
net_name | text | 否 | 网点名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/freight/express/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 记录id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ value | number | 必须 | |||
├─ label | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/city/del/:city_id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
city_id | 城市city_id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/city/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 城市编号 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ readonly | boolean | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/city/list/:parent_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
parent_id | 0 | 父级ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ city_id | number | 必须 | |||
├─ level | number | 必须 | |||
├─ parent_id | string | 必须 | |||
├─ area_code | string | 必须 | |||
├─ name | string | 必须 | |||
├─ merger_name | string | 必须 | |||
├─ lng | string | 必须 | |||
├─ lat | string | 必须 | |||
├─ is_show | number | 必须 |
Path: /adminapi/setting/city/add/:parent_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
parent_id | 0 | 上级ID |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ readonly | boolean | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ info | string | 非必须 | |||
├─ status | boolean | 非必须 |
Path: /adminapi/setting/city/save
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 城市编号,新增为0 | |
name | text | 是 | 城市名称 | |
merger_name | text | 是 | 合并名称 | |
area_code | text | 是 | 城市代码 | |
lng | text | 是 | 经度 | |
lat | text | 是 | 纬度 | |
level | text | 是 | 上级城市等级 | |
parent_id | text | 是 | 上级城市city_id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/setting/city/clean_cache
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/files/attachment_category/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 附件分类id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分类名称 | |
pid | text | 是 | 父级id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/files/attachment_category
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | nopage | 不分页参数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/files/attachment_category/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/files/attachment_category
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 分类名称 | |
pid | text | 是 | 父级id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/file/file/update/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 附件att_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
real_name | text | 是 | 附件名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ src | string | 非必须 |
Path: /adminapi/file/file
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 否 | 0 | 分类id |
page | 否 | 1 | 页码 |
limit | 否 | 10 | 每页数 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | string | 非必须 | 总数量 | ||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ att_id | integer | 非必须 | 附件id | ||
├─ name | string | 非必须 | 附件名称 | ||
├─ real_name | string | 非必须 | 附件原始名 | ||
├─ att_dir | string | 非必须 | 附件路径 | ||
├─ satt_dir | string | 非必须 | 压缩图片路径 | ||
├─ att_size | string | 非必须 | 附件大小 | ||
├─ att_type | string | 非必须 | 附件类型 | ||
├─ pid | integer | 非必须 | 分类ID0编辑器,1产品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图 | ||
├─ time | integer | 非必须 | 上传时间 | ||
├─ image_type | integer | 非必须 | 图片上传类型 1本地 2七牛云 3OSS 4COS | ||
├─ module_type | integer | 非必须 | 图片上传模块类型 1 后台上传 2 用户生成 |
Path: /adminapi/files/attac_upload
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | multipart/form-data | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
file | file | 是 | 上传对象 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /adminapi/file/file/delete
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ids | text | 是 | 1,2,3 | 图片id拼接成的字符串 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/file/upload/:?upload_type
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | multipart/form-data | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
?upload_type | 0 | 上传类型 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 1 | 分类id |
file | file | 是 | 要上传的图片 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
code | number | 非必须 | |||
msg | string | 非必须 | |||
src | string | 非必须 |
Path: /adminapi/file/file/move
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
images | 是 | 1 | 图片id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ col | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/file/file/do_move
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 1 | 附件分类id |
images | text | 是 | 1,2,3 | 附件id拼接成的字符串 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/file/category
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
name | 否 | 分类名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | string | 非必须 | 附id | ||
├─ pid | string | 非必须 | 分类id | ||
├─ name | string | 非必须 | 分类名称 | ||
├─ enname | string | 非必须 | 分类目录 | ||
├─ child | object [] | 非必须 | 子分类信息 | item 类型: object | |
├─ id | string | 非必须 | |||
├─ pid | string | 非必须 | |||
├─ name | string | 非必须 | |||
├─ ename | string | 非必须 | |||
├─ child | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/file/category/create
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
id | 否 | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ col | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/file/category
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 6 | 父级id |
name | text | 是 | 分类名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/file/category/:id/edit
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ rules | object [] | 非必须 | item 类型: object | ||
├─ type | string | 非必须 | |||
├─ field | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ props | object | 非必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ filterable | boolean | 非必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | string | 非必须 | |||
├─ validate | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ col | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ title | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 |
Path: /adminapi/file/category/:id
Method: PUT
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 父级id | |
name | text | 是 | 分类名称 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/file/category/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | string | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/auth
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ status | number | 非必须 | |||
├─ day | number | 非必须 |
Path: /adminapi/auth_apply
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
company_name | text | 是 | 公司名称 | |
domain_name | text | 是 | 授权域名 | |
order_id | text | 是 | 订单id | |
label | text | 是 | http://authorize.crmeb.net/api/auth_label 接口返回的id pro版本取值id=3 | |
captcha | text | 是 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | 200申请成功,400申请失败 | ||
msg | string | 非必须 | 提示语 |
Path: /adminapi/check_auth
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ day | number | 非必须 | 过期天数,非必须 | ||
├─ auth | boolean | 非必须 | 是否授权 |