Path: /adminapi/login/info
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ slide | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ logo_square | string | 非必须 | |||
├─ logo_rectangle | string | 非必须 | |||
├─ login_logo | string | 非必须 |
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 | 非必须 | |||
├─ 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 | 非必须 | |||
├─ account | string | 非必须 | |||
├─ head_pic | string | 非必须 | |||
├─ logo | string | 非必须 | |||
├─ logo_square | string | 非必须 | |||
├─ 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 | 非必须 | |||
├─ site_name | string | 非必须 |
Path: /adminapi/menusList
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ pid | number | 必须 | |||
├─ 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/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/export/expressList
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
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/dels
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ids | text | 是 | [1,2,3,4,5,6,7] | 订单id合集 |
all | text | 是 | 1 | 1 |
where | text | 是 | 条件 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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/queue/index
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ type | number | 必须 | |||
├─ source | string | 必须 | |||
├─ execute_key | string | 必须 | |||
├─ title | string | 必须 | |||
├─ queue_in_value | string | 必须 | |||
├─ sort | number | 必须 | |||
├─ status | number | 必须 | |||
├─ first_time | string | 必须 | |||
├─ again_time | string | 必须 | |||
├─ finish_time | string | 必须 | |||
├─ surplus_num | number | 必须 | |||
├─ total_num | number | 必须 | |||
├─ is_del | number | 必须 | |||
├─ add_time | string | 必须 | |||
├─ status_cn | string | 必须 | |||
├─ is_show_log | boolean | 必须 | |||
├─ is_error_button | boolean | 必须 | |||
├─ type_cn | string | 必须 | |||
├─ cache_type | number | 必须 | |||
├─ success_num | string | 必须 | |||
├─ is_stop_button | boolean | 必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/queue/delivery/log/:id/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 206 | 订单id |
type | 3 | 类型 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 否 | 1 | |
limit | 否 | 20 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ binding_id | number | 非必须 | |||
├─ relation_id | number | 非必须 | |||
├─ type | number | 非必须 | |||
├─ other | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ update_time | number | 非必须 | |||
├─ add_time | string | 非必须 | |||
├─ order_id | string | 非必须 | |||
├─ error | string | 非必须 | |||
├─ status_cn | string | 非必须 | |||
├─ fictitious_content | string | 非必须 | |||
├─ count | number | 非必须 |
Path: /adminapi/queue/again/do_queue/:id/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 任务id | |
type | 任务类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/export/batchOrderDelivery/:id/:queueType/:cacheType
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 队列id |
queueType | 7 | 执行任务类型 |
cacheType | 3 | 缓存类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 | |||
data | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 |
Path: /adminapi/queue/del/wrong_queue/:id/:type
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 任务id | |
type | 任务类型 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
msg | string | 非必须 |
Path: /adminapi/queue/stop/wrong_queue/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 任务id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
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/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/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 | 必须 |