Path: /admin/config/others/lst
Method: GET
接口描述:
Path: /admin/config/others/update
Method: POST
接口描述:
Path: /admin/store/product/check
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Path: /admin/login_config
Method: GET
接口描述:
Path: /admin/merchant/menu/delete/:id
Method: DELETE
接口描述:
{
"status": 200,
"message": "success"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /admin/merchant/menu/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"id": 1,
"pid": 2,
"icon": "center",
"menu_name": "个人中心",
"route": "system",
"params": "[]",
"sort": 0,
"is_show": 1,
"model": 1,
"type": 1,
"create_time": "2020-04-01 10:17:27",
"update_time": "2020-04-02 15:25:17"
}
}
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 否 | 1 | 分类 |
keyword | 否 | a/b/c | 名称,路由 |
type | 否 | 1 | 类型,1菜单 2 按钮 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
pid | integer | 非必须 | 父级id | ||
icon | string | 非必须 | icon | ||
menu_name | string | 非必须 | 名称 | ||
route | string | 非必须 | 路由 | ||
params | string | 非必须 | 参数 | ||
sort | number | 非必须 | 排序 | ||
is_show | number | 非必须 | 1 | 是否显示 | 最大值: 1 最小值: 0 枚举: 0 |
model | number | 非必须 | 1 | 模块,1 平台, 2商户 | 最大值: 2 最小值: 1 枚举: 1,2 |
type | number | 非必须 | 1 | 类型,1菜单 2 按钮 | 最大值: 2 最小值: 1 枚举: 1,2 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/merchant/menu/create
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"pid": "2",
"icon": "center",
"menu_name": "个人中心",
"route": "system/data/set11111111",
"params": "[]",
"sort": "",
"is_show": 1,
"model": 1,
"type": 1,
"create_time": "2020-04-02 15:43:01",
"id": "12"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 1 | 分类 |
icon | 是 | icon | icon |
menu_name | 是 | 管理 | 菜单名称 |
route | 否 | a/b/c | 路由 |
model | 是 | 1 | 模块,1 平台, 2商户 默认1 |
type | 是 | 1 | 类型,1菜单 2 按钮 默认1 |
sort | 否 | 1 | 排序 默认0 |
is_show | 否 | 1 | 是否显示 默认1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
pid | integer | 非必须 | 父级id | ||
icon | string | 非必须 | icon | ||
menu_name | string | 非必须 | 名称 | ||
route | string | 非必须 | 路由 | ||
params | string | 非必须 | 参数 | ||
sort | number | 非必须 | 排序 | ||
is_show | number | 非必须 | 1 | 是否显示 | 最大值: 1 最小值: 0 枚举: 0 |
model | number | 非必须 | 1 | 模块,1 平台, 2商户 | 最大值: 2 最小值: 1 枚举: 1,2 |
type | number | 非必须 | 1 | 类型,1菜单 2 按钮 | 最大值: 2 最小值: 1 枚举: 1,2 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/merchant/menu/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": "",
"title": "父级分类",
"props": {
"multiple": false,
"placeholder": "请选择父级分类"
},
"validate": [
{
"message": "请选择父级分类",
"required": true,
"type": "integer",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
}
]
},
{
"type": "input",
"field": "icon",
"value": "",
"title": "菜单图标",
"props": {
"type": "text",
"placeholder": "请输入菜单图标"
},
"validate": [
{
"message": "请输入菜单图标",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "menu_name",
"value": "",
"title": "菜单名称",
"props": {
"type": "text",
"placeholder": "请输入菜单名称"
},
"validate": [
{
"message": "请输入菜单名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "route",
"value": "",
"title": "菜单地址",
"props": {
"type": "text",
"placeholder": "请输入菜单地址"
}
},
{
"type": "input",
"field": "params",
"value": "",
"title": "参数",
"props": {
"type": "text",
"placeholder": "请输入参数"
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
},
{
"type": "switch",
"field": "is_show",
"value": 0,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/system/menu/create.html",
"method": "POST",
"title": "添加菜单",
"config": {}
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ activeValue | number | 非必须 | |||
├─ inactiveValue | number | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | number | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/merchant/menu/update/:id
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"pid": "2",
"icon": "center",
"menu_name": "个人中心",
"route": "system/data/set11111111",
"params": "[]",
"sort": "",
"is_show": 1,
"model": 1,
"type": 1,
"create_time": "2020-04-02 15:43:01",
"id": "12"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 1 | 分类 |
icon | 是 | icon | icon |
menu_name | 是 | 管理 | 菜单名称 |
route | 否 | a/b/c | 路由 |
model | 是 | 1 | 模块,1 平台, 2商户 默认1 |
type | 是 | 1 | 类型,1菜单 2 按钮 默认1 |
sort | 否 | 1 | 排序 默认0 |
is_show | 否 | 1 | 是否显示 默认1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
pid | integer | 非必须 | 父级id | ||
icon | string | 非必须 | icon | ||
menu_name | string | 非必须 | 名称 | ||
route | string | 非必须 | 路由 | ||
params | string | 非必须 | 参数 | ||
sort | number | 非必须 | 排序 | ||
is_show | number | 非必须 | 1 | 是否显示 | 最大值: 1 最小值: 0 枚举: 0 |
model | number | 非必须 | 1 | 模块,1 平台, 2商户 | 最大值: 2 最小值: 1 枚举: 1,2 |
type | number | 非必须 | 1 | 类型,1菜单 2 按钮 | 最大值: 2 最小值: 1 枚举: 1,2 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/merchant/menu/update/form/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": 0,
"title": "父级分类",
"props": {
"multiple": false,
"placeholder": "请选择父级分类"
},
"validate": [
{
"message": "请选择父级分类",
"required": true,
"type": "integer",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
}
]
},
{
"type": "input",
"field": "icon",
"value": "3434",
"title": "菜单图标",
"props": {
"type": "text",
"placeholder": "请输入菜单图标"
},
"validate": [
{
"message": "请输入菜单图标",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "menu_name",
"value": "445",
"title": "菜单名称",
"props": {
"type": "text",
"placeholder": "请输入菜单名称"
},
"validate": [
{
"message": "请输入菜单名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "route",
"value": "45",
"title": "菜单地址",
"props": {
"type": "text",
"placeholder": "请输入菜单地址"
}
},
{
"type": "input",
"field": "params",
"value": "45",
"title": "参数",
"props": {
"type": "text",
"placeholder": "请输入参数"
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 1,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/system/menu/update/13.html",
"method": "POST",
"title": "编辑菜单",
"config": {}
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ activeValue | number | 非必须 | |||
├─ inactiveValue | number | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | number | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/system/merchant/password/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商户 id |
Path: /admin/system/merchant/status/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/merchant/create/form
Method: GET
接口描述:
{"status":200,"message":"添加成功"}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 |
Path: /admin/system/merchant/delete/:id
Method: DELETE
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/merchant/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | 店铺搜索(关键字/店铺名/联系电话) | |
status | 是 | 状态 0关闭 1开启 | |
date | 是 | 创建日期 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ mer_id | number | 非必须 | |||
├─ mer_name | string | 非必须 | |||
├─ real_name | string | 非必须 | |||
├─ mer_phone | string | 非必须 | |||
├─ mer_address | string | 非必须 | |||
├─ mark | string | 非必须 | |||
├─ status | number | 非必须 | |||
├─ create_time | string | 非必须 |
Path: /admin/system/merchant/close/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 状态 |
Path: /admin/system/merchant/count
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
invalid | number | 必须 | 开启 | ||
valid | number | 必须 | 关闭 |
Path: /admin/system/merchant/login/:mer_id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_id |
Path: /admin/system/merchant/changecopy/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/merchant/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/article/status/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/article/category/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"article_category_id": 13,
"pid": 0,
"mer_id": 0,
"title": "文章1",
"info": "33434",
"image": "http://192.168.1.17:8324/uploads/def/b4/f584efc94330ae347b00da7d4c6eef.jpg",
"status": 1,
"sort": 0,
"create_time": "2020-04-20 15:34:12",
"children": [
{
"article_category_id": 15,
"pid": 13,
"mer_id": 0,
"title": "子分类",
"info": "嗷嗷",
"image": "http://192.168.1.17:8324/uploads/def/b4/f584efc94330ae347b00da7d4c6eef.jpg",
"status": 1,
"sort": 0,
"create_time": "2020-04-24 14:14:56",
"children": [
{
"article_category_id": 16,
"pid": 15,
"mer_id": 0,
"title": "三级分类",
"info": "d",
"image": "http://192.168.1.17:8324/uploads/def/b4/f584efc94330ae347b00da7d4c6eef.jpg",
"status": 1,
"sort": 0,
"create_time": "2020-04-24 14:15:30"
}
]
}
]
}
]
}
Path: /admin/system/article/delete/:id
Method: DELETE
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/article/category/create/form
Method: GET
接口描述:
Path: /admin/system/article/category/lst
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 0 | 顶级为0 |
title | text | 是 | 分类名 | |
info | text | 否 | 简介 | |
status | text | 是 | 状态 | |
image | text | 否 | 图片 | |
sort | text | 是 | 排序 |
{
"status": 200,
"message": "添加成功"
}
Path: /admin/system/article/category/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/article/category/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 13 | 分类id |
{
"status": 200,
"message": "success",
"data": {
"article_category_id": 13,
"pid": 0,
"mer_id": 0,
"title": "文章1",
"info": "33434",
"image": "http://192.168.1.17:8324/uploads/def/b4/f584efc94330ae347b00da7d4c6eef.jpg",
"status": 1,
"sort": 0,
"create_time": "2020-04-20 15:34:12"
}
}
Path: /admin/system/article/article/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
cid | 否 | 搜索分类id | |
title | 否 | 搜索标题 |
{
"status": 200,
"message": "success",
"data": {
"count": 8,
"list": [
{
"article_id": 106,
"cid": 13,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:36:11",
"content": {
"article_content_id": 106,
"content": "内容"
},
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
},
{
"article_id": 105,
"cid": 2,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:35:53",
"content": null,
"articleCategory": null
},
{
"article_id": 104,
"cid": 13,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:35:33",
"content": null,
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
},
{
"article_id": 103,
"cid": 13,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:13:45",
"content": null,
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
},
{
"article_id": 102,
"cid": 13,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:13:00",
"content": null,
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
},
{
"article_id": 101,
"cid": 13,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:11:17",
"content": null,
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
},
{
"article_id": 100,
"cid": 6,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:09:27",
"content": null,
"articleCategory": null
},
{
"article_id": 99,
"cid": 13,
"title": "标题",
"image_input": "s",
"author": "as",
"mer_id": 0,
"sort": 1,
"status": 1,
"is_banner": 0,
"is_hot": 0,
"create_time": "2020-04-23 18:08:15",
"content": null,
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
}
]
}
}
Path: /admin/system/article/article/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 文章id |
{
"status": 200,
"message": "删除成功"
}
Path: /admin/system/article/article/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | ||
X-Token | 是 | token |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
cid | text | 是 | 13 | 分类id |
title | text | 是 | 文章标题 | 标题 |
author | text | 是 | Qinii | 作者 |
image_input | text | 是 | http:// | 图片 |
status | text | 是 | 1 | 状态 |
sort | text | 是 | 99 | 排序 |
content | text | 是 | 文章想表达个啥 | 文章内容 |
synopsis | text | 否 | 简介 | 简介 |
url | text | 否 | http://url | 外链 |
is_hot | text | 是 | 1 | 是否热门 |
is_banner | text | 是 | 0 | 是否为banner |
{
"status": 200,
"message": "添加成功"
}
Path: /admin/system/article/article/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 文章id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
cid | 是 | 分类id | |
title | 是 | 标题 | |
author | 是 | 作者 | |
image_input | 是 | 图片 | |
content | 是 | 内容 | |
status | 是 | 状态 | |
sort | 是 | 排序 |
{
"status": 200,
"message": "编辑成功"
}
Path: /admin/system/article/article/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 文章id |
{
"status": 200,
"message": "success",
"data": {
"article_id": 100,
"cid": 13,
"title": "编辑成功",
"author": "作者不能为空",
"image_input": "http://url",
"synopsis": null,
"share_title": null,
"share_synopsis": null,
"visit": null,
"sort": 0,
"url": null,
"admin_id": 0,
"mer_id": 0,
"is_hot": 0,
"is_banner": 0,
"status": 0,
"create_time": "2020-04-23 18:09:27",
"content": {
"article_content_id": 100,
"content": "内容不能为空"
},
"articleCategory": {
"article_category_id": 13,
"title": "文章1"
}
}
}
Path: /admin/wechat/menu
Method: POST
接口描述:
Path: /admin/wechat/menu
Method: GET
接口描述:
Path: /admin/wechat/reply/upload/image
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Path: /admin/wechat/reply/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/reply/status/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/reply/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
liimt | 是 | ||
keyword | 是 |
Path: /admin/wechat/reply/:id
Method: DELETE
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/reply/create
Method: POST
接口描述:
Path: /admin/wechat/reply/save/:key
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
key |
Path: /admin/wechat/reply/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/reply/upload/voice
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Path: /admin/wechat/news/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | 分页 |
{
"status": 200,
"message": "success",
"data": {
"count": 20,
"list": [
{
"wechat_news_id": 65,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 17:11:25",
"article": [
{
"article_id": 133,
"title": "图文1",
"author": "qinii",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"synopsis": "摘要",
"wechat_news_id": 65,
"content": {
"article_content_id": 133,
"content": "这是swoole崩了造成的"
}
},
{
"article_id": 134,
"title": "111",
"author": "qinii",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"synopsis": "摘要",
"wechat_news_id": 65,
"content": {
"article_content_id": 134,
"content": "这是swoole崩了造成的"
}
}
]
},
{
"wechat_news_id": 64,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:56:17",
"article": [
{
"article_id": 132,
"title": "图文1",
"author": "qinii",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"synopsis": "摘要",
"wechat_news_id": 64,
"content": {
"article_content_id": 132,
"content": "这是swoole崩了造成的"
}
}
]
},
{
"wechat_news_id": 63,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:52:03",
"article": [
{
"article_id": 129,
"title": "图文1",
"author": "qinii",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"synopsis": "摘要",
"wechat_news_id": 63,
"content": {
"article_content_id": 129,
"content": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg"
}
}
]
},
{
"wechat_news_id": 62,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:51:42",
"article": []
},
{
"wechat_news_id": 61,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:50:16",
"article": []
},
{
"wechat_news_id": 60,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:49:31",
"article": [
{
"article_id": 128,
"title": "图文1",
"author": "qinii",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"synopsis": "摘要",
"wechat_news_id": 60,
"content": null
}
]
},
{
"wechat_news_id": 59,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:38:44",
"article": []
},
{
"wechat_news_id": 58,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:38:38",
"article": []
},
{
"wechat_news_id": 57,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:37:55",
"article": []
},
{
"wechat_news_id": 56,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-26 16:37:44",
"article": []
}
]
}
}
Path: /admin/wechat/news/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 图文id |
{
"status": 200,
"message": "删除成功"
}
Path: /admin/wechat/news/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
{
"status" : 1, //状态 0 ,1
"data": [ // 多个图文内容 即 文章内容
{
"title": "图文1", //标题
"author": "qinii",
"synopsis": "摘要",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"content": "这是swoole崩了造成的" //正文
},
{
"title": "图文1",
"author": "qinii",
"synopsis": "摘要",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"content": "这是swoole崩了造成的"
}
]
}
{
"status": 200,
"message": "添加成功"
}
Path: /admin/wechat/news/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 图文id |
Body
{
"status":1, //状态 0 , 1
"data":[
{
"article_id": 0, //新增图文此参数可不传 或者 为空 ,0
"title" : "不要急,不要等",
"author": "qinii",
"synopsis":"摘要",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"content":"如今的20岁却受到了太多的侵蚀,年轻人觉得每天的生活就是上网评论别人,或者等待别人的回复"
},
{
"article_id": 140, //修改或未修改图文
"title" : "不要急,不要等",
"author": "qinii",
"synopsis":"摘要",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"content":"如今的20岁却受到了太多的侵蚀,年轻人觉得每天的生活就是上网评论别人,或者等待别人的回复"
}
]
}
{
"status": 200,
"message": "编辑成功"
}
Path: /admin/wechat/news/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 图文id |
{
"status": 200,
"message": "success",
"data": {
"wechat_news_id": 69,
"mer_id": 0,
"status": 1,
"create_time": "2020-04-27 10:08:41",
"article": [
{
"article_id": 142,
"title": "天才在左,疯子在右",
"author": "qinii",
"image_input": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"synopsis": "摘要",
"wechat_news_id": 69,
"content": {
"article_content_id": 142,
"content": "伟大的精神能够让我们在遇到艰难险阻时看到希望、看到光明,依靠强大的精神力量攻克一个个难关。在抗击新冠肺炎疫情的斗争中,伟大的中国精神熠熠生辉。习近平总书记指出:“中国人民在疫情防控中展现的中国力量、中国精神、中国效率,展现的负责任大国形象,得到国际社会高度赞誉。”伟大的中国精神在疫情防控中得到充分展现,凝聚起战胜疫情的强大精神力量。"
}
}
]
}
}
Path: /admin/wechat/user/tag/create/form
Method: GET
接口描述:
Path: /admin/wechat/user/tag/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user/tag/lst
Method: GET
接口描述:
Path: /admin/wechat/user/tag/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user/group/lst
Method: GET
接口描述:
Path: /admin/wechat/user/group/create/form
Method: GET
接口描述:
Path: /admin/wechat/user/group/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user/group/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user_group/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user_tag/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user/sync_tag/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/user/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
nickname | 是 | 111 | 用户昵称 |
tagid_list | 是 | 1,3 | 微信标签 |
groupid | 是 | 0 | 微信分组 |
sex | 是 | 1 | 性别 |
subscribe | 是 | 1 | 是否关注 |
Path: /admin/wechat/user/tag_group
Method: GET
接口描述:
Path: /admin/store/category/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"store_category_id": 131,
"pid": 0,
"cate_name": "电子读物",
"path": "-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 0,
"mer_id": 0,
"create_time": "2020-04-28 12:30:03",
"children": [
{
"store_category_id": 132,
"pid": 131,
"cate_name": "电子读物",
"path": "-131-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 1,
"mer_id": 0,
"create_time": "2020-04-28 12:30:53"
}
]
},
{
"store_category_id": 139,
"pid": 0,
"cate_name": "学习",
"path": "-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 0,
"mer_id": 0,
"create_time": "2020-04-28 21:13:31",
"children": [
{
"store_category_id": 140,
"pid": 139,
"cate_name": "一级学习",
"path": "-139-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 1,
"mer_id": 0,
"create_time": "2020-04-28 21:13:55"
}
]
},
{
"store_category_id": 142,
"pid": 0,
"cate_name": "一级分类",
"path": "-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 0,
"mer_id": 0,
"create_time": "2020-04-29 10:47:56",
"children": [
{
"store_category_id": 141,
"pid": 142,
"cate_name": "电子读物",
"path": "-142-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 1,
"mer_id": 0,
"create_time": "2020-04-28 21:14:03"
}
]
}
]
}
Path: /admin/store/category/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
{
"status": 200,
"message": "删除成功"
}
Path: /admin/store/category/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 0 | 父级id 顶级分类 pid等于0 |
cate_name | text | 是 | 电子产品 | 类名称 |
is_show | text | 是 | 1 | 是否显示 |
pic | text | 是 | url | 图标 |
sort | text | 是 | 1 | 排序 |
{
"status": 200,
"message": "添加成功"
}
Path: /admin/store/category/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": "",
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"value": 131,
"label": "|---电子读物"
},
{
"value": 132,
"label": "|---|---电子读物"
},
{
"value": 139,
"label": "|---学习"
},
{
"value": 140,
"label": "|---|---一级学习"
},
{
"value": 141,
"label": "|---|---|---电子读物"
}
]
},
{
"type": "input",
"field": "cate_name",
"value": "",
"title": "分类名称",
"props": {
"type": "text",
"placeholder": "请输入分类名称"
},
"validate": [
{
"message": "请输入分类名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "frame",
"field": "pic",
"value": "",
"title": "分类图片",
"props": {
"type": "image",
"maxLength": 1,
"title": "请选择分类图片",
"src": "/setting/uploadPicture?field=pic&type=1",
"height": "620px",
"width": "1000px",
"modal": {
"custom-class": "suibian-modal"
}
}
},
{
"type": "switch",
"field": "is_show",
"value": "0",
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/store/store/category/create/form.html",
"method": "POST",
"title": "添加分类",
"config": {}
}
}
Path: /admin/store/category/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分级id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1 | 状态 |
Path: /admin/store/category/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 131 | 父级id |
cate_name | text | 是 | 二级分类 | 分类名称 |
is_show | text | 是 | 1 | 是否显示 |
pic | text | 是 | url | 图标 |
sort | text | 是 | 122 | 排序 |
{
"status": 200,
"message": "编辑成功"
}
Path: /admin/store/category/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": 0,
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"value": 139,
"label": "|---学习"
},
{
"value": 140,
"label": "|---|---一级学习"
},
{
"value": 141,
"label": "|---|---|---电子读物"
},
{
"value": 142,
"label": "|---一级分类"
}
]
},
{
"type": "input",
"field": "cate_name",
"value": "电子读物",
"title": "分类名称",
"props": {
"type": "text",
"placeholder": "请输入分类名称"
},
"validate": [
{
"message": "请输入分类名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "frame",
"field": "pic",
"value": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"title": "分类图片",
"props": {
"type": "image",
"maxLength": 1,
"title": "请选择分类图片",
"src": "/setting/uploadPicture?field=pic&type=1",
"height": "620px",
"width": "1000px",
"modal": {
"custom-class": "suibian-modal"
}
}
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 1,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/store/store/category/update/form/131.html",
"method": "POST",
"title": "编辑分类",
"config": {}
}
}
Path: /admin/store/category/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
{
"status": 200,
"message": "success",
"data": {
"store_category_id": 131,
"pid": 0,
"cate_name": "电子读物",
"path": "-",
"sort": 1,
"pic": "http://192.168.1.37:8324/uploads/def/f2/b1993b9fe9b4add4726a5100e6fbf9.jpg",
"is_show": 1,
"level": 0,
"mer_id": 0,
"create_time": "2020-04-28 12:30:03"
}
}
Path: /admin/store/brand/category/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"store_brand_category_id": 143,
"pid": 0,
"cate_name": "一级分类",
"path": "-",
"sort": 1,
"is_show": 1,
"level": 0,
"create_time": "2020-04-29 14:17:31",
"children": [
{
"store_brand_category_id": 144,
"pid": 143,
"cate_name": "一级分类",
"path": "-143-",
"sort": 1,
"is_show": 1,
"level": 1,
"create_time": "2020-04-29 14:18:45"
},
{
"store_brand_category_id": 145,
"pid": 143,
"cate_name": "电子读物",
"path": "-143-",
"sort": 1,
"is_show": 1,
"level": 1,
"create_time": "2020-04-29 14:18:51"
}
]
}
]
}
Path: /admin/store/brand/category/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
{
"status": 200,
"message": "删除成功"
}
Path: /admin/store/brand/category/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 父级id | |
cate_name | text | 是 | 分类名 | |
is_show | text | 是 | 是否显示 | |
sort | text | 是 | 排序 |
{
"status": 200,
"message": "添加成功"
}
Path: /admin/store/brand/category/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": "",
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"value": "一级分类",
"label": "|---"
},
{
"value": "测试",
"label": "|---"
}
]
},
{
"type": "input",
"field": "cate_name",
"value": "",
"title": "分类名称",
"props": {
"type": "text",
"placeholder": "请输入分类名称"
},
"validate": [
{
"message": "请输入分类名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "switch",
"field": "is_show",
"value": "0",
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/store/brand/category/create.html",
"method": "POST",
"title": "添加分类",
"config": {}
}
}
Path: /admin/store/brand/category/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分级id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1,0 | 修改的状态 |
{
"status": 200,
"message": "修改成功"
}
Path: /admin/store/brand/category/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 143 | 父级id |
cate_name | text | 是 | 收到 | fen类名 |
is_show | text | 是 | 1 | 是否显示 |
sort | text | 是 | 222 | 排序 |
{
"status": 200,
"message": "编辑成功"
}
Path: /admin/store/brand/category/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 分类id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": 0,
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"value": "一级分类",
"label": "|---"
},
{
"value": "电子读物",
"label": "|---"
}
]
},
{
"type": "input",
"field": "cate_name",
"value": "一级分类",
"title": "分类名称",
"props": {
"type": "text",
"placeholder": "请输入分类名称"
},
"validate": [
{
"message": "请输入分类名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "frame",
"field": "pic",
"value": "",
"title": "分类图片",
"props": {
"type": "image",
"maxLength": 1,
"title": "请选择分类图片",
"src": "/setting/uploadPicture?field=pic&type=1",
"height": "620px",
"width": "1000px",
"modal": {
"custom-class": "suibian-modal"
}
}
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 1,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin.store.StoreBrandCategory/storeStoreCategoryUpdateForm.html?id=143",
"method": "POST",
"title": "编辑分类",
"config": {}
}
}
Path: /admin/store/brand/category/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"store_brand_category_id": 143,
"pid": 0,
"cate_name": "一级分类",
"path": "-",
"sort": 1,
"is_show": 1,
"level": 0,
"create_time": "2020-04-29 14:17:31"
}
}
Path: /admin/store/brand/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
brand_category_id | 是 |
{
"status": 200,
"message": "success",
"data": {
"count": 2,
"list": [
{
"brand_id": 116,
"brand_category_id": 147,
"brand_name": "苹果",
"sort": 100,
"pic": "url",
"is_show": 1,
"create_time": "2020-04-29 16:50:12",
"brandCategory": {
"store_brand_category_id": 147,
"cate_name": "电子读物",
"path": "-146-"
}
},
{
"brand_id": 118,
"brand_category_id": 147,
"brand_name": "华为",
"sort": 100,
"pic": "url",
"is_show": 1,
"create_time": "2020-04-29 17:15:09",
"brandCategory": {
"store_brand_category_id": 147,
"cate_name": "电子读物",
"path": "-146-"
}
}
]
}
}
Path: /admin/store/brand/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "brand_category_id",
"value": "",
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"label": "化妆品/乳液",
"value": 152
}
]
},
{
"type": "input",
"field": "brand_name",
"value": "",
"title": "品牌名称",
"props": {
"type": "text",
"placeholder": "请输入品牌名称"
},
"validate": [
{
"message": "请输入品牌名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "switch",
"field": "is_show",
"value": "0",
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin.store.StoreBrand/storeBrandUpdate.html?id=0",
"method": "POST",
"title": "编辑品牌",
"config": {}
}
}
Path: /admin/store/brand/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "brand_category_id",
"value": 150,
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"label": "化妆品/乳液",
"value": 152
}
]
},
{
"type": "input",
"field": "brand_name",
"value": "苹果",
"title": "品牌名称",
"props": {
"type": "text",
"placeholder": "请输入品牌名称"
},
"validate": [
{
"message": "请输入品牌名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 100,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/store/brand/update/116.html",
"method": "POST",
"title": "编辑品牌",
"config": {}
}
}
Path: /admin/store/brand/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
brand_category_id | text | 是 | 1 | 品牌分类id |
brand_name | text | 是 | 华为 | 品牌 |
sort | text | 是 | 12 | 排序 |
pic | text | 是 | url | 图标 |
is_show | text | 是 | 1 | 是否显示 |
{
"status": 200,
"message": "添加成功"
}
Path: /admin/store/brand/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 品牌id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
brand_category_id | text | 是 | 分类id | |
brand_name | text | 是 | 品牌 | |
sort | text | 是 | 排序 | |
pic | text | 是 | 图标 | |
is_show | text | 是 | 是否显示 |
{
"status": 200,
"message": "编辑成功"
}
Path: /admin/store/brand/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 品牌id |
{
"status": 200,
"message": "删除成功"
}
Path: /admin/system/merchant/category/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
Path: /admin/system/merchant/category/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
{"type":"object","title":"empty object","properties":{"category_name":{"type":"string","mock":{"mock":"分类名称"},"description":"分类名称"},"commission_rate":{"type":"number","mock":{"mock":"0.01"},"description":"手续费"}},"required":["category_name","commission_rate"]}
Path: /admin/system/merchant/category
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
category_name | string | 必须 | 分类名称 | mock: 分类名称 | |
commission_rate | number | 必须 | 手续费 | mock: 0.01 |
Path: /admin/system/merchant/category/form
Method: GET
接口描述:
Path: /admin/system/merchant/category/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
category_name | string | 必须 | 分类名称 | mock: 分类名称 | |
commission_rate | number | 必须 | 手续费 | mock: 0.01 |
Path: /admin/system/merchant/category/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/group/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
Path: /admin/user/group/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
{"type":"object","title":"empty object","properties":{"category_name":{"type":"string","mock":{"mock":"分类名称"},"description":"分类名称"},"commission_rate":{"type":"number","mock":{"mock":"0.01"},"description":"手续费"}},"required":["category_name","commission_rate"]}
Path: /admin/user/group
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
group_name | string | 必须 | 分组名称 | mock: 分组名称 |
Path: /admin/user/group/form
Method: GET
接口描述:
Path: /admin/user/group/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
group_name | string | 必须 | 分组名称 | mock: 分组名称 |
Path: /admin/user/group/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/coupon/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Path: /admin/user/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/lst
Method: GET
接口描述:
Path: /admin/user/detail/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ uid | number | 非必须 | 用户 id | ||
├─ avatar | string | 非必须 | 用户头像 | ||
├─ nickname | string | 非必须 | 用户昵称 | ||
├─ now_money | string | 非必须 | 余额 | ||
├─ pay_price | string | 非必须 | 订单总金额 | ||
├─ pay_count | number | 非必须 | 订单总次数 | ||
├─ total_pay_price | null | 非必须 | 当月订单总金额 | ||
├─ total_pay_count | number | 非必须 | 当月订单总次数 |
Path: /admin/user/change_spread/:uid
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Path: /admin/user/change_now_money/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/change_now_money/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/change_group/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/change_group/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/change_spread_form/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Path: /admin/user/change_label/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
label_id | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 |
Path: /admin/user/change_label/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/news/push
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 | ||||
news_id | integer | 必须 | 图文 ID |
Path: /admin/user/batch_change_group
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 | ||||
group_id | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 |
Path: /admin/user/batch_change_group/form
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
ids | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 | ||||
group_id | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 |
Path: /admin/user/batch_change_label
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 | ||||
label_id | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 |
Path: /admin/user/batch_change_label/form
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
ids[] | 是 | 1 | 用户 ID |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 | ||||
label_id | integer [] | 必须 | item 类型: integer | ||
├─ | 非必须 |
Path: /admin/user/spread_log/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
Path: /admin/user/bill/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Path: /admin/user/order/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Path: /admin/user/update/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/label/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 |
Path: /admin/user/label/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
{"type":"object","title":"empty object","properties":{"category_name":{"type":"string","mock":{"mock":"分类名称"},"description":"分类名称"},"commission_rate":{"type":"number","mock":{"mock":"0.01"},"description":"手续费"}},"required":["category_name","commission_rate"]}
Path: /admin/user/label
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
label_name | string | 必须 | 标签名称 | mock: 标签名称 |
Path: /admin/user/label/form
Method: GET
接口描述:
Path: /admin/user/label/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
label_name | string | 必须 | 标签名称 | mock: 标签名称 |
Path: /admin/user/label/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/admin/store/product/mer_select
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"mer_id": 55,
"mer_name": "小卖部"
}
]
}
Path: /admin/store/product/status
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1 | 1:审核通过 -1: 未通过 -2: 下架 |
refusal | text | 是 | 拒绝理由 |
{
"status": 200,
"message": "审核成功"
}
Path: /admin/store/product/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
is_hot | text | 是 | 热门榜单 0 , 1 | |
is_best | text | 是 | 精品推荐 0 ,1 | |
is_new | text | 是 | 首发新品 | |
is_benefit | text | 是 | 促销单品 | |
ficti | text | 是 | 虚拟销量 |
Path: /admin/store/product/ficti/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
ficti | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ficti | text | 是 |
Path: /admin/store/product/ficti/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "inputNumber",
"field": "ficti",
"value": 0,
"title": "虚拟销量",
"props": {
"placeholder": "请输入虚拟销量"
}
}
],
"action": "/sys/store/product/ficti/199.html",
"method": "POST",
"title": "增加虚拟销量数",
"config": {}
}
}
Path: /admin/store/product/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
{
"status": 200,
"message": "success",
"data": {
"product_id": 119,
"mer_id": 551,
"image": "商品图片",
"slider_image": "轮播图",
"store_name": "商品名称",
"store_info": "商品简介",
"keyword": "关键字",
"bar_code": "产品条码(一维码)",
"brand_id": 116,
"cate_id": 144,
"mer_cate_id": [
"146"
],
"unit_name": "unit_name",
"sort": 100,
"rank": 0,
"sales": 0,
"price": "0.00",
"stock": null,
"is_show": 1,
"status": 0,
"is_hot": 0,
"is_benefit": 1,
"is_best": 0,
"is_new": 1,
"is_del": 0,
"is_good": 1,
"ficti": 100,
"browse": 0,
"code_path": "",
"video_link": "主图视频链接",
"temp_id": 42,
"spec_type": 1,
"extension_type": 0,
"extension": "0.00",
"create_time": "2020-05-09 09:52:02",
"refusal": null,
"productAttr": [
{
"product_id": 119,
"attr_name": "颜色",
"attr_values": [
"黑,白"
],
"type": 0
}
],
"productAttrValue": [
{
"product_id": 119,
"sku": "",
"stock": 100,
"sales": 0,
"image": "url",
"bar_code": "5614821985",
"cost": "122.00",
"ot_price": "200.00",
"price": "500.00",
"volume": "10.00",
"weight": "21.00",
"type": 0,
"extension_one": "0",
"extension_two": "0",
"unique": ""
}
],
"content": null,
"temp": {
"shipping_template_id": 42,
"name": "模板21"
}
}
}
Path: /admin/store/express/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
is_show | text | 是 | 0/1 |
{
"status": 200,
"message": "修改成功"
}
Path: /admin/store/express/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 421,
"list": [
{
"id": 428,
"code": "zbkd",
"name": "重磅快递",
"sort": 100,
"is_show": 1
},
{
"id": 252,
"code": "zhongtong",
"name": "中通快递",
"sort": 100,
"is_show": 1
},
{
"id": 221,
"code": "tiantian",
"name": "天天快递",
"sort": 99,
"is_show": 0
},
{
"id": 290,
"code": "kuaijie",
"name": "快捷速递",
"sort": 98,
"is_show": 0
},
{
"id": 243,
"code": "yuantong",
"name": "圆通速递",
"sort": 97,
"is_show": 1
},
{
"id": 31,
"code": "intmail",
"name": "中国邮政",
"sort": 96,
"is_show": 0
},
{
"id": 266,
"code": "shentong",
"name": "申通快递",
"sort": 95,
"is_show": 1
},
{
"id": 286,
"code": "yunda",
"name": "韵达快运",
"sort": 94,
"is_show": 0
},
{
"id": 291,
"code": "huitong",
"name": "百世快递",
"sort": 93,
"is_show": 0
},
{
"id": 188,
"code": "shunfeng",
"name": "顺丰速运",
"sort": 92,
"is_show": 1
}
]
}
}
Path: /admin/store/express/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
{
"status": 400,
"message": "数据不存在"
}
Path: /admin/store/express/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 京东快递 | 名称 |
code | text | 是 | jingdong | 编码 |
sort | text | 是 | 排序 | |
is_show | text | 是 | 是否启用 |
{
"status": 200,
"message": "添加成功"
}
Path: /admin/store/express/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "input",
"field": "name",
"value": "",
"title": "快递公司名称",
"props": {
"type": "text",
"placeholder": "请输入快递公司名称"
},
"validate": [
{
"message": "请输入快递公司名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "code",
"value": "",
"title": "快递公司代码",
"props": {
"type": "text",
"placeholder": "请输入快递公司代码"
},
"validate": [
{
"message": "请输入快递公司代码",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "switch",
"field": "is_show",
"value": "0",
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/store/express/create.html",
"method": "POST",
"title": "添加快递公司",
"config": {}
}
}
Path: /admin/store/express/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 天天快递 | 名称 |
code | text | 是 | tt | 编码 |
sort | text | 是 | 111 | |
is_show | text | 是 | 1 |
{
"status": 400,
"message": "数据不存在"
}
Path: /admin/store/express/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "input",
"field": "name",
"value": "重磅快递",
"title": "快递公司名称",
"props": {
"type": "text",
"placeholder": "请输入快递公司名称"
},
"validate": [
{
"message": "请输入快递公司名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "code",
"value": "zbkd",
"title": "快递公司代码",
"props": {
"type": "text",
"placeholder": "请输入快递公司代码"
},
"validate": [
{
"message": "请输入快递公司代码",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 100,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/store/express/create.html?id=428",
"method": "POST",
"title": "编辑快递公司",
"config": {}
}
}
Path: /admin/store/express/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | id |
{
"status": 200,
"message": "success",
"data": {
"id": 425,
"code": "acs",
"name": "ACS",
"sort": 1,
"is_show": 0
}
}
Path: /admin/sms/public
Method: GET
接口描述:
Path: /admin/sys/sms/change_password
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
password | text | 是 | 新密码 | |
phone | text | 是 | 手机号 | |
code | text | 是 | 短信验证码 |
Path: /admin/sys/sms/change_sign
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
sign | text | 是 | 新签名 | |
phone | text | 是 | 手机号 | |
code | text | 是 | 短信验证码 |
Path: /admin/sms/number
Method: GET
接口描述:
Path: /admin/sms/captcha
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
phone | string | 必须 | 手机号 |
Path: /admin/sms/is_login
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | boolean | 必须 | 是否登录 |
Path: /admin/sms/register
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | string | 必须 | 账号 | ||
password | string | 必须 | 密码 | ||
phone | string | 必须 | 手机号 | ||
code | string | 必须 | 验证码 | ||
url | string | 必须 | 域名 | ||
sign | string | 必须 | 短信签名 |
{
"type": "object",
"title": "empty object",
"properties": {}
}
Path: /admin/sms/temp/form
Method: GET
接口描述:
Path: /admin/sms/config
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | string | 必须 | 账号 | ||
password | string | 必须 | 密码 |
Path: /admin/sms/record
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
type | 是 |
Path: /admin/sms/price
Method: GET
接口描述:
Path: /admin/sms/temp
Method: GET
接口描述:
Path: /admin/sms/data
Method: GET
接口描述:
Path: /admin/sms/pay_code
Method: POST
接口描述:
Path: /admin/sms/logout
Method: GET
接口描述:
Path: /admin/safety/database/download/:feilname
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
feilname | 文件的 time 字段 1589940398 |
Path: /admin/safety/database/optimize
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
{
"name": [
"eb_article"
]
}
{
"status": 200,
"message": "优化成功"
}
Path: /admin/safety/database/repair
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
name | text | 是 | 表名 |
{
"status": 200,
"message": "修复成功"
}
Path: /admin/safety/database/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"name": "eb_article",
"engine": "InnoDB",
"version": 10,
"row_format": "Compact",
"rows": 5,
"avg_row_length": 3276,
"data_length": 16384,
"max_data_length": 0,
"index_length": 0,
"data_free": 0,
"auto_increment": 148,
"create_time": "2020-04-29 11:56:04",
"update_time": null,
"check_time": null,
"collation": "utf8_general_ci",
"checksum": null,
"create_options": "row_format=DYNAMIC",
"comment": "文章管理表"
}
]
}
Path: /admin/safety/database/delete/:feilname
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
feilname | 文件的 time 字段 |
{
"status": 200,
"message": "删除成功"
}
Path: /admin/safety/database/backups
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
{
// 表名数组
"name":[
"eb_article",
"eb_article_category"
]
}
Path: /admin/safety/database/fileList
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"2020-05-20 10:06:38": {
"filename": "20200520-100638-1.sql.gz",
"part": 1,
"size": "10B",
"compress": "GZ",
"backtime": "2020-05-20 10:06:38",
"time": 1589940398
}
}
}
Path: /admin/safety/database/detail/:name
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
name | eb_article | 数据库名称 |
{
"status": 200,
"message": "success",
"data": [
{
"COLUMN_NAME": "article_id",
"COLUMN_TYPE": "int(10) unsigned",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "NO",
"EXTRA": "auto_increment",
"COLUMN_COMMENT": "文章管理ID"
},
{
"COLUMN_NAME": "cid",
"COLUMN_TYPE": "int(11) unsigned",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "分类id"
},
{
"COLUMN_NAME": "title",
"COLUMN_TYPE": "varchar(64)",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "NO",
"EXTRA": "",
"COLUMN_COMMENT": "文章标题"
},
{
"COLUMN_NAME": "author",
"COLUMN_TYPE": "varchar(32)",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "文章作者"
},
{
"COLUMN_NAME": "image_input",
"COLUMN_TYPE": "varchar(128)",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "NO",
"EXTRA": "",
"COLUMN_COMMENT": "文章图片"
},
{
"COLUMN_NAME": "synopsis",
"COLUMN_TYPE": "varchar(128)",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "文章简介"
},
{
"COLUMN_NAME": "visit",
"COLUMN_TYPE": "varchar(255)",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "浏览次数"
},
{
"COLUMN_NAME": "sort",
"COLUMN_TYPE": "int(10) unsigned",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "排序"
},
{
"COLUMN_NAME": "url",
"COLUMN_TYPE": "varchar(128)",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "原文链接"
},
{
"COLUMN_NAME": "admin_id",
"COLUMN_TYPE": "int(10) unsigned",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "NO",
"EXTRA": "",
"COLUMN_COMMENT": "管理员id"
},
{
"COLUMN_NAME": "mer_id",
"COLUMN_TYPE": "int(10) unsigned",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "商户id"
},
{
"COLUMN_NAME": "is_hot",
"COLUMN_TYPE": "tinyint(1) unsigned",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "是否热门(小程序)"
},
{
"COLUMN_NAME": "is_banner",
"COLUMN_TYPE": "tinyint(1) unsigned",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "是否轮播图(小程序)"
},
{
"COLUMN_NAME": "status",
"COLUMN_TYPE": "tinyint(1) unsigned",
"COLUMN_DEFAULT": null,
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "状态"
},
{
"COLUMN_NAME": "create_time",
"COLUMN_TYPE": "datetime",
"COLUMN_DEFAULT": "CURRENT_TIMESTAMP",
"IS_NULLABLE": "NO",
"EXTRA": "",
"COLUMN_COMMENT": "添加时间"
},
{
"COLUMN_NAME": "wechat_news_id",
"COLUMN_TYPE": "int(11)",
"COLUMN_DEFAULT": "0",
"IS_NULLABLE": "YES",
"EXTRA": "",
"COLUMN_COMMENT": "微信图文id"
}
]
}
Path: /admin/store/reply/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/reply/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
keyword | 是 | 关键字 | |
nickname | 是 | 昵称 | |
is_reply | 是 | 是否回复 | |
date | 是 | 时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ uid | number | 必须 | 用户 id | ||
├─ product_score | number | 必须 | 产品评分 | ||
├─ service_score | number | 必须 | 服务评分 | ||
├─ postage_score | number | 必须 | 物流评分 | ||
├─ comment | string | 必须 | 评价 | ||
├─ pics | string [] | 必须 | 图片 | item 类型: string | |
├─ | 非必须 | ||||
├─ create_time | string | 必须 | 评价时间 | ||
├─ merchant_reply_content | null | 必须 | 回复内容 | ||
├─ nickname | string | 必须 | 用户名 | ||
├─ avatar | string | 必须 | 头像 | ||
├─ store_name | string | 必须 | 商品名称 | ||
├─ image | string | 必须 | 商品图片 | ||
├─ is_reply | string | 必须 | 是否回复 1:已回复 |
Path: /admin/store/reply/create/form/:id?
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id? |
Path: /admin/user/feedback/category/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 |
Path: /admin/user/feedback/category/lst
Method: GET
接口描述:
Path: /admin/user/feedback/category/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": "",
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类"
},
"validate": [
{
"message": "请选择上级分类",
"required": true,
"type": "number",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
},
{
"value": 154,
"label": "|---一级分类"
},
{
"value": 156,
"label": "|---|---s级分类"
},
{
"value": 155,
"label": "|---r级分类"
}
]
},
{
"type": "input",
"field": "cate_name",
"value": "",
"title": "分类名称",
"props": {
"type": "text",
"placeholder": "请输入分类名称"
},
"validate": [
{
"message": "请输入分类名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
}
],
"action": "/admin/user/feedback/category/create.html",
"method": "POST",
"title": "添加分类",
"config": {}
}
}
Path: /admin/user/feedback/category/update/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/feedback/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | 模糊搜索 | |
type | 是 | 类型搜索 | |
realname | 是 | 联系人搜索 | |
status | 是 | 状态筛选 |
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"feedback_id": 1,
"uid": 0,
"type": "类型1/内容1",
"content": "dsa",
"images": [],
"realname": "sad",
"contact": "18792881078",
"create_time": "2020-05-28 11:48:11",
"status": 1,
"reply": "回复点啥点 、",
"remake": ""
}
]
}
}
Path: /admin/user/feedback/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/feedback/category/delete/:id
Method: DELETE
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/user/feedback/reply/:id
Method: POST
接口描述:
{
"status":200,
"message":"回复成功"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 状态 1 已处理 0 待处理 | |
reply | text | 是 | 给用户的回复内容 | |
remake | text | 是 | 备注,后台人员自己查看用 |
Path: /admin/user/feedback/category/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | 父级 | |
cate_name | text | 是 | 名称 | |
is_show | text | 是 | 状态 | |
pic | text | 是 | 图标 | |
sort | text | 是 | 排序 |
Path: /admin/user/feedback/category/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
pid | text | 是 | ||
cate_name | text | 是 | ||
sort | text | 是 | ||
pic | text | 是 | ||
is_show | text | 是 |
Path: /admin/user/feedback/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/merchant/order/lst/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
reconciliation_type | 是 | ||
date | 是 |
{
"status": 200,
"message": "success",
"data": {
"count": 7,
"list": [
{
"order_id": 50,
"group_order_id": 35,
"order_sn": "wx1591843708868537301",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "794",
"total_num": 1,
"total_price": "10.00",
"total_postage": "1.00",
"pay_price": "11.00",
"pay_postage": "1.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 10:48:29",
"pay_type": 0,
"create_time": "2020-06-11 10:48:29",
"status": 3,
"delivery_type": "1",
"delivery_name": "232323",
"delivery_id": "2322323",
"mark": "快点发货",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "20.00",
"is_remind": 0,
"is_del": 1,
"is_system_del": 1,
"orderProduct": [
{
"order_product_id": 51,
"order_id": 50,
"uid": 7238,
"cart_id": 794,
"product_id": 201,
"product_sku": "8abd04b56d30",
"is_refund": 0,
"product_num": 1,
"refund_num": 1,
"is_reply": 1,
"product_price": "10.00",
"cart_info": {
"product": {
"product_id": 201,
"image": "http://192.168.1.24:8324/uploads/def/49/0bb75e608a2583d5bc424c88e881b6.jpg",
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1,
"temp_id": 92,
"temp": {
"shipping_template_id": 92,
"name": "测北京市",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 0,
"create_time": "2020-05-25 17:00:38",
"regionAddress": {
"shipping_template_region_id": 373,
"temp_id": 92,
"city_id": "0",
"first": "1.00",
"first_price": "1.00",
"continue": "1.00",
"continue_price": "1.00"
},
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 201,
"stock": 98,
"price": "10.00",
"unique": "8abd04b56d30",
"sku": "36,黄色",
"volume": "11.00",
"weight": "5.00",
"cost": "20.00"
},
"product_type": 0
}
}
]
},
{
"order_id": 52,
"group_order_id": 36,
"order_sn": "wx1591844058639612841",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "796",
"total_num": 1,
"total_price": "15000.00",
"total_postage": "0.00",
"pay_price": "15000.00",
"pay_postage": "0.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 11:02:25",
"pay_type": 0,
"create_time": "2020-06-11 10:54:19",
"status": 3,
"delivery_type": "0",
"delivery_name": "1",
"delivery_id": "123456789",
"mark": "",
"remark": "11111",
"mer_id": 55,
"reconciliation_id": 0,
"cost": "14000.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0,
"orderProduct": [
{
"order_product_id": 53,
"order_id": 52,
"uid": 7238,
"cart_id": 796,
"product_id": 207,
"product_sku": "f7d035d7baf0",
"is_refund": 0,
"product_num": 1,
"refund_num": 1,
"is_reply": 1,
"product_price": "15000.00",
"cart_info": {
"product": {
"product_id": 207,
"image": "http://192.168.1.20:8324/uploads/def/e7/7c7db9f27ef6bd93e25055640936dd.jpg",
"store_name": "电脑",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "台",
"price": "15000.00",
"mer_status": 1,
"temp_id": 44,
"temp": {
"shipping_template_id": 44,
"name": "模板21",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 1,
"create_time": "2020-05-07 09:55:52",
"regionAddress": null,
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 207,
"stock": 96,
"price": "15000.00",
"unique": "f7d035d7baf0",
"sku": "",
"volume": "1.00",
"weight": "1.00",
"cost": "14000.00"
},
"product_type": 0
}
}
]
},
{
"order_id": 53,
"group_order_id": 37,
"order_sn": "wx1591844125905187801",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "797",
"total_num": 1,
"total_price": "15000.00",
"total_postage": "0.00",
"pay_price": "15000.00",
"pay_postage": "0.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 10:55:26",
"pay_type": 2,
"create_time": "2020-06-11 10:55:26",
"status": 3,
"delivery_type": "1",
"delivery_name": "111",
"delivery_id": "5555",
"mark": "",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "14000.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0,
"orderProduct": [
{
"order_product_id": 54,
"order_id": 53,
"uid": 7238,
"cart_id": 797,
"product_id": 207,
"product_sku": "f7d035d7baf0",
"is_refund": 0,
"product_num": 1,
"refund_num": 1,
"is_reply": 1,
"product_price": "15000.00",
"cart_info": {
"product": {
"product_id": 207,
"image": "http://192.168.1.20:8324/uploads/def/e7/7c7db9f27ef6bd93e25055640936dd.jpg",
"store_name": "电脑",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "台",
"price": "15000.00",
"mer_status": 1,
"temp_id": 44,
"temp": {
"shipping_template_id": 44,
"name": "模板21",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 1,
"create_time": "2020-05-07 09:55:52",
"regionAddress": null,
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 207,
"stock": 95,
"price": "15000.00",
"unique": "f7d035d7baf0",
"sku": "",
"volume": "1.00",
"weight": "1.00",
"cost": "14000.00"
},
"product_type": 0
}
}
]
},
{
"order_id": 56,
"group_order_id": 40,
"order_sn": "wx1591844594848313511",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "800",
"total_num": 1,
"total_price": "11.00",
"total_postage": "0.00",
"pay_price": "11.00",
"pay_postage": "0.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 11:03:23",
"pay_type": 0,
"create_time": "2020-06-11 11:03:15",
"status": 1,
"delivery_type": "1",
"delivery_name": "444",
"delivery_id": "8888",
"mark": "",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "22.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0,
"orderProduct": [
{
"order_product_id": 57,
"order_id": 56,
"uid": 7238,
"cart_id": 800,
"product_id": 202,
"product_sku": "eff80044b5b0",
"is_refund": 1,
"product_num": 1,
"refund_num": 0,
"is_reply": 0,
"product_price": "11.00",
"cart_info": {
"product": {
"product_id": 202,
"image": "http://192.168.1.24:8324/uploads/def/49/0bb75e608a2583d5bc424c88e881b6.jpg",
"store_name": "哇哈哈",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "板",
"price": "11.00",
"mer_status": 1,
"temp_id": 44,
"temp": {
"shipping_template_id": 44,
"name": "模板21",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 1,
"create_time": "2020-05-07 09:55:52",
"regionAddress": null,
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 202,
"stock": 97,
"price": "11.00",
"unique": "eff80044b5b0",
"sku": "小号",
"volume": "1.00",
"weight": "1.00",
"cost": "22.00"
},
"product_type": 0
}
}
]
},
{
"order_id": 57,
"group_order_id": 41,
"order_sn": "wx1591847755050963561",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "801,803",
"total_num": 3,
"total_price": "31.00",
"total_postage": "2.00",
"pay_price": "33.00",
"pay_postage": "2.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 11:57:23",
"pay_type": 0,
"create_time": "2020-06-11 11:55:56",
"status": 2,
"delivery_type": "1",
"delivery_name": "3",
"delivery_id": "5",
"mark": "",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "62.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0,
"orderProduct": [
{
"order_product_id": 58,
"order_id": 57,
"uid": 7238,
"cart_id": 801,
"product_id": 202,
"product_sku": "eff80044b5b0",
"is_refund": 3,
"product_num": 1,
"refund_num": 1,
"is_reply": 0,
"product_price": "11.00",
"cart_info": {
"product": {
"product_id": 202,
"image": "http://192.168.1.24:8324/uploads/def/49/0bb75e608a2583d5bc424c88e881b6.jpg",
"store_name": "哇哈哈",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "板",
"price": "11.00",
"mer_status": 1,
"temp_id": 44,
"temp": {
"shipping_template_id": 44,
"name": "模板21",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 1,
"create_time": "2020-05-07 09:55:52",
"regionAddress": null,
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 202,
"stock": 96,
"price": "11.00",
"unique": "eff80044b5b0",
"sku": "小号",
"volume": "1.00",
"weight": "1.00",
"cost": "22.00"
},
"product_type": 0
}
},
{
"order_product_id": 59,
"order_id": 57,
"uid": 7238,
"cart_id": 803,
"product_id": 201,
"product_sku": "21503b7792b0",
"is_refund": 3,
"product_num": 2,
"refund_num": 2,
"is_reply": 1,
"product_price": "20.00",
"cart_info": {
"product": {
"product_id": 201,
"image": "http://192.168.1.24:8324/uploads/def/49/0bb75e608a2583d5bc424c88e881b6.jpg",
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1,
"temp_id": 92,
"temp": {
"shipping_template_id": 92,
"name": "测北京市",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 0,
"create_time": "2020-05-25 17:00:38",
"regionAddress": {
"shipping_template_region_id": 373,
"temp_id": 92,
"city_id": "0",
"first": "1.00",
"first_price": "1.00",
"continue": "1.00",
"continue_price": "1.00"
},
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "21503b7792b0",
"sku": "38,黄色",
"volume": "11.00",
"weight": "5.00",
"cost": "20.00"
},
"product_type": 0
}
}
]
},
{
"order_id": 59,
"group_order_id": 42,
"order_sn": "wx1591860387942835071",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "811",
"total_num": 97,
"total_price": "970.00",
"total_postage": "97.00",
"pay_price": "1067.00",
"pay_postage": "97.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 15:26:29",
"pay_type": 0,
"create_time": "2020-06-11 15:26:29",
"status": 1,
"delivery_type": null,
"delivery_name": null,
"delivery_id": null,
"mark": "",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "1940.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0,
"orderProduct": [
{
"order_product_id": 61,
"order_id": 59,
"uid": 7238,
"cart_id": 811,
"product_id": 201,
"product_sku": "8abd04b56d30",
"is_refund": 3,
"product_num": 97,
"refund_num": 0,
"is_reply": 0,
"product_price": "970.00",
"cart_info": {
"product": {
"product_id": 201,
"image": "http://192.168.1.24:8324/uploads/def/49/0bb75e608a2583d5bc424c88e881b6.jpg",
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1,
"temp_id": 92,
"temp": {
"shipping_template_id": 92,
"name": "测北京市",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 0,
"create_time": "2020-05-25 17:00:38",
"regionAddress": {
"shipping_template_region_id": 373,
"temp_id": 92,
"city_id": "0",
"first": "1.00",
"first_price": "1.00",
"continue": "1.00",
"continue_price": "1.00"
},
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 201,
"stock": 97,
"price": "10.00",
"unique": "8abd04b56d30",
"sku": "36,黄色",
"volume": "11.00",
"weight": "5.00",
"cost": "20.00"
},
"product_type": 0
}
}
]
},
{
"order_id": 61,
"group_order_id": 43,
"order_sn": "wx1591862829254534352",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "812",
"total_num": 98,
"total_price": "980.00",
"total_postage": "98.00",
"pay_price": "1078.00",
"pay_postage": "98.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 16:07:10",
"pay_type": 1,
"create_time": "2020-06-11 16:07:10",
"status": 1,
"delivery_type": null,
"delivery_name": null,
"delivery_id": null,
"mark": "",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "1960.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0,
"orderProduct": [
{
"order_product_id": 63,
"order_id": 61,
"uid": 7238,
"cart_id": 812,
"product_id": 201,
"product_sku": "0437a43d7630",
"is_refund": 1,
"product_num": 98,
"refund_num": 38,
"is_reply": 0,
"product_price": "980.00",
"cart_info": {
"product": {
"product_id": 201,
"image": "http://192.168.1.24:8324/uploads/def/49/0bb75e608a2583d5bc424c88e881b6.jpg",
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1,
"temp_id": 92,
"temp": {
"shipping_template_id": 92,
"name": "测北京市",
"type": 0,
"appoint": 1,
"undelivery": 1,
"mer_id": 55,
"is_default": 0,
"sort": 0,
"create_time": "2020-05-25 17:00:38",
"regionAddress": {
"shipping_template_region_id": 373,
"temp_id": 92,
"city_id": "0",
"first": "1.00",
"first_price": "1.00",
"continue": "1.00",
"continue_price": "1.00"
},
"undelives": null,
"freeAddress": null
}
},
"productAttr": {
"product_id": 201,
"stock": 98,
"price": "10.00",
"unique": "0437a43d7630",
"sku": "35,黄色",
"volume": "11.00",
"weight": "5.00",
"cost": "20.00"
},
"product_type": 0
}
}
]
}
]
}
}
Path: /admin/merchant/order/reconciliation/mark/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "input",
"field": "admin_mark",
"value": "sdfs",
"title": "备注",
"props": {
"type": "text",
"placeholder": "请输入备注"
},
"validate": [
{
"message": "请输入备注",
"required": true,
"type": "string",
"trigger": "change"
}
]
}
],
"action": "/admin/merchant/order/reconciliation/mark/8.html",
"method": "POST",
"title": "修改备注",
"config": {}
}
}
Path: /admin/merchant/order/refund/lst/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"count": 2,
"list": [
{
"refund_order_id": 7,
"refund_order_sn": "rwx159195104817374185",
"order_id": 56,
"uid": 7238,
"mer_id": 55,
"delivery_type": null,
"delivery_id": null,
"delivery_mark": null,
"delivery_pics": null,
"delivery_phone": null,
"mer_delivery_user": null,
"mer_delivery_address": null,
"phone": null,
"mark": "dadadada",
"pics": [
"http://192.168.1.20:8324/uploads/feedback/e3/b8c8280fcd17746de0751b37bf06af.png"
],
"refund_type": 1,
"refund_message": "东西不行",
"refund_price": "11.00",
"refund_num": 0,
"fail_message": null,
"status": 2,
"is_del": 0,
"status_time": "2020-06-13 14:23:08",
"create_time": "2020-06-12 16:37:28",
"reconciliation_id": 0,
"reconciliation_type": 0
},
{
"refund_order_id": 8,
"refund_order_sn": "rwx159195333494269821",
"order_id": 61,
"uid": 7238,
"mer_id": 55,
"delivery_type": "顺丰速运",
"delivery_id": "110",
"delivery_mark": "qweq",
"delivery_pics": null,
"delivery_phone": "18792881078",
"mer_delivery_user": null,
"mer_delivery_address": null,
"phone": null,
"mark": "买多了",
"pics": [
"http://192.168.1.20:8324/uploads/feedback/e3/b8c8280fcd17746de0751b37bf06af.png"
],
"refund_type": 2,
"refund_message": "收货地址填错了",
"refund_price": "600.00",
"refund_num": 0,
"fail_message": null,
"status": 2,
"is_del": 0,
"status_time": "2020-06-13 14:23:08",
"create_time": "2020-06-12 17:15:35",
"reconciliation_id": 0,
"reconciliation_type": 0
}
]
}
}
Path: /admin/merchant/order/reconciliation/create/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
refund_order_ids | text | 是 | 退款订单id 【数组】 | |
order_ids | text | 是 | 需要对账的订单id 【数组】 | |
type | text | 是 | 1.全选 | |
data | text | 是 | 时间参数 |
Path: /admin/merchant/order/reconciliation/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1 确认大款 |
Path: /admin/merchant/order/mark/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/merchant/order/refund/mark/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/merchant/order/reconciliation/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | ||
status | 是 | ||
date | 是 |
Path: /admin/merchant/order/reconciliation/:id/order
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"list": {
"order": [
{
"order_id": 50,
"group_order_id": 35,
"order_sn": "wx1591843708868537301",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "794",
"total_num": 1,
"total_price": "10.00",
"total_postage": "1.00",
"pay_price": "11.00",
"pay_postage": "1.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 10:48:29",
"pay_type": 0,
"create_time": "2020-06-11 10:48:29",
"status": 3,
"delivery_type": "1",
"delivery_name": "232323",
"delivery_id": "2322323",
"mark": "快点发货",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "20.00",
"is_remind": 0,
"is_del": 1,
"is_system_del": 1
},
{
"order_id": 52,
"group_order_id": 36,
"order_sn": "wx1591844058639612841",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "796",
"total_num": 1,
"total_price": "15000.00",
"total_postage": "0.00",
"pay_price": "15000.00",
"pay_postage": "0.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 11:02:25",
"pay_type": 0,
"create_time": "2020-06-11 10:54:19",
"status": 3,
"delivery_type": "0",
"delivery_name": "1",
"delivery_id": "123456789",
"mark": "",
"remark": "11111",
"mer_id": 55,
"reconciliation_id": 0,
"cost": "14000.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0
}
],
"refund": [
{
"refund_order_id": 3,
"refund_order_sn": "rwx159194496547365886",
"order_id": 57,
"uid": 7238,
"mer_id": 55,
"delivery_type": null,
"delivery_id": null,
"delivery_mark": null,
"delivery_pics": null,
"delivery_phone": null,
"mer_delivery_user": null,
"mer_delivery_address": null,
"phone": null,
"mark": "",
"pics": [],
"refund_type": 2,
"refund_message": "东西不行",
"refund_price": "31.00",
"refund_num": 0,
"fail_message": "爱要不要",
"status": 3,
"is_del": 0,
"status_time": "2020-06-05 14:23:08",
"create_time": "2020-06-12 14:56:05",
"reconciliation_id": 0
},
{
"refund_order_id": 4,
"refund_order_sn": "rwx159194903593237843",
"order_id": 59,
"uid": 7238,
"mer_id": 55,
"delivery_type": null,
"delivery_id": null,
"delivery_mark": null,
"delivery_pics": null,
"delivery_phone": null,
"mer_delivery_user": "",
"mer_delivery_address": "",
"phone": null,
"mark": "大撒所大所大多",
"pics": [
"http://192.168.1.20:8324/uploads/feedback/fb/1c1f99892c551d67c8031ac9ecae3d.png"
],
"refund_type": 1,
"refund_message": "东西不行",
"refund_price": "970.00",
"refund_num": 0,
"fail_message": null,
"status": 3,
"is_del": 1,
"status_time": "2020-06-05 14:47:42",
"create_time": "2020-06-12 16:03:56",
"reconciliation_id": 0
}
]
}
}
}
Path: /admin/merchant/order/reconciliation/:id/refund
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"list": {
"order": [
{
"order_id": 50,
"group_order_id": 35,
"order_sn": "wx1591843708868537301",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "794",
"total_num": 1,
"total_price": "10.00",
"total_postage": "1.00",
"pay_price": "11.00",
"pay_postage": "1.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 10:48:29",
"pay_type": 0,
"create_time": "2020-06-11 10:48:29",
"status": 3,
"delivery_type": "1",
"delivery_name": "232323",
"delivery_id": "2322323",
"mark": "快点发货",
"remark": null,
"mer_id": 55,
"reconciliation_id": 0,
"cost": "20.00",
"is_remind": 0,
"is_del": 1,
"is_system_del": 1
},
{
"order_id": 52,
"group_order_id": 36,
"order_sn": "wx1591844058639612841",
"uid": 7238,
"real_name": "张强",
"user_phone": "18792881078",
"user_address": "浙江省杭州市市辖区 12",
"cart_id": "796",
"total_num": 1,
"total_price": "15000.00",
"total_postage": "0.00",
"pay_price": "15000.00",
"pay_postage": "0.00",
"coupon_id": "",
"coupon_price": "0.00",
"paid": 1,
"pay_time": "2020-06-11 11:02:25",
"pay_type": 0,
"create_time": "2020-06-11 10:54:19",
"status": 3,
"delivery_type": "0",
"delivery_name": "1",
"delivery_id": "123456789",
"mark": "",
"remark": "11111",
"mer_id": 55,
"reconciliation_id": 0,
"cost": "14000.00",
"is_remind": 0,
"is_del": 0,
"is_system_del": 0
}
],
"refund": [
{
"refund_order_id": 3,
"refund_order_sn": "rwx159194496547365886",
"order_id": 57,
"uid": 7238,
"mer_id": 55,
"delivery_type": null,
"delivery_id": null,
"delivery_mark": null,
"delivery_pics": null,
"delivery_phone": null,
"mer_delivery_user": null,
"mer_delivery_address": null,
"phone": null,
"mark": "",
"pics": [],
"refund_type": 2,
"refund_message": "东西不行",
"refund_price": "31.00",
"refund_num": 0,
"fail_message": "爱要不要",
"status": 3,
"is_del": 0,
"status_time": "2020-06-05 14:23:08",
"create_time": "2020-06-12 14:56:05",
"reconciliation_id": 0
},
{
"refund_order_id": 4,
"refund_order_sn": "rwx159194903593237843",
"order_id": 59,
"uid": 7238,
"mer_id": 55,
"delivery_type": null,
"delivery_id": null,
"delivery_mark": null,
"delivery_pics": null,
"delivery_phone": null,
"mer_delivery_user": "",
"mer_delivery_address": "",
"phone": null,
"mark": "大撒所大所大多",
"pics": [
"http://192.168.1.20:8324/uploads/feedback/fb/1c1f99892c551d67c8031ac9ecae3d.png"
],
"refund_type": 1,
"refund_message": "东西不行",
"refund_price": "970.00",
"refund_num": 0,
"fail_message": null,
"status": 3,
"is_del": 1,
"status_time": "2020-06-05 14:47:42",
"create_time": "2020-06-12 16:03:56",
"reconciliation_id": 0
}
]
}
}
}
Path: /admin/user/extract/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | -1 未通过 0 审核中 1 已提现 | |
keyword | 是 | 关键字 | |
extract_type | 是 | 0 银行卡 1 支付宝 2微信 | |
date | 是 | 时间 |
{
"status": 200,
"message": "success",
"data": {
"count": 2,
"list": [
{
"extract_id": 27,
"uid": 7238,
"real_name": "老大",
"extract_type": 0,
"bank_code": "银行卡",
"bank_address": "开户地址",
"alipay_code": "支付宝账号",
"wechat": "微信号",
"extract_pic": "收款码",
"extract_price": "11.00",
"balance": "0.00",
"mark": null,
"admin_id": 0,
"fail_msg": null,
"status_time": "2020-06-16 15:28:58",
"create_time": "2020-06-16 15:28:57",
"status": 0
},
{
"extract_id": 28,
"uid": 7239,
"real_name": "老大",
"extract_type": 0,
"bank_code": "银行卡",
"bank_address": "开户地址",
"alipay_code": "支付宝账号",
"wechat": "微信号",
"extract_pic": "收款码",
"extract_price": "11.00",
"balance": "0.00",
"mark": null,
"admin_id": 0,
"fail_msg": null,
"status_time": "2020-06-16 15:45:48",
"create_time": "2020-06-16 15:29:33",
"status": 0
}
]
}
}
Path: /admin/user/extract/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1.通过, -1.拒绝 | |
fail_msg | text | 是 | 拒绝原因 |
Path: /admin/wechat/template/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 状态 | |
keyword | 是 |
Path: /admin/wechat/template/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/wechat/template/min/lst
Method: GET
接口描述:
Path: /admin/wechat/template/min/create/form
Method: GET
接口描述:
Path: /admin/wechat/template/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "hidden",
"field": "type",
"value": 1
},
{
"type": "input",
"field": "tempkey",
"value": "",
"title": "模板编号",
"props": {
"type": "text",
"placeholder": "请输入模板编号"
}
},
{
"type": "input",
"field": "name",
"value": "",
"title": "模板名",
"props": {
"type": "text",
"placeholder": "请输入模板名"
}
},
{
"type": "input",
"field": "tempid",
"value": "",
"title": "模板ID",
"props": {
"type": "text",
"placeholder": "请输入模板ID"
}
},
{
"type": "input",
"field": "content",
"value": "",
"title": "回复内容",
"props": {
"type": "text",
"placeholder": "请输入回复内容"
}
},
{
"type": "switch",
"field": "status",
"value": 1,
"title": "状态",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/wechat/template/create.html",
"method": "POST",
"title": "添加",
"config": {}
}
}
Path: /admin/wechat/template/update/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "hidden",
"field": "type",
"value": 1
},
{
"type": "input",
"field": "tempkey",
"value": "OPENTM200565259",
"title": "模板编号",
"props": {
"type": "text",
"placeholder": "请输入模板编号",
"disabled": true
}
},
{
"type": "input",
"field": "name",
"value": "订单发货提醒",
"title": "模板名",
"props": {
"type": "text",
"placeholder": "请输入模板名",
"disabled": true
}
},
{
"type": "input",
"field": "tempid",
"value": "KusKZOFc_4CrRU_gzuXMdMMTfFeR-OLVVuDiMyR5PiM",
"title": "模板ID",
"props": {
"type": "text",
"placeholder": "请输入模板ID"
}
},
{
"type": "switch",
"field": "status",
"value": 1,
"title": "状态",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/wechat/template/update/33.html",
"method": "POST",
"title": "编辑",
"config": {}
}
}
Path: /admin/service/:id/:uid/log
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | ||
uid |
{
"status": 200,
"message": "success",
"data": {
"count": 217,
"list": [
{
"service_log_id": 248,
"mer_id": 55,
"msn": "123",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:37",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 1,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 247,
"mer_id": 55,
"msn": "em-heart_eyes",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:25",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 2,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 246,
"mer_id": 55,
"msn": "em-grin",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:22",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 2,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 245,
"mer_id": 55,
"msn": "em-blush",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:20",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 2,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 244,
"mer_id": 55,
"msn": "em-blush",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:20",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 2,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 243,
"mer_id": 55,
"msn": "em-blush",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:19",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 2,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 242,
"mer_id": 55,
"msn": "em-blush",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-18 15:23:19",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 2,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 241,
"mer_id": 55,
"msn": "3213",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-17 12:15:33",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 1,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 240,
"mer_id": 55,
"msn": "999",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-17 12:12:52",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 1,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
},
{
"service_log_id": 239,
"mer_id": 55,
"msn": "57",
"uid": 7238,
"service_id": 11,
"create_time": "2020-06-17 11:17:46",
"type": 1,
"remind": 0,
"send_type": 0,
"msn_type": 5,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
},
"service": {
"service_id": 11,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白"
}
}
]
}
}
Path: /admin/service/mer/:id/user
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"uid": 7238,
"mer_id": 55,
"create_time": "2020-06-15 14:21:18",
"type": 1,
"user": {
"uid": 7238,
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/MYibHvafnnsIEnia2Ox86KFomInf0uZD0hH0aH0FWRicg4ib9gypX2rFgiad5JGvRuVLHpAN5TCgw175oiaJFRUePlug/132",
"nickname": "笑而不语。"
}
}
]
}
}
Path: /admin/service/lst/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商户id |
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"service_id": 11,
"mer_id": 55,
"uid": 7233,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLA5vVE0TbsLdV978rWBib5yODz5kdWK5g8zmQnIoiamlTjqP0nKXIEIHDOzSG9gL1aRrTWgGsl5heDA/132",
"nickname": "小白",
"status": 1,
"notify": 1,
"customer": 1,
"sort": 0,
"create_time": "2020-05-29 19:11:01",
"is_del": 0,
"user": {
"nickname": "无懈可击",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqPlPDdwOyBVR5atxjmcZ0Mr3w1Xl97GOtv3CKrhH7qssXhqCEnRsJfKLHY5o7MnEKROxQjxk5mCA/132",
"uid": 7233
}
}
]
}
}
Path: /admin/user/recharge/total
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
totalWxPrice | string | 必须 | 公众号充值金额 | ||
totalRoutinePrice | string | 必须 | 小程序充值金额 | ||
totalPayPrice | string | 必须 | 充值总金额 | ||
totalRefundPrice | string | 必须 | 充值退款金额 |
Path: /admin/user/recharge/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | 关键字 | |
date | 是 | 日期 | |
paid | 是 | 是否支付 |
Path: /admin/user/bill/list
Method: GET
接口描述:
Path: /admin/user/bill/type
Method: GET
接口描述:
Path: /admin/order/takelst
Method: GET
接口描述:
Path: /admin/order/takechart
Method: GET
接口描述:
Path: /admin/order/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | 类型 | |
date | 是 | 时间 | |
status | 是 | 状态 |
Path: /admin/order/refund/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
refund_order_sn | 否 | 订单编号 | |
status | 是 | 状态 0:待审核 -1:审核未通过 1:待退货 2:待收货 3:已退款 | |
refund_type | 是 | 退款类型 1:退款 2:退款退货 | |
date | 是 | 时间 |
Path: /admin/user/spread/clear/:uid
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Path: /admin/user/promoter/lst
Method: GET
接口描述:
Path: /admin/user/spread/lst/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
date | 是 | 时间 | |
level | 是 | 等级 1,2 | |
keyword | 是 | 关键字 |
Path: /admin/user/spread/order/:uid
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
uid |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
date | 是 | ||
level | 是 | ||
keyword | 是 |
Path: /admin/statistics/merchant_visit
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ total | number | 必须 | 商户总数 | ||
├─ mer_id | number | 必须 | 商户 id | ||
├─ mer_name | string | 必须 | 商户名称 | ||
├─ rate | string | 必须 | 比例 | ||
├─ total | number | 非必须 | 总数 |
Path: /admin/statistics/merchant_rate
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ pay_price | string | 非必须 | 分类订单总额 | ||
├─ category_name | string | 非必须 | 分类名称 | ||
├─ rate | string | 非必须 | 比例 | ||
├─ total | number | 非必须 | 总订单总额 |
Path: /admin/statistics/merchant_stock
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ total | string | 必须 | 总数 | ||
├─ product_id | number | 必须 | 产品 id | ||
├─ cart_info | object | 必须 | |||
├─ product | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ image | string | 非必须 | 商品图片 | ||
├─ store_name | string | 非必须 | 商品名称 | ||
├─ is_show | number | 非必须 | |||
├─ status | number | 非必须 | |||
├─ is_del | number | 非必须 | |||
├─ unit_name | string | 非必须 | |||
├─ price | string | 非必须 | |||
├─ mer_status | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ temp | object | 非必须 | |||
├─ shipping_template_id | number | 非必须 | |||
├─ name | string | 非必须 | |||
├─ type | number | 非必须 | |||
├─ appoint | number | 非必须 | |||
├─ undelivery | number | 非必须 | |||
├─ mer_id | number | 非必须 | |||
├─ is_default | number | 非必须 | |||
├─ sort | number | 非必须 | |||
├─ create_time | string | 非必须 | |||
├─ regionAddress | object | 非必须 | |||
├─ shipping_template_region_id | number | 非必须 | |||
├─ temp_id | number | 非必须 | |||
├─ city_id | string | 非必须 | |||
├─ first | string | 非必须 | |||
├─ first_price | string | 非必须 | |||
├─ continue | string | 非必须 | |||
├─ continue_price | string | 非必须 | |||
├─ undelives | null | 非必须 | |||
├─ freeAddress | null | 非必须 | |||
├─ productAttr | object | 非必须 | |||
├─ product_id | number | 非必须 | |||
├─ stock | number | 非必须 | |||
├─ price | string | 非必须 | |||
├─ unique | string | 非必须 | |||
├─ sku | string | 非必须 | |||
├─ volume | string | 非必须 | |||
├─ weight | string | 非必须 | |||
├─ cost | string | 非必须 | |||
├─ product_type | number | 非必须 | |||
├─ rate | string | 必须 | |||
├─ total | number | 非必须 |
Path: /admin/statistics/order_user
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ orderNum | number | 非必须 | 订单总数 | ||
├─ today | object [] | 非必须 | item 类型: object | ||
├─ total | number | 必须 | 订单数 | ||
├─ time | string | 必须 | 时间 | ||
├─ monthOrderNum | number | 非必须 | 上月订单数 | ||
├─ monthRate | number | 非必须 | 上月同比 | ||
├─ orderRate | number | 非必须 | 日同比 |
Path: /admin/statistics/order
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ order | object [] | 非必须 | 统计数据 | item 类型: object | |
├─ time | string | 必须 | 时间 | ||
├─ today | number | 必须 | 今日订单金额 | ||
├─ yesterday | string | 必须 | 昨日订单金额 | ||
├─ todayPrice | number | 非必须 | 今日订单金额 | ||
├─ yesterdayPrice | number | 非必须 | 昨日订单金额 |
Path: /admin/statistics/order_num
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ orderNum | number | 非必须 | 订单数 | ||
├─ today | object [] | 非必须 | 当天 | item 类型: object | |
├─ total | number | 必须 | 订单数 | ||
├─ time | string | 必须 | 时间 | ||
├─ monthOrderNum | number | 非必须 | 上月订单数 | ||
├─ monthRate | number | 非必须 | 上月同比 | ||
├─ orderRate | string | 非必须 | 日同比 |
Path: /admin/statistics/user
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ visitUser | number | 非必须 | 访客数 | ||
├─ orderUser | number | 非必须 | 下单客户 | ||
├─ orderPrice | number | 非必须 | 下单金额 | ||
├─ payOrderUser | number | 非必须 | 支付人数 | ||
├─ payOrderPrice | number | 非必须 | 支付金额 | ||
├─ payOrderRate | string | 非必须 | 下单转化率 | ||
├─ userRate | string | 非必须 | 客单价 | ||
├─ orderRate | number | 非必须 | 访客转化率 |
Path: /admin/statistics/user_rate
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ newTotalPrice | string | 非必须 | 新用户订单总额 | ||
├─ newUser | number | 非必须 | 新用户 | ||
├─ oldTotalPrice | string | 非必须 | 老用户订单总额 | ||
├─ oldUser | number | 非必须 | 老用户 | ||
├─ totalPrice | string | 非必须 | 订单总额 | ||
├─ user | number | 非必须 | 总用户 |
Path: /admin/statistics/user_data
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | 统计数据 | item 类型: object | |
├─ total | number | 必须 | 用户 | ||
├─ new | number | 必须 | 新用户 | ||
├─ visit | number | 必须 | 访客数 | ||
├─ day | string | 必须 | 日期 |
Path: /admin/statistics/main
Method: GET
接口描述:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ today | object | 非必须 | |||
├─ payPrice | number | 非必须 | |||
├─ userNum | number | 非必须 | |||
├─ storeNum | number | 非必须 | |||
├─ visitUserNum | number | 非必须 | |||
├─ visitNum | number | 非必须 | |||
├─ yesterday | object | 非必须 | |||
├─ payPrice | number | 非必须 | |||
├─ userNum | number | 非必须 | |||
├─ storeNum | number | 非必须 | |||
├─ visitUserNum | number | 非必须 | |||
├─ visitNum | number | 非必须 | |||
├─ lastWeekRate | object | 非必须 | |||
├─ payPrice | number | 非必须 | |||
├─ userNum | number | 非必须 | |||
├─ storeNum | number | 非必须 | |||
├─ visitUserNum | number | 非必须 | |||
├─ visitNum | number | 非必须 |
Path: /admin/check_auth
Method: GET
接口描述:
Path: /admin/auth_apply
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
company_name | text | 是 | 多商户测试 | |
domain_name | text | 是 | mer.锐亚商城.net | |
order_id | text | 是 | wx159196902137405730 | |
phone | text | 是 | 13211111111 | |
captcha | text | 是 | 3433 |
Path: /admin/auth
Method: GET
接口描述:
Path: /admin/store/bag/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"product_id": 23,
"mer_id": 65,
"brand_id": 125,
"cate_id": 247,
"ficti": 100,
"image": "http://cremb.oss-cn-beijing.aliyuncs.com/868ec202007131729001746.jpg",
"slider_image": [
"http://cremb.oss-cn-beijing.aliyuncs.com/868ec202007131729001746.jpg"
],
"store_name": "天丝一字领露肩上衣",
"keyword": "测试",
"sort": 10,
"is_show": 1,
"sales": 1,
"price": "50.00",
"cost": "20.00",
"ot_price": "100.00",
"stock": 99,
"is_gift_bag": 1,
"care_count": null,
"create_time": "2020-07-14 10:25:52",
"merCateId": [
{
"product_id": 23,
"mer_cate_id": 262,
"category": {
"store_category_id": 262,
"cate_name": "女装"
}
}
],
"storeCategory": {
"store_category_id": 247,
"cate_name": "T恤/卫衣"
},
"brand": {
"brand_id": 125,
"brand_name": "其他品牌"
},
"merchant": {
"mer_id": 65,
"mer_name": "千鸟格服饰旗舰店",
"mer_avatar": "http://cremb.oss-cn-beijing.aliyuncs.com/66de1202007081930314002.jpg",
"product_score": "5.0",
"service_score": "5.0",
"postage_score": "5.0",
"service_phone": "15109234132",
"care_count": 13
},
"max_extension": "1.00",
"min_extension": "1.00"
}
]
}
}
Path: /admin/store/bag/mer_select
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"mer_id": 55,
"mer_name": "西西里数码手机店"
},
{
"mer_id": 64,
"mer_name": "品牌衣服专卖店"
},
{
"mer_id": 65,
"mer_name": "千鸟格服饰旗舰店"
},
{
"mer_id": 66,
"mer_name": "演示店铺"
}
]
}
Path: /admin/store/bag/status
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
id | text | 是 | 数组 | |
status | text | 是 | 1:审核通过 -1: 未通过 -2: 下架 | |
refusal | text | 是 |
Path: /admin/store/bag/change/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 0 / 1 |
Path: /admin/store/bag/lst_filter
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": [
{
"type": 1,
"name": "出售中礼包",
"count": 1
},
{
"type": 2,
"name": "仓库中礼包",
"count": 0
},
{
"type": 6,
"name": "待审核礼包",
"count": 2
},
{
"type": 7,
"name": "审核未通过礼包",
"count": 0
}
]
}
Path: /admin/store/bag/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/coupon/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"count": 20,
"list": [
{
"coupon_id": 1,
"mer_id": 65,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "新品优惠券",
"coupon_price": "8.00",
"use_min_price": "10.00",
"coupon_type": 1,
"coupon_time": 0,
"use_start_time": "2020-07-08 00:00:00",
"use_end_time": "2020-08-31 00:00:00",
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:00:22",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 65,
"mer_name": "千鸟格服饰旗舰店"
}
]
},
{
"coupon_id": 2,
"mer_id": 65,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "商品券",
"coupon_price": "5.00",
"use_min_price": "0.00",
"coupon_type": 0,
"coupon_time": 25,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:01:07",
"is_del": 0,
"type": 1,
"merchant": [
{
"mer_id": 65,
"mer_name": "千鸟格服饰旗舰店"
}
]
},
{
"coupon_id": 3,
"mer_id": 65,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "新店优惠券",
"coupon_price": "10.00",
"use_min_price": "0.00",
"coupon_type": 0,
"coupon_time": 20,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:09:06",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 65,
"mer_name": "千鸟格服饰旗舰店"
}
]
},
{
"coupon_id": 4,
"mer_id": 64,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "新品上市",
"coupon_price": "11.00",
"use_min_price": "20.00",
"coupon_type": 0,
"coupon_time": 30,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:16:08",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 64,
"mer_name": "品牌衣服专卖店"
}
]
},
{
"coupon_id": 5,
"mer_id": 64,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "热门单品优惠券",
"coupon_price": "10.00",
"use_min_price": "0.00",
"coupon_type": 1,
"coupon_time": 0,
"use_start_time": "2020-07-08 00:00:00",
"use_end_time": "2020-08-31 00:00:00",
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:19:38",
"is_del": 0,
"type": 1,
"merchant": [
{
"mer_id": 64,
"mer_name": "品牌衣服专卖店"
}
]
},
{
"coupon_id": 6,
"mer_id": 55,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "新品优惠券",
"coupon_price": "100.00",
"use_min_price": "800.00",
"coupon_type": 0,
"coupon_time": 100,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:25:28",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 55,
"mer_name": "西西里数码手机店"
}
]
},
{
"coupon_id": 7,
"mer_id": 55,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "新人券",
"coupon_price": "88.00",
"use_min_price": "0.00",
"coupon_type": 1,
"coupon_time": 0,
"use_start_time": "2020-07-08 00:00:00",
"use_end_time": "2020-08-31 00:00:00",
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:25:53",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 55,
"mer_name": "西西里数码手机店"
}
]
},
{
"coupon_id": 8,
"mer_id": 55,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 2,
"full_reduction": "0.00",
"title": "促销",
"coupon_price": "1.00",
"use_min_price": "0.00",
"coupon_type": 0,
"coupon_time": 5,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 20:26:08",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 55,
"mer_name": "西西里数码手机店"
}
]
},
{
"coupon_id": 9,
"mer_id": 66,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "1",
"coupon_price": "1.00",
"use_min_price": "1.00",
"coupon_type": 0,
"coupon_time": 1,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 21:52:37",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 66,
"mer_name": "演示店铺"
}
]
},
{
"coupon_id": 12,
"mer_id": 66,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "asdfasd ",
"coupon_price": "100.00",
"use_min_price": "0.00",
"coupon_type": 0,
"coupon_time": 30,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2020-07-09 21:55:16",
"is_del": 0,
"type": 0,
"merchant": [
{
"mer_id": 66,
"mer_name": "演示店铺"
}
]
}
]
}
}
Path: /admin/store/coupon/detail/:coupon_id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
coupon_id |
Path: /admin/merchant/intention/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 处理状态 1通过 ,2 拒绝 |
Path: /admin/merchant/intention/status/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/merchant/intention/agree
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
agree | text | 是 | 协议内容 |
Path: /admin/merchant/intention/agree
Method: GET
接口描述:
Path: /admin/merchant/intention/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
mer_name | 是 | ||
status | 是 | 处理状态 1通过 ,2 拒绝 |
Path: /admin/merchant/intention/delete/:mer_intention_id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
mer_intention_id |
Path: /admin/merchant/intention/mark/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/room/sort/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/room/live_status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
live_status | text | 是 |
Path: /admin/broadcast/room/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/room/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
keyword | 是 | ||
status_tag | 是 | 1审核通过-1审核未通过0审核中 |
Path: /admin/broadcast/room/delete/:id
Method: DELETE
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/room/apply/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/room/goods/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/room/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/goods/status/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/goods/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
page | 是 | ||
limit | 是 | ||
status_tag | 是 | 1审核通过-1审核未通过0审核中 |
Path: /admin/broadcast/goods/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/goods/apply/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/goods/sort/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/broadcast/goods/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/seckill/config/lst
Method: GET
接口描述:
Path: /admin/seckill/config/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/seckill/config/create/form
Method: GET
接口描述:
Path: /admin/seckill/config/select
Method: GET
接口描述:
Path: /admin/seckill/config/update/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/financial_record/list
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
date | 是 | ||
mer_id | 是 | ||
keyword | 是 |
Path: /admin/financial_record/export
Method: GET
接口描述:
Path: /admin/excel/download/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/excel/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
type | 是 | order |
Path: /admin/order/excel
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
status | 是 | 状态 | |
date | 是 | 时间 | |
mer_id | 是 | 商户ID |
Path: /admin/store/product/presell/agree
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
agree | text | 是 |
Path: /admin/store/product/presell/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
product_status | 是 | 审核状态,0,1,-1 | |
keyword | 是 | 关键字 | |
type | 是 | 活动状态 0 ,1 ,2 | |
presell_type | 是 | 预售类型 | |
mer_name | 是 | 商户名 | |
category_id | 是 | 商户分类 |
Path: /admin/store/product/presell/agree
Method: GET
接口描述:
Path: /admin/store/product/presell/get/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 商品id product_id |
Path: /admin/store/product/presell/status
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1.通过 -1.未通过,-2 强制下架 | |
refusal | text | 是 | 未通过原因 | |
id | text | 是 | product_id |
Path: /admin/store/product/presell/is_show/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | product_presell_id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 |
Path: /admin/store/product/presellupdate/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | product_id |
Path: /admin/store/product/presell/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | product_presell_id |
Path: /admin/store/product/assist/lst
Method: GET
接口描述:
Path: /admin/store/product/assist/set/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/assist/update/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/assist/status
Method: POST
接口描述:
Path: /admin/store/product/assist/is_show/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/assist/set/lst
Method: GET
接口描述:
Path: /admin/store/product/assist/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/notice/lst
Method: GET
接口描述:
Path: /admin/notice/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
type | text | 是 | 类型 1:商户id 2:自营类型 3:商户分类 | |
mer_id | text | 是 | type:1 必传 | |
is_trader | text | 是 | 0,1 | type:2 必传 |
category_id | text | 是 | type:3 必传 | |
notice_title | text | 是 | 公告标题 | |
notice_content | text | 是 | 公告内容 |
Path: /admin/store/product/group/sort/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
sort | text | 是 | 22 | 排序 |
Path: /admin/store/product/group/ls
Method: GET
接口描述:
Path: /admin/store/product/group/get/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/group/status
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Path: /admin/store/product/group/is_show/:id
Method: POST
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/group/update/:id
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/group/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/store/product/group/buying/lst
Method: GET
接口描述:
Path: /admin/store/product/group/buying/detail/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/system/attachment/delete
Method: DELETE
接口描述:
{
"status": 200,
"message": "success,
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
ids | text | 是 | [1,3,4,5] | 要删除的附件 id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /admin/system/attachment/update/:id/form
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/upload/image/:id/:field
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 附件分类 id | |
field | 附件字段名称 |
Path: /admin/system/attachment/category
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | integer [] | 必须 | 要修改分类的附件 | item 类型: integer | |
├─ | 非必须 | 附件 id | |||
attachment_category_id | integer | 必须 | 附件分类 id |
Path: /admin/system/attachment/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
attachment_category_id | 是 | 1 | 分类 id,0为全部 |
Path: /admin/system/attachment/category/delete/:id
Method: DELETE
接口描述:
{
"status": 200,
"message": "success
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /admin/system/attachment/category/formatLst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"list": [
{
"attachment_category_id": 1,
"pid": 0,
"path": "/0/",
"attachment_category_name": "电子产品",
"attachment_category_enname": "电子产品",
"mer_id": 1,
"create_time": "2020-03-26 16:44:36",
"child": [
{
"attachment_category_id": 2,
"pid": 1,
"path": "/0/1/",
"attachment_category_name": "手机",
"attachment_category_enname": "手机",
"mer_id": 0,
"create_time": "2020-03-27 15:38:52",
"child": [
{
"attachment_category_id": 3,
"pid": 2,
"path": "/0/1/2/",
"attachment_category_name": "华为",
"attachment_category_enname": "华为",
"mer_id": 0,
"create_time": "2020-03-27 15:39:07",
"child": [
{
"attachment_category_id": 4,
"pid": 3,
"path": "/0/1/2/3/",
"attachment_category_name": "P系列",
"attachment_category_enname": "P系列",
"mer_id": 0,
"create_time": "2020-03-27 15:39:17",
"child": [
{
"attachment_category_id": 5,
"pid": 4,
"path": "/0/1/2/3/4/",
"attachment_category_name": "P30",
"attachment_category_enname": "P30",
"mer_id": 0,
"create_time": "2020-03-27 15:39:26"
}
]
}
]
}
]
},
{
"attachment_category_id": 6,
"pid": 1,
"path": "/0/1/",
"attachment_category_name": "电脑",
"attachment_category_enname": "电脑",
"mer_id": 0,
"create_time": "2020-03-27 15:39:35",
"child": [
{
"attachment_category_id": 7,
"pid": 6,
"path": "/0/1/6/",
"attachment_category_name": "苹果",
"attachment_category_enname": "苹果",
"mer_id": 0,
"create_time": "2020-03-27 15:39:41",
"child": [
{
"attachment_category_id": 8,
"pid": 7,
"path": "/0/1/6/7/",
"attachment_category_name": "MacBook",
"attachment_category_enname": "MacBook",
"mer_id": 0,
"create_time": "2020-03-27 15:39:54",
"child": [
{
"attachment_category_id": 9,
"pid": 8,
"path": "/0/1/6/7/8/",
"attachment_category_name": "MacBook Pro",
"attachment_category_enname": "MacBook Pro",
"mer_id": 0,
"create_time": "2020-03-27 15:42:22"
}
]
},
{
"attachment_category_id": 14,
"pid": 7,
"path": "/0/1/6/7/",
"attachment_category_name": "测试1",
"attachment_category_enname": "ceshi2",
"mer_id": 12,
"create_time": "2020-03-31 10:39:31"
},
{
"attachment_category_id": 17,
"pid": 7,
"path": "/0/1/6/7/",
"attachment_category_name": "测试",
"attachment_category_enname": "ceshi2121",
"mer_id": 1,
"create_time": "2020-03-31 12:30:37"
}
]
}
]
},
{
"attachment_category_id": 10,
"pid": 1,
"path": "/0/1/",
"attachment_category_name": "测试",
"attachment_category_enname": "ceshi",
"mer_id": 1,
"create_time": "2020-03-31 10:35:00"
},
{
"attachment_category_id": 12,
"pid": 1,
"path": "/0/1/",
"attachment_category_name": "测试",
"attachment_category_enname": "ceshi1",
"mer_id": 1,
"create_time": "2020-03-31 10:35:38"
},
{
"attachment_category_id": 15,
"pid": 1,
"path": "/0/1/",
"attachment_category_name": "测试",
"attachment_category_enname": "ceshi21",
"mer_id": 1,
"create_time": "2020-03-31 12:28:56"
},
{
"attachment_category_id": 16,
"pid": 1,
"path": "/0/1/",
"attachment_category_name": "测试",
"attachment_category_enname": "ceshi212",
"mer_id": 1,
"create_time": "2020-03-31 12:30:19"
}
]
}
]
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
attachment_category_id | integer | 必须 | 分类id | ||
attachment_category_name | string | 必须 | 分类名称 | ||
attachment_category_enname | string | 必须 | 文件夹目录 | ||
pid | number | 必须 | 1 | 父级分类id | 最大值: 4 最小值: 1 枚举: 1,2,3 枚举备注: 图片上传类型 1本地 2七牛云 3OSS 4COS |
path | number | 必须 | 0 | 目录 | 最大值: 2 最小值: 0 枚举: 1 枚举备注: 1商户后台 2 用户生成 |
mer_id | integer | 必须 | 商户id | ||
create_time | string | 必须 | 创建时间 | format: date-time |
Path: /admin/system/attachment/category/create
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"pid": "7",
"attachment_category_name": "测试",
"attachment_category_enname": "ceshi21211",
"mer_id": "1",
"path": "/0/1/6/7/",
"create_time": "2020-04-02 14:54:12",
"attachment_category_id": "18"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 1 | 父级id |
attachment_category_name | 是 | 手 | 名称 |
attachment_category_enname | 是 | 手 | 目录 |
mer_id | 是 | 0 | 商户id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
attachment_category_id | integer | 必须 | 分类id | ||
attachment_category_name | string | 必须 | 分类名称 | ||
attachment_category_enname | string | 必须 | 文件夹目录 | ||
pid | number | 必须 | 1 | 父级分类id | 最大值: 4 最小值: 1 枚举: 1,2,3 枚举备注: 图片上传类型 1本地 2七牛云 3OSS 4COS |
path | number | 必须 | 0 | 目录 | 最大值: 2 最小值: 0 枚举: 1 枚举备注: 1商户后台 2 用户生成 |
mer_id | integer | 必须 | 商户id | ||
create_time | string | 必须 | 创建时间 | format: date-time |
Path: /admin/system/attachment/category/create/form
Method: GET
接口描述:
{"status":200,"message":"success","data":{"rule":[{"type":"select","field":"pid","value":"","title":"上级分类","props":{"multiple":false,"placeholder":"请选择上级分类"},"validate":[{"message":"请选择上级分类","required":true,"type":"integer","trigger":"change"}],"options":[{"label":"顶级分类","value":0}]},{"type":"input","field":"attachment_category_name","value":"","title":"分类名称","props":{"type":"text","placeholder":"请输入分类名称"},"validate":[{"message":"请输入分类名称","required":true,"type":"string","trigger":"change"}]},{"type":"input","field":"attachment_category_enname","value":"def","title":"分类目录","props":{"type":"text","placeholder":"请输入分类目录"},"validate":[{"message":"请输入分类目录","required":true,"type":"string","trigger":"change"}]},{"type":"inputNumber","field":"sort","value":0,"title":"排序","props":{"placeholder":"请输入排序"}}],"action":"\/admin\/system\/attachment\/category\/create.html","method":"POST","title":"添加配置","config":{}}}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | number | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/system/attachment/category/update/:id
Method: POST
接口描述:
{
"status": 200,
"message": "success"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | 分类id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 1 | 父级id |
attachment_category_name | 是 | 手 | 名称 |
attachment_category_enname | 是 | 手 | 目录 |
mer_id | 是 | 0 | 商户id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
attachment_category_id | integer | 必须 | 分类id | ||
attachment_category_name | string | 必须 | 分类名称 | ||
attachment_category_enname | string | 必须 | 文件夹目录 | ||
pid | number | 必须 | 1 | 父级分类id | 最大值: 4 最小值: 1 枚举: 1,2,3 枚举备注: 图片上传类型 1本地 2七牛云 3OSS 4COS |
path | number | 必须 | 0 | 目录 | 最大值: 2 最小值: 0 枚举: 1 枚举备注: 1商户后台 2 用户生成 |
mer_id | integer | 必须 | 商户id | ||
create_time | string | 必须 | 创建时间 | format: date-time |
Path: /admin/system/attachment/category/update/form/:id
Method: GET
接口描述:
{"status":200,"message":"success","data":{"rule":[{"type":"select","field":"pid","value":"","title":"上级分类","props":{"multiple":false,"placeholder":"请选择上级分类"},"validate":[{"message":"请选择上级分类","required":true,"type":"integer","trigger":"change"}],"options":[{"label":"顶级分类","value":0}]},{"type":"input","field":"attachment_category_name","value":"","title":"分类名称","props":{"type":"text","placeholder":"请输入分类名称"},"validate":[{"message":"请输入分类名称","required":true,"type":"string","trigger":"change"}]},{"type":"input","field":"attachment_category_enname","value":"def","title":"分类目录","props":{"type":"text","placeholder":"请输入分类目录"},"validate":[{"message":"请输入分类目录","required":true,"type":"string","trigger":"change"}]},{"type":"inputNumber","field":"sort","value":0,"title":"排序","props":{"placeholder":"请输入排序"}}],"action":"\/admin\/system\/attachment\/category\/create.html","method":"POST","title":"添加配置","config":{}}}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | number | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/system/admin/edit/form
Method: GET
接口描述:
Path: /admin/system/admin/password/form/:id
Method: GET
接口描述:
{"status":200,"message":"修改密码成功"}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 |
Path: /admin/system/admin/edit/password/form
Method: GET
接口描述:
Path: /admin/system/admin/status/:id
Method: POST
接口描述:
{"status":200,"message":"编辑成功"}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 |
Path: /admin/system/admin/delete/:id
Method: DELETE
接口描述:
{"status":200,"message":"删除成功"}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 |
Path: /admin/system/admin/lst
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 否 | 11111111 | 支持 账号 呢称搜索关键字模糊查询 |
status | 否 | 1 | 状态 空/0 默认 。 1,2 |
date | 是 | 创建时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | string | 必须 | 账号 | ||
real_name | string | 必须 | 呢称 | ||
level | number | 必须 | 等级 | ||
roles | string | 必须 | 身份 | ||
status | number | 必须 | 状态 1有效0无效 | ||
create_time | string | 必须 | 创建时间 | ||
roleName | string | 必须 | 规则名称 | ||
last_time | string | 必须 | 最后登录时间 | ||
last_ip | string | 必须 | 最后登录ip | ||
login_count | number | 必须 | 登录次数 |
Path: /admin/system/admin/create/form
Method: GET
接口描述:
{"status":200,"message":"添加成功"}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 |
Path: /admin/login
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"account": "admin1231",
"real_name": "test",
"level": 0,
"token": "7cHMF4xI48rCvEQOUYOtV4QcAyR+UMp4y0o6QW5FAVYIDWG3JM9+wGsh9ieSRBuxqxU07/gHbqtfpWAAAQtCLpzNyYshxxtUzyp/kWx/3B63zlcQFC2eLFDD2lY1baC/"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
account | 是 | admin1231 | 账号 |
password | 是 | 11111111 | 密码 |
key | 是 | 72094b11c5b59db38267b5195003eecd | 验证码key |
code | 是 | 1234 | 4位数字验证码 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
account | text | 是 | 12312 | 账号 |
password | text | 是 | 131231 | 密码 |
key | text | 是 | fskfak131klgnkr5kt3lgelw | 验证码 key |
code | text | 是 | 40253 | 验证码 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | string | 必须 | 账号 | ||
real_name | string | 必须 | 呢称 | ||
level | number | 必须 | 等级 | ||
token | string | 必须 | token |
Path: /admin/system/admin/log
Method: POST
接口描述:
{"status":200,"message":"success","data":{"count":30,"list":[{"log_id":107114,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://192.168.1.35:8324/admin/system/attachment/delete/62","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-15 18:24:39"},{"log_id":107115,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://127.0.0.1:8324/admin/system/attachment/delete?ids=62,50","ip":"127.0.0.1","mer_id":0,"create_time":"2020-04-16 09:42:18"},{"log_id":107116,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://127.0.0.1:8324/admin/system/attachment/delete?ids=62,50","ip":"127.0.0.1","mer_id":0,"create_time":"2020-04-16 09:42:58"},{"log_id":107117,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://127.0.0.1:8324/admin/system/attachment/delete?ids[]=62&ids[]=50","ip":"127.0.0.1","mer_id":0,"create_time":"2020-04-16 09:45:25"},{"log_id":107118,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://127.0.0.1:8324/admin/system/attachment/delete?ids[]=62&ids[]=61","ip":"127.0.0.1","mer_id":0,"create_time":"2020-04-16 09:45:56"},{"log_id":107119,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://192.168.1.35:8324/admin/system/attachment/delete","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 09:48:17"},{"log_id":107120,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://127.0.0.1:8324/admin/system/attachment/category?ids[]=11&ids[]=12&attachment_category_id=5","ip":"127.0.0.1","mer_id":0,"create_time":"2020-04-16 09:54:06"},{"log_id":107121,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://127.0.0.1:8324/admin/system/attachment/category?ids[]=11&ids[]=12&attachment_category_id=5","ip":"127.0.0.1","mer_id":0,"create_time":"2020-04-16 09:54:15"},{"log_id":107122,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://192.168.1.35:8324/admin/system/attachment/category","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:26:51"},{"log_id":107123,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://192.168.1.35:8324/admin/system/attachment/category","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:27:06"},{"log_id":107124,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://192.168.1.35:8324/admin/system/attachment/category","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:28:33"},{"log_id":107125,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://192.168.1.35:8324/admin/system/attachment/category","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:30:11"},{"log_id":107126,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://192.168.1.35:8324/admin/system/attachment/category","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:31:45"},{"log_id":107127,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentDelete","method":"DELETE","url":"http://192.168.1.35:8324/admin/system/attachment/delete","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:32:20"},{"log_id":107128,"admin_id":12,"admin_name":"未定义","route":"systemAttachmentBatchChangeCategory","method":"POST","url":"http://192.168.1.35:8324/admin/system/attachment/category","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 10:32:29"},{"log_id":107129,"admin_id":12,"admin_name":"未定义","route":"systemMenuUpdate","method":"POST","url":"http://192.168.1.35:8324/admin/system/menu/update/34.html","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 11:35:53"},{"log_id":107130,"admin_id":12,"admin_name":"未定义","route":"systemMenuCreate","method":"POST","url":"http://192.168.1.35:8324/admin/system/menu/create.html","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 14:26:30"},{"log_id":107131,"admin_id":12,"admin_name":"未定义","route":"systemMenuCreate","method":"POST","url":"http://192.168.1.35:8324/admin/system/menu/create.html","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 14:31:22"},{"log_id":107132,"admin_id":12,"admin_name":"未定义","route":"systemMenuUpdate","method":"POST","url":"http://192.168.1.35:8324/admin/system/menu/update/42.html","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 14:31:48"},{"log_id":107133,"admin_id":12,"admin_name":"未定义","route":"systemMenuUpdate","method":"POST","url":"http://192.168.1.35:8324/admin/system/menu/update/43.html","ip":"192.168.1.16","mer_id":0,"create_time":"2020-04-16 14:32:02"}]}}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
admin_id | integer | 必须 | 管理员 id | ||
method | string | 必须 | 请求方式 | ||
section_time | string [] | 必须 | 时间段 | item 类型: string | |
├─ | 非必须 | 时间 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ count | number | 非必须 | |||
├─ list | object [] | 非必须 | item 类型: object | ||
├─ log_id | number | 必须 | |||
├─ admin_id | number | 必须 | |||
├─ admin_name | string | 必须 | |||
├─ route | string | 必须 | |||
├─ method | string | 必须 | |||
├─ url | string | 必须 | |||
├─ ip | string | 必须 | |||
├─ mer_id | number | 必须 | |||
├─ create_time | string | 必须 |
Path: /admin/system/admin/update/form/:id
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Path: /admin/menus
Method: GET
接口描述:
{"status":200,"message":"success","data":[{"menu_name":"首页","route":"\/dashboard","params":"","icon":"dashboard","pid":0,"menu_id":33},{"menu_name":"系统配置","route":"\/config","params":"","icon":"dashboard","pid":0,"menu_id":34,"children":[{"menu_name":"配置分类","route":"\/config\/classify","params":"","icon":"dashboard","pid":34,"menu_id":35},{"menu_name":"配置管理","route":"\/config\/setting","params":"","icon":"dashboard","pid":34,"menu_id":36},{"menu_name":"菜单管理","route":"\/config\/menu","params":"","icon":"","pid":34,"menu_id":37}]},{"menu_name":"权限管理","route":"\/setting","params":"","icon":"","pid":0,"menu_id":38,"children":[{"menu_name":"身份管理","route":"\/setting\/systemRole","params":"","icon":"","pid":38,"menu_id":39},{"menu_name":"管理员管理","route":"\/setting\/systemAdmin","params":"","icon":"","pid":38,"menu_id":40}]}]}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object [] | 非必须 | item 类型: object | ||
├─ menu_name | string | 必须 | |||
├─ route | string | 必须 | |||
├─ params | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ pid | number | 必须 | |||
├─ menu_id | number | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ menu_name | string | 必须 | |||
├─ route | string | 必须 | |||
├─ params | string | 必须 | |||
├─ icon | string | 必须 | |||
├─ pid | number | 必须 | |||
├─ menu_id | number | 必须 |
Path: /admin/system/admin/loginOut
Method: HEAD
接口描述:
{
"status": 200,
"message": "success"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
token | login登录返回 | 是 | login登录返回 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /admin/logout
Method: GET
接口描述:
Path: /admin/captcha
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"key": "75bfd7047d46c1bdf29abfcde4c50943",
"code": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAMAAADthUvBAAAA/1BMVEX///+DZmtqdGG6gjhNaSAW2+0vUTSoyoVJiZQCJUdogDx3Zrl5Eh1vz2o8VdI370vq7drYOLM8ooANP5ZoC3+fQ7ZwgDU71Fyj6hSVYyKsI5/K42oQBLbXIQyjw/Zx5TxGDaftKCmu5IGoxrWvZk6tdfwr0FaamE/04WjBxXx4d9nQPOsuLFZddA4RBqYvncIGMnAixXpOKICaC08tZyNIfIk7gDHyxdOic9VP7sTyymmc1Ef64SstHsxOj4+rTwSxfpGpwE39WrIrykeun8qYdMzcg4jz4wLrTbBt6pK6ZIWmrMeB660T5ryuNpiUYnvrFlAof3paDx4HcstBh2XyX5UDAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABRUlEQVRIidWSh07EMAyGzV5i6BgCsTmG2BJL7C04BAI15f2fhbQup2v722loD8QvJY1H/Nltif5Ms+6UuXifWEvM1Q1vyJD3jVi9ciiw4tO8q8rUIj/P36O9D2R0SgxeQMYgb5go434m6pKa4/p5SD1iMOQGo4Dz00qGIBmDJxEhZxEBUiwkkEAKJAzvrrM+ro8ogfc3YQbyapOQREkg62wduhiub6JCcsozHhOGMAn8hRfSkGUXg74ZS08iJWbU8pGWSQbs6oeMyVYISaNIMgb/xNIg2uvStK3ENiEFMUY0RAc/joo39Z80LQXGquUMF8h5KwN4TZu7Re6Mps3LTPi+RDtF9BFtO7RPLyWKXPmlj0PvrXJjL2VdNE/dfmBFM37pJxVhH5qnlR/cPrarEZ8Gq2nnV9Sjh0+hd6sNjbAO2lZZ1BdcNjT67olnEgAAAABJRU5ErkJggg=="
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
key | string | 必须 | 验证码key | ||
code | string | 必须 | base64加密的验证码图片 |
Path: /admin/system/menu/delete/:id
Method: DELETE
接口描述:
{
"status": 200,
"message": "success"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /admin/system/menu/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"id": 1,
"pid": 2,
"icon": "center",
"menu_name": "个人中心",
"route": "system",
"params": "[]",
"sort": 0,
"is_show": 1,
"model": 1,
"type": 1,
"create_time": "2020-04-01 10:17:27",
"update_time": "2020-04-02 15:25:17"
}
}
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 否 | 1 | 分类 |
keyword | 否 | a/b/c | 名称,路由 |
type | 否 | 1 | 类型,1菜单 2 按钮 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
pid | integer | 非必须 | 父级id | ||
icon | string | 非必须 | icon | ||
menu_name | string | 非必须 | 名称 | ||
route | string | 非必须 | 路由 | ||
params | string | 非必须 | 参数 | ||
sort | number | 非必须 | 排序 | ||
is_show | number | 非必须 | 1 | 是否显示 | 最大值: 1 最小值: 0 枚举: 0 |
model | number | 非必须 | 1 | 模块,1 平台, 2商户 | 最大值: 2 最小值: 1 枚举: 1,2 |
type | number | 非必须 | 1 | 类型,1菜单 2 按钮 | 最大值: 2 最小值: 1 枚举: 1,2 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/menu/create
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"pid": "2",
"icon": "center",
"menu_name": "个人中心",
"route": "system/data/set11111111",
"params": "[]",
"sort": "",
"is_show": 1,
"model": 1,
"type": 1,
"create_time": "2020-04-02 15:43:01",
"id": "12"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 1 | 分类 |
icon | 是 | icon | icon |
menu_name | 是 | 管理 | 菜单名称 |
route | 否 | a/b/c | 路由 |
model | 是 | 1 | 模块,1 平台, 2商户 默认1 |
type | 是 | 1 | 类型,1菜单 2 按钮 默认1 |
sort | 否 | 1 | 排序 默认0 |
is_show | 否 | 1 | 是否显示 默认1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
pid | integer | 非必须 | 父级id | ||
icon | string | 非必须 | icon | ||
menu_name | string | 非必须 | 名称 | ||
route | string | 非必须 | 路由 | ||
params | string | 非必须 | 参数 | ||
sort | number | 非必须 | 排序 | ||
is_show | number | 非必须 | 1 | 是否显示 | 最大值: 1 最小值: 0 枚举: 0 |
model | number | 非必须 | 1 | 模块,1 平台, 2商户 | 最大值: 2 最小值: 1 枚举: 1,2 |
type | number | 非必须 | 1 | 类型,1菜单 2 按钮 | 最大值: 2 最小值: 1 枚举: 1,2 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/menu/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": "",
"title": "父级分类",
"props": {
"multiple": false,
"placeholder": "请选择父级分类"
},
"validate": [
{
"message": "请选择父级分类",
"required": true,
"type": "integer",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
}
]
},
{
"type": "input",
"field": "icon",
"value": "",
"title": "菜单图标",
"props": {
"type": "text",
"placeholder": "请输入菜单图标"
},
"validate": [
{
"message": "请输入菜单图标",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "menu_name",
"value": "",
"title": "菜单名称",
"props": {
"type": "text",
"placeholder": "请输入菜单名称"
},
"validate": [
{
"message": "请输入菜单名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "route",
"value": "",
"title": "菜单地址",
"props": {
"type": "text",
"placeholder": "请输入菜单地址"
}
},
{
"type": "input",
"field": "params",
"value": "",
"title": "参数",
"props": {
"type": "text",
"placeholder": "请输入参数"
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 0,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
},
{
"type": "switch",
"field": "is_show",
"value": 0,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/system/menu/create.html",
"method": "POST",
"title": "添加菜单",
"config": {}
}
}
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | string,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ activeValue | number | 非必须 | |||
├─ inactiveValue | number | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | number | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/system/menu/update/:id
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"pid": "2",
"icon": "center",
"menu_name": "个人中心",
"route": "system/data/set11111111",
"params": "[]",
"sort": "",
"is_show": 1,
"model": 1,
"type": 1,
"create_time": "2020-04-02 15:43:01",
"id": "12"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
pid | 是 | 1 | 分类 |
icon | 是 | icon | icon |
menu_name | 是 | 管理 | 菜单名称 |
route | 否 | a/b/c | 路由 |
model | 是 | 1 | 模块,1 平台, 2商户 默认1 |
type | 是 | 1 | 类型,1菜单 2 按钮 默认1 |
sort | 否 | 1 | 排序 默认0 |
is_show | 否 | 1 | 是否显示 默认1 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
pid | integer | 非必须 | 父级id | ||
icon | string | 非必须 | icon | ||
menu_name | string | 非必须 | 名称 | ||
route | string | 非必须 | 路由 | ||
params | string | 非必须 | 参数 | ||
sort | number | 非必须 | 排序 | ||
is_show | number | 非必须 | 1 | 是否显示 | 最大值: 1 最小值: 0 枚举: 0 |
model | number | 非必须 | 1 | 模块,1 平台, 2商户 | 最大值: 2 最小值: 1 枚举: 1,2 |
type | number | 非必须 | 1 | 类型,1菜单 2 按钮 | 最大值: 2 最小值: 1 枚举: 1,2 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/menu/update/form/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "select",
"field": "pid",
"value": 0,
"title": "父级分类",
"props": {
"multiple": false,
"placeholder": "请选择父级分类"
},
"validate": [
{
"message": "请选择父级分类",
"required": true,
"type": "integer",
"trigger": "change"
}
],
"options": [
{
"label": "顶级分类",
"value": 0
}
]
},
{
"type": "input",
"field": "icon",
"value": "3434",
"title": "菜单图标",
"props": {
"type": "text",
"placeholder": "请输入菜单图标"
},
"validate": [
{
"message": "请输入菜单图标",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "menu_name",
"value": "445",
"title": "菜单名称",
"props": {
"type": "text",
"placeholder": "请输入菜单名称"
},
"validate": [
{
"message": "请输入菜单名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "route",
"value": "45",
"title": "菜单地址",
"props": {
"type": "text",
"placeholder": "请输入菜单地址"
}
},
{
"type": "input",
"field": "params",
"value": "45",
"title": "参数",
"props": {
"type": "text",
"placeholder": "请输入参数"
}
},
{
"type": "inputNumber",
"field": "sort",
"value": 1,
"title": "排序",
"props": {
"placeholder": "请输入排序"
}
},
{
"type": "switch",
"field": "is_show",
"value": 1,
"title": "是否显示",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/system/menu/update/13.html",
"method": "POST",
"title": "编辑菜单",
"config": {}
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | number,string | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ multiple | boolean | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ type | string | 非必须 | |||
├─ activeValue | number | 非必须 | |||
├─ inactiveValue | number | 非必须 | |||
├─ validate | object [] | 必须 | item 类型: object | ||
├─ message | string | 必须 | |||
├─ required | boolean | 必须 | |||
├─ type | string | 必须 | |||
├─ trigger | string | 必须 | |||
├─ options | object [] | 非必须 | item 类型: object | ||
├─ label | string | 非必须 | |||
├─ value | number | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/system/role/status/:id
Method: POST
接口描述:
{"status":200,"message":"编辑成功"}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
status | text | 是 | 1 | 启用状态 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 |
Path: /admin/system/menu/role/delete/:id
Method: DELETE
接口描述:
{
"status": 200,
"message": "success"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|
Path: /admin/system/role/lst
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"page": 1,
"limit": 10,
"list": [
{
"id": 3,
"role_name": "测试1",
"rules": "1,2,3,4,5",
"level": 0,
"status": 1,
"create_time": "2020-04-01 14:37:14",
"update_time": "2020-04-01 14:38:01"
},
{
"id": 4,
"role_name": "测试12",
"rules": "1,2,3,4,5",
"level": 0,
"status": 1,
"create_time": "2020-04-01 14:37:14",
"update_time": "2020-04-01 14:38:01"
},
{
"id": 5,
"role_name": "测试122",
"rules": "1,2,3,4,5",
"level": 0,
"status": 1,
"create_time": "2020-04-02 15:48:18",
"update_time": "2020-04-02 15:48:17"
}
],
"count": 3
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
role_name | 否 | 超级管理员 | 管理名称 |
status | 否 | 1 | 状态 空 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
role_name | string | 非必须 | 身份名称 | ||
rules | string | 非必须 | 规则id 1,2,3,4 | ||
level | number | 非必须 | 等级 | ||
status | number | 非必须 | 1 | 状态 | 最大值: 1 最小值: 0 枚举: 0,1 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/menu/role/get/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"id": 3,
"role_name": "测试1",
"rules": "1,2,3,4,5",
"level": 0,
"status": 1,
"create_time": "2020-04-01 14:37:14",
"update_time": "2020-04-01 14:38:01"
}
}
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
role_name | string | 非必须 | 身份名称 | ||
rules | string | 非必须 | 规则id 1,2,3,4 | ||
level | number | 非必须 | 等级 | ||
status | number | 非必须 | 1 | 状态 | 最大值: 1 最小值: 0 枚举: 0,1 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/menu/role/create
Method: POST
接口描述:
{
"status": 200,
"message": "success",
"data": {
"role_name": "测试122",
"rules": "1,2,3,4,5",
"level": 0,
"status": 1,
"create_time": "2020-04-02 15:48:17",
"id": "5"
}
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
role_name | 是 | 超级管理员 | 管理名称 |
rules | 是 | 1,2,3,4 | 权限 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
role_name | string | 非必须 | 身份名称 | ||
rules | string | 非必须 | 规则id 1,2,3,4 | ||
level | number | 非必须 | 等级 | ||
status | number | 非必须 | 1 | 状态 | 最大值: 1 最小值: 0 枚举: 0,1 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/menu/role/update/:id1
Method: POST
接口描述:
{
"status": 200,
"message": "success"
}
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id1 | 1 | id |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
role_name | 是 | 超级管理员 | 管理名称 |
rules | 是 | 1,2,3,4 | 权限 |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | integer | 非必须 | id | ||
role_name | string | 非必须 | 身份名称 | ||
rules | string | 非必须 | 规则id 1,2,3,4 | ||
level | number | 非必须 | 等级 | ||
status | number | 非必须 | 1 | 状态 | 最大值: 1 最小值: 0 枚举: 0,1 |
create_time | string | 非必须 | 创建时间 | ||
update_time | string | 非必须 | 更新时间 |
Path: /admin/system/role/create/form
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "input",
"field": "role_name",
"value": "",
"title": "身份名称",
"props": {
"type": "text",
"placeholder": "请输入身份名称"
},
"validate": [
{
"message": "请输入身份名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "tree",
"field": "roles",
"value": [],
"title": "权限",
"props": {
"type": "checked",
"data": [
{
"id": 13,
"title": "商城配置",
"children": [
{
"id": 16,
"title": "二级",
"children": [
{
"id": 17,
"title": "三级",
"children": []
}
]
},
{
"id": 20,
"title": "测试",
"children": []
},
{
"id": 21,
"title": "123123",
"children": []
},
{
"id": 24,
"title": "45",
"children": []
},
{
"id": 25,
"title": "8",
"children": []
}
]
},
{
"id": 14,
"title": "系统配置",
"children": [
{
"id": 15,
"title": "配置分类",
"children": []
}
]
}
]
}
},
{
"type": "switch",
"field": "status",
"value": 0,
"title": "是否开启",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/system/menu/create.html",
"method": "POST",
"title": "添加菜单",
"config": {}
}
}
×
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ children | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ activeValue | number | 非必须 | |||
├─ inactiveValue | number | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/system/role/update/form/:id
Method: GET
接口描述:
{
"status": 200,
"message": "success",
"data": {
"rule": [
{
"type": "input",
"field": "role_name",
"value": "",
"title": "身份名称",
"props": {
"type": "text",
"placeholder": "请输入身份名称"
},
"validate": [
{
"message": "请输入身份名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "tree",
"field": "roles",
"value": [],
"title": "权限",
"props": {
"type": "checked",
"data": [
{
"id": 13,
"title": "商城配置",
"children": [
{
"id": 16,
"title": "二级",
"children": [
{
"id": 17,
"title": "三级",
"children": []
}
]
},
{
"id": 20,
"title": "测试",
"children": []
},
{
"id": 21,
"title": "123123",
"children": []
},
{
"id": 24,
"title": "45",
"children": []
},
{
"id": 25,
"title": "8",
"children": []
}
]
},
{
"id": 14,
"title": "系统配置",
"children": [
{
"id": 15,
"title": "配置分类",
"children": []
}
]
}
]
}
},
{
"type": "switch",
"field": "status",
"value": 0,
"title": "是否开启",
"props": {
"activeValue": 1,
"inactiveValue": 0
}
}
],
"action": "/admin/system/menu/create.html",
"method": "POST",
"title": "添加菜单",
"config": {}
}
}
×
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 1 | id |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
status | number | 非必须 | |||
message | string | 非必须 | |||
data | object | 非必须 | |||
├─ rule | object [] | 非必须 | item 类型: object | ||
├─ type | string | 必须 | |||
├─ field | string | 必须 | |||
├─ value | array,number | 必须 | |||
├─ title | string | 必须 | |||
├─ props | object | 必须 | |||
├─ type | string | 非必须 | |||
├─ placeholder | string | 非必须 | |||
├─ data | object [] | 非必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 必须 | |||
├─ title | string | 必须 | |||
├─ children | object [] | 必须 | item 类型: object | ||
├─ id | number | 非必须 | |||
├─ title | string | 非必须 | |||
├─ children | string [] | 非必须 | item 类型: string | ||
├─ | 非必须 | ||||
├─ activeValue | number | 非必须 | |||
├─ inactiveValue | number | 非必须 | |||
├─ validate | object [] | 非必须 | item 类型: object | ||
├─ message | string | 非必须 | |||
├─ required | boolean | 非必须 | |||
├─ type | string | 非必须 | |||
├─ trigger | string | 非必须 | |||
├─ action | string | 非必须 | |||
├─ method | string | 非必须 | |||
├─ title | string | 非必须 | |||
├─ config | object | 非必须 |
Path: /admin/upload/config
Method: GET
接口描述:
Path: /admin/config/setting/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 配置 id |
Path: /admin/config/classify/delete/:id
Method: DELETE
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
id | 配置分类id |
Path: /admin/config/setting/lst
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | 配置名称 |
Path: /admin/config/:key
Method: GET
接口描述:
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
key |