diff --git a/README.md b/README.md index 168733f5..7e7f2573 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ CRMEB商城PHP版:https://gitee.com/ZhongBangKeJi/CRMEB-H5 CRMEB微信小程序商城:https://gitee.com/ZhongBangKeJi/CRMEB_WechatApplet ### Swagger接口文档 -演示站接口地址: https://api.java.crmeb.net/swagger-ui.html# +演示站接口: 项目包里 "接口文档" 文件夹 + 自己部署站点接口地址:域名/swagger-ui.html# 本地启动Java Api项目接口地址:http://localhost:8080/swagger-ui.html# 8080为配置文件里配置的 server/port diff --git a/接口文档/admin/admin_api.html b/接口文档/admin/admin_api.html new file mode 100644 index 00000000..012463b2 --- /dev/null +++ b/接口文档/admin/admin_api.html @@ -0,0 +1,15738 @@ + + + + crmeb_java_admin + + + + + +
+
+ +
+ + + \ No newline at end of file diff --git a/接口文档/admin/admin_api.json b/接口文档/admin/admin_api.json new file mode 100644 index 00000000..4b2455cb --- /dev/null +++ b/接口文档/admin/admin_api.json @@ -0,0 +1,14817 @@ +[ + { + "index": 0, + "name": "Admin 平台用户", + "desc": "admin User", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/login", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6450, + "method": "POST", + "title": "AdminUserLogin", + "path": "/api/admin/login", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f866", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"lastIp\": {\n \"type\": \"string\"\n },\n \"lastTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"loginCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"realName\": {\n \"type\": \"string\"\n },\n \"roles\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n },\n \"token\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"SystemAdminResponse\",\n \"$$ref\": \"#/definitions/SystemAdminResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemAdminResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemAdminResponse»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"code\",\n \"key\"\n ],\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"example\": \"admin\",\n \"description\": \"后台管理员账号\"\n },\n \"code\": {\n \"type\": \"string\",\n \"description\": \"code\"\n },\n \"key\": {\n \"type\": \"string\",\n \"description\": \"key\"\n },\n \"pwd\": {\n \"type\": \"string\",\n \"example\": 123456,\n \"description\": \"后台管理员密码\"\n }\n },\n \"title\": \"SystemAdminLoginRequest\",\n \"$$ref\": \"#/definitions/SystemAdminLoginRequest\"\n}", + "project_id": 52, + "catid": 4073, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/logout", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6452, + "method": "GET", + "title": "AdminUserLogout", + "path": "/api/admin/logout", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"lastIp\": {\n \"type\": \"string\"\n },\n \"lastTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"loginCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"realName\": {\n \"type\": \"string\"\n },\n \"roles\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n },\n \"token\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"SystemAdminResponse\",\n \"$$ref\": \"#/definitions/SystemAdminResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemAdminResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemAdminResponse»\"\n}", + "project_id": 52, + "catid": 4073, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/getAdminInfoByToken", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6446, + "method": "GET", + "title": "GetAdminUserByToken", + "path": "/api/admin/getAdminInfoByToken", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"lastIp\": {\n \"type\": \"string\"\n },\n \"lastTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"loginCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"realName\": {\n \"type\": \"string\"\n },\n \"roles\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n },\n \"token\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"SystemAdminResponse\",\n \"$$ref\": \"#/definitions/SystemAdminResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemAdminResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemAdminResponse»\"\n}", + "project_id": 52, + "catid": 4073, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/getLoginPic", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6448, + "method": "GET", + "title": "获取登录页图片", + "path": "/api/admin/getLoginPic", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 52, + "catid": 4073, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "上传文件", + "desc": "Upload Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/upload/async", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6772, + "method": "POST", + "title": "同步到云服务", + "path": "/api/admin/upload/async", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a9bc7e8e560914fa28", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"extName\": {\n \"type\": \"string\"\n },\n \"fileName\": {\n \"type\": \"string\"\n },\n \"fileSize\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"serverPath\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"FileResultVo\",\n \"$$ref\": \"#/definitions/FileResultVo\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«FileResultVo»\",\n \"$$ref\": \"#/definitions/CommonResult«FileResultVo»\"\n}", + "project_id": 52, + "catid": 4082, + "uid": 93, + "add_time": 1597368489, + "up_time": 1597368489, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/upload/image", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6776, + "method": "POST", + "title": "图片上传", + "path": "/api/admin/upload/image", + "req_params": [], + "req_body_form": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa2d", + "name": "multipart", + "desc": "multipart", + "type": "file" + } + ], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa2e", + "name": "Content-Type", + "value": "multipart/form-data" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa30", + "name": "model", + "desc": "模块 用户user,商品product,微信wechat,news文章" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa2f", + "name": "pid", + "desc": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 " + } + ], + "req_body_type": "form", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"extName\": {\n \"type\": \"string\"\n },\n \"fileName\": {\n \"type\": \"string\"\n },\n \"fileSize\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"serverPath\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"FileResultVo\",\n \"$$ref\": \"#/definitions/FileResultVo\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«FileResultVo»\",\n \"$$ref\": \"#/definitions/CommonResult«FileResultVo»\"\n}", + "project_id": 52, + "catid": 4082, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/upload/file", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6774, + "method": "POST", + "title": "文件上传", + "path": "/api/admin/upload/file", + "req_params": [], + "req_body_form": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa29", + "name": "multipart", + "desc": "multipart", + "type": "file" + } + ], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa2a", + "name": "Content-Type", + "value": "multipart/form-data" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa2c", + "name": "model", + "desc": "模块 用户user,商品product,微信wechat,news文章" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa2b", + "name": "pid", + "desc": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 " + } + ], + "req_body_type": "form", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"extName\": {\n \"type\": \"string\"\n },\n \"fileName\": {\n \"type\": \"string\"\n },\n \"fileSize\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"serverPath\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"FileResultVo\",\n \"$$ref\": \"#/definitions/FileResultVo\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«FileResultVo»\",\n \"$$ref\": \"#/definitions/CommonResult«FileResultVo»\"\n}", + "project_id": 52, + "catid": 4082, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "会员 -- 分组", + "desc": "User Group Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/user/group/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6800, + "method": "POST", + "title": "修改", + "path": "/api/admin/user/group/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa56", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa57", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"groupName\": {\n \"type\": \"string\",\n \"description\": \"用户分组名称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"UserGroup对象\",\n \"description\": \"用户分组表\",\n \"$$ref\": \"#/definitions/UserGroup对象\"\n}", + "project_id": 52, + "catid": 4091, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/group/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6796, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/user/group/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa54", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa53", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"groupName\": {\n \"type\": \"string\",\n \"description\": \"用户分组名称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"UserGroup对象\",\n \"description\": \"用户分组表\",\n \"$$ref\": \"#/definitions/UserGroup对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserGroup对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserGroup对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserGroup对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserGroup对象»»\"\n}", + "project_id": 52, + "catid": 4091, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/group/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6792, + "method": "GET", + "title": "删除", + "path": "/api/admin/user/group/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa51", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4091, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/group/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6798, + "method": "POST", + "title": "新增", + "path": "/api/admin/user/group/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa55", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"groupName\": {\n \"type\": \"string\",\n \"description\": \"用户分组名称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"UserGroup对象\",\n \"description\": \"用户分组表\",\n \"$$ref\": \"#/definitions/UserGroup对象\"\n}", + "project_id": 52, + "catid": 4091, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/group/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6794, + "method": "GET", + "title": "详情", + "path": "/api/admin/user/group/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa52", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"groupName\": {\n \"type\": \"string\",\n \"description\": \"用户分组名称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"UserGroup对象\",\n \"description\": \"用户分组表\",\n \"$$ref\": \"#/definitions/UserGroup对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserGroup对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserGroup对象»\"\n}", + "project_id": 52, + "catid": 4091, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "会员 -- 标签", + "desc": "User Tag Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/user/tag/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6826, + "method": "POST", + "title": "修改", + "path": "/api/admin/user/tag/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa8d", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa8e", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"标签名称\"\n }\n },\n \"title\": \"UserTagRequest对象\",\n \"description\": \"会员标签\",\n \"$$ref\": \"#/definitions/UserTagRequest对象\"\n}", + "project_id": 52, + "catid": 4100, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/tag/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6822, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/user/tag/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa8b", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa8a", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"标签名称\"\n }\n },\n \"title\": \"UserTag对象\",\n \"description\": \"用户标签表\",\n \"$$ref\": \"#/definitions/UserTag对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserTag对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserTag对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserTag对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserTag对象»»\"\n}", + "project_id": 52, + "catid": 4100, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/tag/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6818, + "method": "GET", + "title": "删除", + "path": "/api/admin/user/tag/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa88", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4100, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/tag/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6824, + "method": "POST", + "title": "新增", + "path": "/api/admin/user/tag/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa8c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"标签名称\"\n }\n },\n \"title\": \"UserTagRequest对象\",\n \"description\": \"会员标签\",\n \"$$ref\": \"#/definitions/UserTagRequest对象\"\n}", + "project_id": 52, + "catid": 4100, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/tag/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6820, + "method": "GET", + "title": "详情", + "path": "/api/admin/user/tag/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa89", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"标签名称\"\n }\n },\n \"title\": \"UserTag对象\",\n \"description\": \"用户标签表\",\n \"$$ref\": \"#/definitions/UserTag对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserTag对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserTag对象»\"\n}", + "project_id": 52, + "catid": 4100, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "会员 -- 等级", + "desc": "User Level Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/user/level/level", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6808, + "method": "POST", + "title": "修改", + "path": "/api/admin/user/level/level", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa5f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa61", + "name": "levelId", + "desc": "等级ID" + }, + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa60", + "name": "userId", + "desc": "会员ID" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4109, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/level/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6810, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/user/level/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa6f", + "name": "addTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa6e", + "name": "discount", + "desc": "享受折扣" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa6d", + "name": "grade", + "desc": "会员等级" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa6c", + "name": "isDel", + "desc": "是否删除,0=未删除,1=删除" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa6b", + "name": "isForever", + "desc": "是否永久" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa6a", + "name": "levelId", + "desc": "等级vip" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa69", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa68", + "name": "mark", + "desc": "备注" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa67", + "name": "merId", + "desc": "商户id" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa66", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa65", + "name": "remind", + "desc": "是否已通知" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa64", + "name": "status", + "desc": "0:禁止,1:正常" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa63", + "name": "uid", + "desc": "用户uid" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa62", + "name": "validTime", + "desc": "过期时间" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"discount\": {\n \"type\": \"number\",\n \"description\": \"享受折扣\"\n },\n \"grade\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"会员等级\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除,0=未删除,1=删除\"\n },\n \"levelId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级vip\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"remind\": {\n \"type\": \"boolean\",\n \"description\": \"是否已通知\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0:禁止,1:正常\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserLevel对象\",\n \"description\": \"用户等级记录表\",\n \"$$ref\": \"#/definitions/UserLevel对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserLevel对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserLevel对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserLevel对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserLevel对象»»\"\n}", + "project_id": 52, + "catid": 4109, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/level/clean", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6806, + "method": "POST", + "title": "清除会员等级", + "path": "/api/admin/user/level/clean", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa5d", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa5e", + "name": "userId", + "desc": "会员ID" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4109, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "会员管理", + "desc": "User Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/user/infobycondition", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6804, + "method": "GET", + "title": "会员详情", + "path": "/api/admin/user/infobycondition", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa5c", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa5b", + "name": "page", + "desc": "页码" + }, + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa5a", + "name": "type", + "desc": "0=消费记录,1=积分明细,2=签到记录,3=持有优惠券,4=余额变动,5=好友关系" + }, + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa59", + "name": "userId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"T\",\n \"$$ref\": \"#/definitions/T\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«T»\",\n \"$$ref\": \"#/definitions/CommonPage«T»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«T»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«T»»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/topdetail", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6834, + "method": "GET", + "title": "会员详情页Top数据", + "path": "/api/admin/user/topdetail", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa98", + "name": "userId", + "desc": "userId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"allConsumeCount\": {\n \"type\": \"number\"\n },\n \"allOrderCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"balance\": {\n \"type\": \"number\"\n },\n \"integralCount\": {\n \"type\": \"number\"\n },\n \"mothConsumeCount\": {\n \"type\": \"number\"\n },\n \"mothOrderCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"title\": \"TopDetail\",\n \"$$ref\": \"#/definitions/TopDetail\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«TopDetail»\",\n \"$$ref\": \"#/definitions/CommonResult«TopDetail»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6836, + "method": "POST", + "title": "修改", + "path": "/api/admin/user/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa99", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa9a", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态是否正常, 0 = 禁止, 1 = 正常\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n }\n },\n \"title\": \"UserRequest对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/UserRequest对象\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/group", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6790, + "method": "POST", + "title": "分组", + "path": "/api/admin/user/group", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa4e", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa50", + "name": "groupId", + "desc": "groupId" + }, + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa4f", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6812, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/user/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa7f", + "name": "accessType", + "desc": "访问情况, 0 = 全部, 1 = 首次, 2 = 访问过, 3 = 未访问" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa7e", + "name": "city", + "desc": "城市" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa7d", + "name": "country", + "desc": "国家" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa7c", + "name": "data", + "desc": "时间" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa7b", + "name": "groupId", + "desc": "用户分组" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa7a", + "name": "isPromoter", + "desc": "是否为推广员, 0 = 禁止, 1 = 正常" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa79", + "name": "keywords", + "desc": "关键字" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa78", + "name": "labelId", + "desc": "用户标签" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa77", + "name": "level", + "desc": "等级" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa76", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa75", + "name": "loginType", + "desc": "用户登陆类型,h5 = h5, wechat = wechat,routine = routine" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa74", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa73", + "name": "payCount", + "desc": "消费情况" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa72", + "name": "province", + "desc": "省份" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa71", + "name": "sex", + "desc": "性别" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa70", + "name": "status", + "desc": "状态是否正常, 0 = 禁止, 1 = 正常" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"清除时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户分组id\"\n },\n \"groupName\": {\n \"type\": \"string\",\n \"description\": \"分组名称\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadNickname\": {\n \"type\": \"string\",\n \"description\": \"推广员名称\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"tagName\": {\n \"type\": \"string\",\n \"description\": \"标签名称\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"UserResponse\",\n \"$$ref\": \"#/definitions/UserResponse\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserResponse»\",\n \"$$ref\": \"#/definitions/CommonPage«UserResponse»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserResponse»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserResponse»»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6788, + "method": "GET", + "title": "删除", + "path": "/api/admin/user/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa4d", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/tag", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6816, + "method": "POST", + "title": "标签", + "path": "/api/admin/user/tag", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa85", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa87", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa86", + "name": "tagId", + "desc": "tagId" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/operate/founds", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6814, + "method": "GET", + "title": "积分余额", + "path": "/api/admin/user/operate/founds", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa84", + "name": "integralType", + "desc": "积分类型, 1 = 增加, 2 = 减少" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa83", + "name": "integralValue", + "desc": "积分" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa82", + "name": "moneyType", + "desc": "余额类型, 1 = 增加, 2 = 减少" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa81", + "name": "moneyValue", + "desc": "余额" + }, + { + "required": "0", + "_id": "5f35e8abbc7e8e560914fa80", + "name": "uid", + "desc": "uid" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6802, + "method": "GET", + "title": "详情", + "path": "/api/admin/user/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8abbc7e8e560914fa58", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«User对象»\",\n \"$$ref\": \"#/definitions/CommonResult«User对象»\"\n}", + "project_id": 52, + "catid": 4118, + "uid": 93, + "add_time": 1597368491, + "up_time": 1597368491, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "会员管理 -- 用户账单", + "desc": "User Bill Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/user/bill/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6786, + "method": "POST", + "title": "修改", + "path": "/api/admin/user/bill/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa41", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa4c", + "name": "balance", + "desc": "剩余" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa4b", + "name": "category", + "desc": "明细种类" + }, + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa4a", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa49", + "name": "linkId", + "desc": "关联id" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa48", + "name": "mark", + "desc": "备注" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa47", + "name": "number", + "desc": "明细数字" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa46", + "name": "pm", + "desc": "0 = 支出 1 = 获得" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa45", + "name": "status", + "desc": "0 = 带确定 1 = 有效 -1 = 无效" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa44", + "name": "title", + "desc": "账单标题" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa43", + "name": "type", + "desc": "明细类型" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa42", + "name": "uid", + "desc": "用户uid" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4127, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/bill/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6782, + "method": "POST", + "title": "分页列表", + "path": "/api/admin/user/bill/list", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa33", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa35", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa34", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"add_time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"剩余\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"明细种类\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户账单id\"\n },\n \"linkId\": {\n \"type\": \"string\",\n \"description\": \"关联id\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"nickName\": {\n \"type\": \"string\",\n \"description\": \"用户呢成\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"明细数字\"\n },\n \"pm\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 支出 1 = 获得\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 带确定 1 = 有效 -1 = 无效\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"账单标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"明细类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserBill对象\",\n \"description\": \"用户账单表\",\n \"$$ref\": \"#/definitions/UserBill对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserBill对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserBill对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserBill对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserBill对象»»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"category\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"dateLimit\": {\n \"type\": \"string\",\n \"description\": \"添加时间\"\n },\n \"keywords\": {\n \"type\": \"string\",\n \"description\": \"搜索关键字\"\n },\n \"max\": {\n \"type\": \"number\",\n \"description\": \"最大佣金\"\n },\n \"min\": {\n \"type\": \"number\",\n \"description\": \"最小佣金\"\n },\n \"sort\": {\n \"type\": \"string\",\n \"description\": \"排序 asc/desc\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id list\"\n },\n \"userIdList\": {\n \"type\": \"array\",\n \"description\": \"用户id list\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n }\n },\n \"title\": \"FundsMonitorSearchRequest对象\",\n \"description\": \"资金监控\",\n \"$$ref\": \"#/definitions/FundsMonitorSearchRequest对象\"\n}", + "project_id": 52, + "catid": 4127, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/bill/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6778, + "method": "GET", + "title": "删除", + "path": "/api/admin/user/bill/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa31", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4127, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/bill/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6784, + "method": "POST", + "title": "新增", + "path": "/api/admin/user/bill/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa36", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa40", + "name": "balance", + "desc": "剩余" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa3f", + "name": "category", + "desc": "明细种类" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa3e", + "name": "linkId", + "desc": "关联id" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa3d", + "name": "mark", + "desc": "备注" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa3c", + "name": "number", + "desc": "明细数字" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa3b", + "name": "pm", + "desc": "0 = 支出 1 = 获得" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa3a", + "name": "status", + "desc": "0 = 带确定 1 = 有效 -1 = 无效" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa39", + "name": "title", + "desc": "账单标题" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa38", + "name": "type", + "desc": "明细类型" + }, + { + "required": "0", + "_id": "5f35e8aabc7e8e560914fa37", + "name": "uid", + "desc": "用户uid" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4127, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/bill/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6780, + "method": "GET", + "title": "详情", + "path": "/api/admin/user/bill/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aabc7e8e560914fa32", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"add_time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"剩余\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"明细种类\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户账单id\"\n },\n \"linkId\": {\n \"type\": \"string\",\n \"description\": \"关联id\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"nickName\": {\n \"type\": \"string\",\n \"description\": \"用户呢成\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"明细数字\"\n },\n \"pm\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 支出 1 = 获得\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 带确定 1 = 有效 -1 = 无效\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"账单标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"明细类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserBill对象\",\n \"description\": \"用户账单表\",\n \"$$ref\": \"#/definitions/UserBill对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserBill对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserBill对象»\"\n}", + "project_id": 52, + "catid": 4127, + "uid": 93, + "add_time": 1597368490, + "up_time": 1597368490, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "分类服务", + "desc": "Category Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/category/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6408, + "method": "POST", + "title": "修改", + "path": "/api/admin/category/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f813", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f81b", + "name": "extra", + "desc": "扩展字段" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f81a", + "name": "id", + "desc": "分类ID" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f819", + "name": "name", + "desc": "分类名称" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f818", + "name": "pid", + "desc": "父级ID" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f817", + "name": "sort", + "desc": "排序" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f816", + "name": "status", + "desc": "状态, 0正常,1失效" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f815", + "name": "type", + "desc": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f814", + "name": "url", + "desc": "地址" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/category/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6400, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/category/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f807", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f806", + "name": "name", + "desc": "分类名称" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f805", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f804", + "name": "pid", + "desc": "父级ID" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f803", + "name": "status", + "desc": "状态, 0正常,1失效" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f802", + "name": "type", + "desc": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 \"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"Category对象\",\n \"description\": \"分类表\",\n \"$$ref\": \"#/definitions/Category对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«Category对象»\",\n \"$$ref\": \"#/definitions/CommonPage«Category对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«Category对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«Category对象»»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/category/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6396, + "method": "GET", + "title": "删除", + "path": "/api/admin/category/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f800", + "name": "id", + "desc": "分类ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/category/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6406, + "method": "POST", + "title": "新增", + "path": "/api/admin/category/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f80b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f812", + "name": "extra", + "desc": "扩展字段" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f811", + "name": "name", + "desc": "分类名称" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f810", + "name": "pid", + "desc": "父级ID" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f80f", + "name": "sort", + "desc": "排序" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f80e", + "name": "status", + "desc": "状态, 0正常,1失效" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f80d", + "name": "type", + "desc": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f80c", + "name": "url", + "desc": "地址" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/category/list/ids", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6402, + "method": "GET", + "title": "根据id集合获取分类列表", + "path": "/api/admin/category/list/ids", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f808", + "name": "ids", + "desc": "分类id集合" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 \"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"Category对象\",\n \"description\": \"分类表\",\n \"$$ref\": \"#/definitions/Category对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«Category对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«Category对象»»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/category/list/tree", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6404, + "method": "GET", + "title": "获取tree结构的列表", + "path": "/api/admin/category/list/tree", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f80a", + "name": "status", + "desc": "-1=全部,0=未生效,1=已生效" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f809", + "name": "type", + "desc": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"child\": {\n \"type\": \"array\",\n \"items\": {\n \"originalRef\": \"CategoryTreeVo\",\n \"$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"CategoryTreeVo\",\n \"$$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«CategoryTreeVo»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«CategoryTreeVo»»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/category/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6398, + "method": "GET", + "title": "详情", + "path": "/api/admin/category/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f801", + "name": "id", + "desc": "分类ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 \"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"Category对象\",\n \"description\": \"分类表\",\n \"$$ref\": \"#/definitions/Category对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Category对象»\",\n \"$$ref\": \"#/definitions/CommonResult«Category对象»\"\n}", + "project_id": 52, + "catid": 4136, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "分销", + "desc": "Retail Shop Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/store/retail/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6602, + "method": "GET", + "title": "分销列表", + "path": "/api/admin/store/retail/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f913", + "name": "dateLimit", + "desc": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/" + }, + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f912", + "name": "keywords", + "desc": "搜索关键字[身份证,手机,昵称,备注等]" + }, + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f911", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f910", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokerageMoney\": {\n \"type\": \"number\",\n \"description\": \"佣金数据\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"清除时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户分组id\"\n },\n \"groupName\": {\n \"type\": \"string\",\n \"description\": \"分组名称\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"retailShopOrderDataResponse\": {\n \"type\": \"object\",\n \"properties\": {\n \"orderCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单数量\"\n },\n \"orderPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n }\n },\n \"title\": \"RetailShopOrderDataResponse\",\n \"$$ref\": \"#/definitions/RetailShopOrderDataResponse\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadNickname\": {\n \"type\": \"string\",\n \"description\": \"推广员名称\"\n },\n \"spreadPeopleCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广用户数量\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"tagName\": {\n \"type\": \"string\",\n \"description\": \"标签名称\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userExtractResponse\": {\n \"type\": \"object\",\n \"properties\": {\n \"extractCountNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"提现次数\"\n },\n \"extractCountPrice\": {\n \"type\": \"number\",\n \"description\": \"体现数据总额\"\n }\n },\n \"title\": \"UserExtractResponse\",\n \"$$ref\": \"#/definitions/UserExtractResponse\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"RetailShopUserResponse\",\n \"$$ref\": \"#/definitions/RetailShopUserResponse\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«RetailShopUserResponse»\",\n \"$$ref\": \"#/definitions/CommonPage«RetailShopUserResponse»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«RetailShopUserResponse»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«RetailShopUserResponse»»\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/statistics", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6616, + "method": "GET", + "title": "分销头部数据", + "path": "/api/admin/store/retail/statistics", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f91f", + "name": "dateLimit", + "desc": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f91e", + "name": "nickName", + "desc": "昵称" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/spread/manage/set", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6608, + "method": "POST", + "title": "分销管理信息保存", + "path": "/api/admin/store/retail/spread/manage/set", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f915", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"brokerageBindind\": {\n \"type\": \"string\",\n \"description\": \"分销关系绑定\"\n },\n \"brokerageFuncStatus\": {\n \"type\": \"string\",\n \"description\": \"是否启用分销\"\n },\n \"extractTime\": {\n \"type\": \"string\",\n \"description\": \"冻结时间\"\n },\n \"storeBrokeragePrice\": {\n \"type\": \"string\",\n \"description\": \"人人分销满足金额\"\n },\n \"storeBrokerageRatio\": {\n \"type\": \"string\",\n \"description\": \"一级返佣比例\"\n },\n \"storeBrokerageStatus\": {\n \"type\": \"string\",\n \"description\": \"分销模式\"\n },\n \"storeBrokerageTwo\": {\n \"type\": \"string\",\n \"description\": \"二级返佣比例\"\n },\n \"userExtractBank\": {\n \"type\": \"string\",\n \"description\": \"提现银行\"\n },\n \"userExtractMinPrice\": {\n \"type\": \"string\",\n \"description\": \"用户提现最低金额\"\n }\n },\n \"title\": \"RetailShopRequest\",\n \"$$ref\": \"#/definitions/RetailShopRequest\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/spread/manage/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6606, + "method": "GET", + "title": "分销配置信息获取", + "path": "/api/admin/store/retail/spread/manage/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/spread/userlist", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6614, + "method": "POST", + "title": "根据条件获取推广人列表", + "path": "/api/admin/store/retail/spread/userlist", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f91b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f91d", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f91c", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«User对象»\",\n \"$$ref\": \"#/definitions/CommonPage«User对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«User对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«User对象»»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"dateLimit\": {\n \"type\": \"string\",\n \"description\": \"时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/\"\n },\n \"nickName\": {\n \"type\": \"string\",\n \"description\": \"搜索关键字\"\n },\n \"orderPriceId\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型 null = 全部 1=一级推广人 2=二级推广人\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n }\n },\n \"title\": \"RetailShopStairUserRequest对象\",\n \"description\": \"推广等级参数\",\n \"$$ref\": \"#/definitions/RetailShopStairUserRequest对象\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/spread/orderlist", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6610, + "method": "POST", + "title": "根据条件获取推广人订单", + "path": "/api/admin/store/retail/spread/orderlist", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f916", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f918", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f917", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"backIntegral\": {\n \"type\": \"number\",\n \"description\": \"给用户退了多少积分\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"clerkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"店员id\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团商品id0一般商品\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券id\"\n },\n \"couponPrice\": {\n \"type\": \"number\",\n \"description\": \"优惠券金额\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"deductionPrice\": {\n \"type\": \"number\",\n \"description\": \"抵扣金额\"\n },\n \"deliveryId\": {\n \"type\": \"string\",\n \"description\": \"快递单号/手机号\"\n },\n \"deliveryName\": {\n \"type\": \"string\",\n \"description\": \"快递名称/送货人姓名\"\n },\n \"deliveryType\": {\n \"type\": \"string\",\n \"description\": \"发货类型\"\n },\n \"freightPrice\": {\n \"type\": \"number\",\n \"description\": \"运费金额\"\n },\n \"gainIntegral\": {\n \"type\": \"number\",\n \"description\": \"消费赚取积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"isChannel\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"支付渠道(0微信公众号1微信小程序)\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isMerCheck\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"isRemind\": {\n \"type\": \"boolean\",\n \"description\": \"消息提醒\"\n },\n \"isSystemDel\": {\n \"type\": \"boolean\",\n \"description\": \"后台是否删除\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户ID\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"paid\": {\n \"type\": \"boolean\",\n \"description\": \"支付状态\"\n },\n \"payPostage\": {\n \"type\": \"number\",\n \"description\": \"支付邮费\"\n },\n \"payPrice\": {\n \"type\": \"number\",\n \"description\": \"实际支付金额\"\n },\n \"payTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"支付时间\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"pinkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id 0没有拼团\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"用户姓名\"\n },\n \"refundPrice\": {\n \"type\": \"number\",\n \"description\": \"退款金额\"\n },\n \"refundReason\": {\n \"type\": \"string\",\n \"description\": \"不退款的理由\"\n },\n \"refundReasonTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"退款时间\"\n },\n \"refundReasonWap\": {\n \"type\": \"string\",\n \"description\": \"前台退款原因\"\n },\n \"refundReasonWapExplain\": {\n \"type\": \"string\",\n \"description\": \"退款用户说明\"\n },\n \"refundReasonWapImg\": {\n \"type\": \"string\",\n \"description\": \"退款图片\"\n },\n \"refundStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 未退款 1 申请中 2 已退款\"\n },\n \"remark\": {\n \"type\": \"string\",\n \"description\": \"管理员备注\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"shippingType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"配送方式 1=快递 ,2=门店自提\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"totalNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单商品总数\"\n },\n \"totalPostage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"totalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一id(md5加密)类似id\"\n },\n \"useIntegral\": {\n \"type\": \"number\",\n \"description\": \"使用积分\"\n },\n \"userAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"userPhone\": {\n \"type\": \"string\",\n \"description\": \"用户电话\"\n },\n \"verifyCode\": {\n \"type\": \"string\",\n \"description\": \"核销码\"\n }\n },\n \"title\": \"StoreOrder对象\",\n \"description\": \"订单表\",\n \"$$ref\": \"#/definitions/StoreOrder对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreOrder对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreOrder对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreOrder对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreOrder对象»»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"dateLimit\": {\n \"type\": \"string\",\n \"description\": \"时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/\"\n },\n \"nickName\": {\n \"type\": \"string\",\n \"description\": \"搜索关键字\"\n },\n \"orderPriceId\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型 null = 全部 1=一级推广人 2=二级推广人\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n }\n },\n \"title\": \"RetailShopStairUserRequest对象\",\n \"description\": \"推广等级参数\",\n \"$$ref\": \"#/definitions/RetailShopStairUserRequest对象\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/spread/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6612, + "method": "GET", + "title": "添加推广关系", + "path": "/api/admin/store/retail/spread/save", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f91a", + "name": "currentUserId", + "desc": "当前用户id" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f919", + "name": "spreadUserId", + "desc": "推广人id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/retail/spread/clean/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6604, + "method": "GET", + "title": "清除上级推广人", + "path": "/api/admin/store/retail/spread/clean/{id}", + "req_params": [ + { + "_id": "5f35e8a1bc7e8e560914f914", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4145, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "后台用户服务", + "desc": "System Admin Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/system/admin/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6626, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/admin/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f937", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f944", + "name": "account", + "desc": "后台管理员账号" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f943", + "name": "addTime", + "desc": "后台管理员添加时间" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f942", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f941", + "name": "id", + "desc": "后台管理员表ID" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f940", + "name": "isDel", + "desc": "是否删除 1删除 0未删除" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f93f", + "name": "lastIp", + "desc": "后台管理员最后一次登录ip" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f93e", + "name": "lastTime", + "desc": "后台管理员最后一次登录时间" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f93d", + "name": "level", + "desc": "后台管理员级别" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f93c", + "name": "loginCount", + "desc": "登录次数" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f93b", + "name": "pwd", + "desc": "后台管理员密码" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f93a", + "name": "realName", + "desc": "后台管理员姓名" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f939", + "name": "roles", + "desc": "后台管理员权限(menus_id)" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f938", + "name": "status", + "desc": "后台管理员状态 1有效0无效" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4154, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/admin/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6622, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/admin/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f92f", + "name": "account", + "desc": "后台管理员账号" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f92e", + "name": "addTime", + "desc": "后台管理员添加时间" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f92d", + "name": "id", + "desc": "后台管理员表ID" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f92c", + "name": "isDel", + "desc": "是否删除 1删除 0未删除" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f92b", + "name": "lastIp", + "desc": "后台管理员最后一次登录ip" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f92a", + "name": "lastTime", + "desc": "后台管理员最后一次登录时间" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f929", + "name": "level", + "desc": "后台管理员级别" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f928", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f927", + "name": "loginCount", + "desc": "登录次数" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f926", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f925", + "name": "pwd", + "desc": "后台管理员密码" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f924", + "name": "realName", + "desc": "后台管理员姓名" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f923", + "name": "roles", + "desc": "后台管理员权限(menus_id)" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f922", + "name": "status", + "desc": "后台管理员状态 1有效0无效" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"后台管理员账号\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员表ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"后台管理员最后一次登录ip\"\n },\n \"lastTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员级别\"\n },\n \"loginCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"登录次数\"\n },\n \"pwd\": {\n \"type\": \"string\",\n \"description\": \"后台管理员密码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"后台管理员姓名\"\n },\n \"roles\": {\n \"type\": \"string\",\n \"description\": \"后台管理员权限(menus_id)\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"后台管理员状态 1有效0无效\"\n }\n },\n \"title\": \"SystemAdmin对象\",\n \"description\": \"后台管理员表\",\n \"$$ref\": \"#/definitions/SystemAdmin对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemAdmin对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemAdmin对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemAdmin对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemAdmin对象»»\"\n}", + "project_id": 52, + "catid": 4154, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/admin/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6618, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/admin/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f920", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4154, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/admin/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6624, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/admin/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f930", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f936", + "name": "account", + "desc": "后台管理员账号" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f935", + "name": "level", + "desc": "后台管理员级别" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f934", + "name": "pwd", + "desc": "后台管理员密码" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f933", + "name": "realName", + "desc": "后台管理员姓名" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f932", + "name": "roles", + "desc": "后台管理员权限(menus_id)" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f931", + "name": "status", + "desc": "后台管理员状态 1有效0无效" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"lastIp\": {\n \"type\": \"string\"\n },\n \"lastTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"loginCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"realName\": {\n \"type\": \"string\"\n },\n \"roles\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n },\n \"token\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"SystemAdminResponse\",\n \"$$ref\": \"#/definitions/SystemAdminResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemAdminResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemAdminResponse»\"\n}", + "project_id": 52, + "catid": 4154, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/admin/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6620, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/admin/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f921", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"后台管理员账号\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员表ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"后台管理员最后一次登录ip\"\n },\n \"lastTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"后台管理员级别\"\n },\n \"loginCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"登录次数\"\n },\n \"pwd\": {\n \"type\": \"string\",\n \"description\": \"后台管理员密码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"后台管理员姓名\"\n },\n \"roles\": {\n \"type\": \"string\",\n \"description\": \"后台管理员权限(menus_id)\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"后台管理员状态 1有效0无效\"\n }\n },\n \"title\": \"SystemAdmin对象\",\n \"description\": \"后台管理员表\",\n \"$$ref\": \"#/definitions/SystemAdmin对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemAdmin对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemAdmin对象»\"\n}", + "project_id": 52, + "catid": 4154, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "商品", + "desc": "Store Product Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/store/product/putOnShell/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6570, + "method": "GET", + "title": "上架", + "path": "/api/admin/store/product/putOnShell/{id}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8f3", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/offShell/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6568, + "method": "GET", + "title": "下架", + "path": "/api/admin/store/product/offShell/{id}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8f2", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6600, + "method": "POST", + "title": "修改", + "path": "/api/admin/store/product/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f90f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"attr\": {\n \"type\": \"array\",\n \"description\": \"商品属性\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrName\": {\n \"type\": \"string\",\n \"description\": \"属性名\"\n },\n \"attrValues\": {\n \"type\": \"string\",\n \"description\": \"属性值\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n }\n },\n \"title\": \"StoreProductAttr对象\",\n \"description\": \"商品属性表\",\n \"$$ref\": \"#/definitions/StoreProductAttr对象\"\n }\n },\n \"attrValue\": {\n \"type\": \"array\",\n \"description\": \"商品属性详情\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"object\",\n \"description\": \"attrValue字段,前端传递后用作sku字段\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"ID\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValueRequest对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValueRequest对象\"\n }\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cateIds\": {\n \"type\": \"array\",\n \"description\": \"商品分类\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"商品描述\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"couponIds\": {\n \"type\": \"array\",\n \"description\": \"优惠券id集合\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductRequest对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProductRequest对象\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6566, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store/product/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8f1", + "name": "cateId", + "desc": "分类ID, 多个逗号分隔" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8f0", + "name": "isBenefit", + "desc": "是否优惠" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8ef", + "name": "isBest", + "desc": "是否精品" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8ee", + "name": "isGood", + "desc": "是否推荐" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8ed", + "name": "isHot", + "desc": "是否热卖" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8ec", + "name": "isNew", + "desc": "是否新品" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8eb", + "name": "isShow", + "desc": "状态(0:未上架,1:上架)" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8ea", + "name": "keywords", + "desc": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8e9", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8e8", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8e7", + "name": "type", + "desc": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProduct对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProduct对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreProduct对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreProduct对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreProduct对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreProduct对象»»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/delete/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6558, + "method": "GET", + "title": "删除", + "path": "/api/admin/store/product/delete/{id}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8e0", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/tabs/headers", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6598, + "method": "GET", + "title": "商品表头数量", + "path": "/api/admin/store/product/tabs/headers", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"count\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"StoreProductTabsHeader\",\n \"$$ref\": \"#/definitions/StoreProductTabsHeader\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«StoreProductTabsHeader»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«StoreProductTabsHeader»»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/importProduct", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6562, + "method": "POST", + "title": "导入商品", + "path": "/api/admin/store/product/importProduct", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8e3", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8e5", + "name": "form", + "desc": "导入平台1=淘宝,2=京东,3=苏宁,4=拼多多, 5=天猫" + }, + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8e4", + "name": "url", + "desc": "URL" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"attr\": {\n \"type\": \"array\",\n \"description\": \"商品属性\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrName\": {\n \"type\": \"string\",\n \"description\": \"属性名\"\n },\n \"attrValues\": {\n \"type\": \"string\",\n \"description\": \"属性值\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n }\n },\n \"title\": \"StoreProductAttr对象\",\n \"description\": \"商品属性表\",\n \"$$ref\": \"#/definitions/StoreProductAttr对象\"\n }\n },\n \"attrValue\": {\n \"type\": \"array\",\n \"description\": \"商品属性详情\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"object\",\n \"description\": \"attrValue字段,前端传递后用作sku字段\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"ID\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValueRequest对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValueRequest对象\"\n }\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cateIds\": {\n \"type\": \"array\",\n \"description\": \"商品分类\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"商品描述\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"couponIds\": {\n \"type\": \"array\",\n \"description\": \"优惠券id集合\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductRequest对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProductRequest对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreProductRequest对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreProductRequest对象»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/stock", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6596, + "method": "GET", + "title": "库存变动", + "path": "/api/admin/store/product/stock", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f90e", + "name": "idList", + "desc": "商品ID, 多个逗号分割,如果是修改所有的,参数值为 all" + }, + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f90d", + "name": "num", + "desc": "数量" + }, + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f90c", + "name": "type", + "desc": "类型, 增加 add | 修改 update | 减少 diff" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6594, + "method": "POST", + "title": "新增", + "path": "/api/admin/store/product/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f90b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"attr\": {\n \"type\": \"array\",\n \"description\": \"商品属性\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrName\": {\n \"type\": \"string\",\n \"description\": \"属性名\"\n },\n \"attrValues\": {\n \"type\": \"string\",\n \"description\": \"属性值\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n }\n },\n \"title\": \"StoreProductAttr对象\",\n \"description\": \"商品属性表\",\n \"$$ref\": \"#/definitions/StoreProductAttr对象\"\n }\n },\n \"attrValue\": {\n \"type\": \"array\",\n \"description\": \"商品属性详情\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"object\",\n \"description\": \"attrValue字段,前端传递后用作sku字段\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"ID\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValueRequest对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValueRequest对象\"\n }\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cateIds\": {\n \"type\": \"array\",\n \"description\": \"商品分类\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"商品描述\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"couponIds\": {\n \"type\": \"array\",\n \"description\": \"优惠券id集合\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductRequest对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProductRequest对象\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/ficti/{id}/{num}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6560, + "method": "GET", + "title": "虚拟销量", + "path": "/api/admin/store/product/ficti/{id}/{num}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8e2", + "name": "id", + "desc": "id" + }, + { + "_id": "5f35e8a0bc7e8e560914f8e1", + "name": "num", + "desc": "数值" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/info/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6564, + "method": "GET", + "title": "详情", + "path": "/api/admin/store/product/info/{id}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8e6", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProduct对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProduct对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreProduct对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreProduct对象»\"\n}", + "project_id": 52, + "catid": 4163, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "商品 -- 规则值(规格)", + "desc": "Store Product Rule Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/store/product/rule/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6592, + "method": "POST", + "title": "修改", + "path": "/api/admin/store/product/rule/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f90a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"规则id\"\n },\n \"ruleName\": {\n \"type\": \"string\",\n \"description\": \"规格名称\"\n },\n \"ruleValue\": {\n \"type\": \"string\",\n \"description\": \"规格值【JSON字符串】 [{\\\\\\\"detail\\\\\\\": [\\\\\\\"string\\\\\\\"],\\\\\\\"title\\\\\\\": \\\\\\\"string\\\\\\\"}]\"\n }\n },\n \"title\": \"StoreProductRuleRequest对象\",\n \"description\": \"商品规则值(规格)表\",\n \"$$ref\": \"#/definitions/StoreProductRuleRequest对象\"\n}", + "project_id": 52, + "catid": 4172, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/rule/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6588, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store/product/rule/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f908", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f907", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a1bc7e8e560914f906", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"ruleName\": {\n \"type\": \"string\",\n \"description\": \"规格名称\"\n },\n \"ruleValue\": {\n \"type\": \"string\",\n \"description\": \"规格值\"\n }\n },\n \"title\": \"StoreProductRule对象\",\n \"description\": \"商品规则值(规格)表\",\n \"$$ref\": \"#/definitions/StoreProductRule对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreProductRule对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreProductRule对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreProductRule对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreProductRule对象»»\"\n}", + "project_id": 52, + "catid": 4172, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/rule/delete/{ids}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6584, + "method": "GET", + "title": "删除", + "path": "/api/admin/store/product/rule/delete/{ids}", + "req_params": [ + { + "_id": "5f35e8a1bc7e8e560914f904", + "name": "ids", + "desc": "ids" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4172, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/rule/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6590, + "method": "POST", + "title": "新增", + "path": "/api/admin/store/product/rule/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f909", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"规则id\"\n },\n \"ruleName\": {\n \"type\": \"string\",\n \"description\": \"规格名称\"\n },\n \"ruleValue\": {\n \"type\": \"string\",\n \"description\": \"规格值【JSON字符串】 [{\\\\\\\"detail\\\\\\\": [\\\\\\\"string\\\\\\\"],\\\\\\\"title\\\\\\\": \\\\\\\"string\\\\\\\"}]\"\n }\n },\n \"title\": \"StoreProductRuleRequest对象\",\n \"description\": \"商品规则值(规格)表\",\n \"$$ref\": \"#/definitions/StoreProductRuleRequest对象\"\n}", + "project_id": 52, + "catid": 4172, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/rule/info/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6586, + "method": "GET", + "title": "详情", + "path": "/api/admin/store/product/rule/info/{id}", + "req_params": [ + { + "_id": "5f35e8a1bc7e8e560914f905", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"ruleName\": {\n \"type\": \"string\",\n \"description\": \"规格名称\"\n },\n \"ruleValue\": {\n \"type\": \"string\",\n \"description\": \"规格值\"\n }\n },\n \"title\": \"StoreProductRule对象\",\n \"description\": \"商品规则值(规格)表\",\n \"$$ref\": \"#/definitions/StoreProductRule对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreProductRule对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreProductRule对象»\"\n}", + "project_id": 52, + "catid": 4172, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "商品 -- 评论", + "desc": "Store Product Reply Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/store/product/reply/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6582, + "method": "POST", + "title": "修改", + "path": "/api/admin/store/product/reply/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f903", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"comment\": {\n \"type\": \"string\",\n \"description\": \"评论内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"评论时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"评论ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"0未删除1已删除\"\n },\n \"isReply\": {\n \"type\": \"boolean\",\n \"description\": \"0未回复1已回复\"\n },\n \"merchantReplyContent\": {\n \"type\": \"string\",\n \"description\": \"管理员回复内容\"\n },\n \"merchantReplyTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员回复时间\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户名称\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"pics\": {\n \"type\": \"string\",\n \"description\": \"评论图片\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"productScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品分数\"\n },\n \"replyType\": {\n \"type\": \"string\",\n \"description\": \"某种商品类型(普通商品、秒杀商品)\"\n },\n \"serviceScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"服务分数\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"商品 属性id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreProductReply对象\",\n \"description\": \"评论表\",\n \"$$ref\": \"#/definitions/StoreProductReply对象\"\n}", + "project_id": 52, + "catid": 4181, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/reply/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6578, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store/product/reply/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f901", + "name": "dateLimit", + "desc": "时间区间" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f900", + "name": "isDel", + "desc": "0未删除1已删除" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8ff", + "name": "isReply", + "desc": "0未回复1已回复" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8fe", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8fd", + "name": "nickname", + "desc": "用户名称(支持模糊搜索)" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8fc", + "name": "oid", + "desc": "订单ID" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8fb", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8fa", + "name": "productId", + "desc": "商品id, 多个逗号分割" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8f9", + "name": "star", + "desc": "星数" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8f8", + "name": "type", + "desc": "类型" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8f7", + "name": "uid", + "desc": "用户ID, 多个逗号分割" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"comment\": {\n \"type\": \"string\",\n \"description\": \"评论内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"评论时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"评论ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"0未删除1已删除\"\n },\n \"isReply\": {\n \"type\": \"boolean\",\n \"description\": \"0未回复1已回复\"\n },\n \"merchantReplyContent\": {\n \"type\": \"string\",\n \"description\": \"管理员回复内容\"\n },\n \"merchantReplyTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员回复时间\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户名称\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"pics\": {\n \"type\": \"array\",\n \"description\": \"评论图片\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"productScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品分数\"\n },\n \"replyType\": {\n \"type\": \"string\",\n \"description\": \"某种商品类型(普通商品、秒杀商品)\"\n },\n \"serviceScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"服务分数\"\n },\n \"storeProduct\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProduct对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProduct对象\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreProductReplyResponse\",\n \"$$ref\": \"#/definitions/StoreProductReplyResponse\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreProductReplyResponse»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreProductReplyResponse»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreProductReplyResponse»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»\"\n}", + "project_id": 52, + "catid": 4181, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/reply/delete/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6574, + "method": "GET", + "title": "删除", + "path": "/api/admin/store/product/reply/delete/{id}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8f5", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4181, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/reply/comment", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6572, + "method": "POST", + "title": "回复", + "path": "/api/admin/store/product/reply/comment", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8f4", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"ids\",\n \"merchantReplyContent\"\n ],\n \"properties\": {\n \"ids\": {\n \"type\": \"string\",\n \"description\": \"管理员回复内容\"\n },\n \"merchantReplyContent\": {\n \"type\": \"string\",\n \"description\": \"管理员回复内容\"\n }\n },\n \"title\": \"StoreProductReplyCommentRequest对象\",\n \"description\": \"评论表\",\n \"$$ref\": \"#/definitions/StoreProductReplyCommentRequest对象\"\n}", + "project_id": 52, + "catid": 4181, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/reply/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6580, + "method": "POST", + "title": "新增", + "path": "/api/admin/store/product/reply/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a1bc7e8e560914f902", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"comment\",\n \"pics\",\n \"productId\",\n \"productScore\",\n \"serviceScore\"\n ],\n \"properties\": {\n \"comment\": {\n \"type\": \"string\",\n \"description\": \"评论内容\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID, 移动端必须传递此参数\"\n },\n \"pics\": {\n \"type\": \"string\",\n \"description\": \"评论图片\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"productScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 5,\n \"description\": \"商品分数\"\n },\n \"serviceScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 5,\n \"description\": \"服务分数\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"商品 属性id\"\n },\n \"userId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id, 后端必须传递此参数\"\n }\n },\n \"title\": \"StoreProductReplyAddRequest对象\",\n \"description\": \"评论表\",\n \"$$ref\": \"#/definitions/StoreProductReplyAddRequest对象\"\n}", + "project_id": 52, + "catid": 4181, + "uid": 93, + "add_time": 1597368481, + "up_time": 1597368481, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/product/reply/info/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6576, + "method": "GET", + "title": "详情", + "path": "/api/admin/store/product/reply/info/{id}", + "req_params": [ + { + "_id": "5f35e8a0bc7e8e560914f8f6", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"comment\": {\n \"type\": \"string\",\n \"description\": \"评论内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"评论时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"评论ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"0未删除1已删除\"\n },\n \"isReply\": {\n \"type\": \"boolean\",\n \"description\": \"0未回复1已回复\"\n },\n \"merchantReplyContent\": {\n \"type\": \"string\",\n \"description\": \"管理员回复内容\"\n },\n \"merchantReplyTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员回复时间\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户名称\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"pics\": {\n \"type\": \"string\",\n \"description\": \"评论图片\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"productScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品分数\"\n },\n \"replyType\": {\n \"type\": \"string\",\n \"description\": \"某种商品类型(普通商品、秒杀商品)\"\n },\n \"serviceScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"服务分数\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"商品 属性id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreProductReply对象\",\n \"description\": \"评论表\",\n \"$$ref\": \"#/definitions/StoreProductReply对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreProductReply对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreProductReply对象»\"\n}", + "project_id": 52, + "catid": 4181, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "城市管理", + "desc": "System City Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/system/city/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6646, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/city/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f950", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f953", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a3bc7e8e560914f952", + "name": "name", + "desc": "名称" + }, + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f951", + "name": "parentId", + "desc": "父级id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4190, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/city/update/status", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6648, + "method": "POST", + "title": "修改状态", + "path": "/api/admin/system/city/update/status", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f954", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f956", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f955", + "name": "status", + "desc": "status" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4190, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/city/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6642, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/city/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f94f", + "name": "parentId", + "desc": "父级id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4190, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/city/list/tree", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6644, + "method": "GET", + "title": "获取tree结构的列表", + "path": "/api/admin/system/city/list/tree", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4190, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/city/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6640, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/city/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f94e", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"areaCode\": {\n \"type\": \"string\",\n \"description\": \"区号\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否展示\"\n },\n \"lat\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"省市级别\"\n },\n \"lng\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"mergerName\": {\n \"type\": \"string\",\n \"description\": \"合并名称\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"名称\"\n },\n \"parentId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"SystemCity对象\",\n \"description\": \"城市表\",\n \"$$ref\": \"#/definitions/SystemCity对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemCity对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemCity对象»\"\n}", + "project_id": 52, + "catid": 4190, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "客服用户对话记录表", + "desc": "Store Service Log Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/store-service-log/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6518, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store-service-log/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8ad", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8ac", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8ab", + "name": "toUid", + "desc": "接收人uid" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8aa", + "name": "uid", + "desc": "发送人uid" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服用户对话记录表ID\"\n },\n \"msn\": {\n \"type\": \"string\",\n \"description\": \"消息内容\"\n },\n \"msnType\": {\n \"type\": \"boolean\",\n \"description\": \"消息类型 1=文字 2=表情 3=图片 4=语音\"\n },\n \"remind\": {\n \"type\": \"boolean\",\n \"description\": \"是否提醒过\"\n },\n \"toUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"接收人uid\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"是否已读(0:否;1:是;)\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发送人uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreServiceLog对象\",\n \"description\": \"客服用户对话记录表\",\n \"$$ref\": \"#/definitions/StoreServiceLog对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreServiceLog对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreServiceLog对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreServiceLog对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»\"\n}", + "project_id": 52, + "catid": 4199, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "客服表", + "desc": "Store Service Controller", + "add_time": 1597368468, + "up_time": 1597368468, + "list": [ + { + "query_path": { + "path": "/api/admin/store-service/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6528, + "method": "POST", + "title": "修改", + "path": "/api/admin/store-service/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8b3", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8b4", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"客服头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"customer\": {\n \"type\": \"boolean\",\n \"description\": \"是否展示统计管理\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服id\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"代理名称\"\n },\n \"notify\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单通知1开启0关闭\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0隐藏1显示\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreService对象\",\n \"description\": \"客服表\",\n \"$$ref\": \"#/definitions/StoreService对象\"\n}", + "project_id": 52, + "catid": 4208, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store-service/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6524, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store-service/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8b1", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8b0", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"客服头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"customer\": {\n \"type\": \"boolean\",\n \"description\": \"是否展示统计管理\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服id\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"代理名称\"\n },\n \"notify\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单通知1开启0关闭\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0隐藏1显示\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreService对象\",\n \"description\": \"客服表\",\n \"$$ref\": \"#/definitions/StoreService对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreService对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreService对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreService对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreService对象»»\"\n}", + "project_id": 52, + "catid": 4208, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store-service/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6520, + "method": "GET", + "title": "删除", + "path": "/api/admin/store-service/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89ebc7e8e560914f8ae", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4208, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store-service/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6526, + "method": "POST", + "title": "新增", + "path": "/api/admin/store-service/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8b2", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"客服头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"customer\": {\n \"type\": \"boolean\",\n \"description\": \"是否展示统计管理\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服id\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"代理名称\"\n },\n \"notify\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单通知1开启0关闭\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0隐藏1显示\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreService对象\",\n \"description\": \"客服表\",\n \"$$ref\": \"#/definitions/StoreService对象\"\n}", + "project_id": 52, + "catid": 4208, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store-service/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6522, + "method": "GET", + "title": "详情", + "path": "/api/admin/store-service/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89ebc7e8e560914f8af", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"客服头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"customer\": {\n \"type\": \"boolean\",\n \"description\": \"是否展示统计管理\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服id\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"代理名称\"\n },\n \"notify\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单通知1开启0关闭\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0隐藏1显示\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreService对象\",\n \"description\": \"客服表\",\n \"$$ref\": \"#/definitions/StoreService对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreService对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreService对象»\"\n}", + "project_id": 52, + "catid": 4208, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "导出 -- Excel", + "desc": "Excel Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/export/excel/product", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": false, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6410, + "method": "GET", + "title": "产品", + "path": "/api/admin/export/excel/product", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f824", + "name": "cateId", + "desc": "分类ID, 多个逗号分隔" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f823", + "name": "isBenefit", + "desc": "是否优惠" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f822", + "name": "isBest", + "desc": "是否精品" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f821", + "name": "isGood", + "desc": "是否推荐" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f820", + "name": "isHot", + "desc": "是否热卖" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f81f", + "name": "isNew", + "desc": "是否新品" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f81e", + "name": "isShow", + "desc": "状态(0:未上架,1:上架)" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f81d", + "name": "keywords", + "desc": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f81c", + "name": "type", + "desc": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)" + } + ], + "req_body_type": "raw", + "res_body_type": "raw", + "res_body": "OK", + "project_id": 52, + "catid": 4217, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信 -- 消息模版", + "desc": "Template Message Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/template/update/status/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6922, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/template/update/status/{id}", + "req_params": [ + { + "_id": "5f35e8afbc7e8e560914fb16", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb17", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb18", + "name": "status", + "desc": "status" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/template/update/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6924, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/template/update/{id}", + "req_params": [ + { + "_id": "5f35e8afbc7e8e560914fb19", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb1a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"回复内容\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名\"\n },\n \"tempId\": {\n \"type\": \"string\",\n \"description\": \"模板ID\"\n },\n \"tempKey\": {\n \"type\": \"string\",\n \"description\": \"模板编号\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"0=订阅消息,1=微信模板消息\"\n }\n },\n \"title\": \"TemplateMessageRequest对象\",\n \"description\": \"微信模板\",\n \"$$ref\": \"#/definitions/TemplateMessageRequest对象\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/template/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6918, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/template/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb14", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb13", + "name": "name", + "desc": "模板名" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb12", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb11", + "name": "status", + "desc": "状态, 0 正常,1 禁用" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb10", + "name": "tempId", + "desc": "模板ID" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb0f", + "name": "tempKey", + "desc": "模板编号" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb0e", + "name": "type", + "desc": "类型, 0 订阅消息, 1 模板消息" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"回复内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"模板id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"tempId\": {\n \"type\": \"string\",\n \"description\": \"模板ID\"\n },\n \"tempKey\": {\n \"type\": \"string\",\n \"description\": \"模板编号\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"0=订阅消息,1=微信模板消息\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"TemplateMessage对象\",\n \"description\": \"微信模板\",\n \"$$ref\": \"#/definitions/TemplateMessage对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«TemplateMessage对象»\",\n \"$$ref\": \"#/definitions/CommonPage«TemplateMessage对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«TemplateMessage对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«TemplateMessage对象»»\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/template/delete/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6912, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/template/delete/{id}", + "req_params": [ + { + "_id": "5f35e8afbc7e8e560914fb0c", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/template/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6920, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/template/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb15", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"回复内容\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名\"\n },\n \"tempId\": {\n \"type\": \"string\",\n \"description\": \"模板ID\"\n },\n \"tempKey\": {\n \"type\": \"string\",\n \"description\": \"模板编号\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"0=订阅消息,1=微信模板消息\"\n }\n },\n \"title\": \"TemplateMessageRequest对象\",\n \"description\": \"微信模板\",\n \"$$ref\": \"#/definitions/TemplateMessageRequest对象\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/template/industry", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6914, + "method": "GET", + "title": "行业信息", + "path": "/api/admin/wechat/template/industry", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"primaryIndustry\": {\n \"type\": \"object\",\n \"properties\": {\n \"firstClass\": {\n \"type\": \"string\",\n \"description\": \"主行业\"\n },\n \"secondClass\": {\n \"type\": \"string\",\n \"description\": \"副行业\"\n }\n },\n \"title\": \"TemplateMessageIndustryItemVo对象\",\n \"description\": \"微信模板所属行业详情\",\n \"$$ref\": \"#/definitions/TemplateMessageIndustryItemVo对象\"\n },\n \"secondaryIndustry\": {\n \"type\": \"object\",\n \"properties\": {\n \"firstClass\": {\n \"type\": \"string\",\n \"description\": \"主行业\"\n },\n \"secondClass\": {\n \"type\": \"string\",\n \"description\": \"副行业\"\n }\n },\n \"title\": \"TemplateMessageIndustryItemVo对象\",\n \"description\": \"微信模板所属行业详情\",\n \"$$ref\": \"#/definitions/TemplateMessageIndustryItemVo对象\"\n }\n },\n \"title\": \"TemplateMessageIndustryVo对象\",\n \"description\": \"微信模板所属行业\",\n \"$$ref\": \"#/definitions/TemplateMessageIndustryVo对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«TemplateMessageIndustryVo对象»\",\n \"$$ref\": \"#/definitions/CommonResult«TemplateMessageIndustryVo对象»\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/template/info/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6916, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/template/info/{id}", + "req_params": [ + { + "_id": "5f35e8afbc7e8e560914fb0d", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"回复内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"模板id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"tempId\": {\n \"type\": \"string\",\n \"description\": \"模板ID\"\n },\n \"tempKey\": {\n \"type\": \"string\",\n \"description\": \"模板编号\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"0=订阅消息,1=微信模板消息\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"TemplateMessage对象\",\n \"description\": \"微信模板\",\n \"$$ref\": \"#/definitions/TemplateMessage对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«TemplateMessage对象»\",\n \"$$ref\": \"#/definitions/CommonResult«TemplateMessage对象»\"\n}", + "project_id": 52, + "catid": 4226, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 小程序access_token", + "desc": "Routine Access Token Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/routine/access/token/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6890, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/routine/access/token/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fadd", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae0", + "name": "accessToken", + "desc": "openid" + }, + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fadf", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fade", + "name": "stopTime", + "desc": "添加时间" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4235, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/access/token/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6886, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/routine/access/token/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fad9", + "name": "accessToken", + "desc": "openid" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fad8", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fad7", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"accessToken\": {\n \"type\": \"string\",\n \"description\": \"openid\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"小程序access_token表ID\"\n },\n \"stopTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"RoutineAccessToken对象\",\n \"description\": \"小程序access_token表\",\n \"$$ref\": \"#/definitions/RoutineAccessToken对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«RoutineAccessToken对象»\",\n \"$$ref\": \"#/definitions/CommonPage«RoutineAccessToken对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«RoutineAccessToken对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«RoutineAccessToken对象»»\"\n}", + "project_id": 52, + "catid": 4235, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/access/token/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6882, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/routine/access/token/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914fad5", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4235, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/access/token/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6888, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/routine/access/token/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fada", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fadc", + "name": "accessToken", + "desc": "openid" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fadb", + "name": "stopTime", + "desc": "添加时间" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4235, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/access/token/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6884, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/routine/access/token/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fad6", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"accessToken\": {\n \"type\": \"string\",\n \"description\": \"openid\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"小程序access_token表ID\"\n },\n \"stopTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"RoutineAccessToken对象\",\n \"description\": \"小程序access_token表\",\n \"$$ref\": \"#/definitions/RoutineAccessToken对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«RoutineAccessToken对象»\",\n \"$$ref\": \"#/definitions/CommonResult«RoutineAccessToken对象»\"\n}", + "project_id": 52, + "catid": 4235, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 小程序二维码管理", + "desc": "Routine Qrcode Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/routine/qrcode/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6910, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/routine/qrcode/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fb05", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb0b", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb0a", + "name": "page", + "desc": "小程序页面路径带参数" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb09", + "name": "qrcodeUrl", + "desc": "小程序二维码路径" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb08", + "name": "status", + "desc": "状态 0不可用 1可用" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb07", + "name": "thirdId", + "desc": "用户id" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb06", + "name": "thirdType", + "desc": "二维码类型 spread(用户推广) product_spread(商品推广)" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4244, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/qrcode/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6906, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/routine/qrcode/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fafe", + "name": "addTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fafd", + "name": "id", + "desc": "微信二维码ID" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fafc", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fafb", + "name": "page", + "desc": "小程序页面路径带参数" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fafa", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf9", + "name": "qrcodeUrl", + "desc": "小程序二维码路径" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf8", + "name": "status", + "desc": "状态 0不可用 1可用" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf7", + "name": "thirdId", + "desc": "用户id" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf6", + "name": "thirdType", + "desc": "二维码类型 spread(用户推广) product_spread(商品推广)" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\",\n \"description\": \"添加时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信二维码ID\"\n },\n \"page\": {\n \"type\": \"string\",\n \"description\": \"小程序页面路径带参数\"\n },\n \"qrcodeUrl\": {\n \"type\": \"string\",\n \"description\": \"小程序二维码路径\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态 0不可用 1可用\"\n },\n \"thirdId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"thirdType\": {\n \"type\": \"string\",\n \"description\": \"二维码类型 spread(用户推广) product_spread(商品推广)\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"RoutineQrcode对象\",\n \"description\": \"小程序二维码管理表\",\n \"$$ref\": \"#/definitions/RoutineQrcode对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«RoutineQrcode对象»\",\n \"$$ref\": \"#/definitions/CommonPage«RoutineQrcode对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«RoutineQrcode对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«RoutineQrcode对象»»\"\n}", + "project_id": 52, + "catid": 4244, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/qrcode/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6902, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/routine/qrcode/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914faf4", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4244, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/qrcode/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6908, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/routine/qrcode/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914faff", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fb04", + "name": "page", + "desc": "小程序页面路径带参数" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fb03", + "name": "qrcodeUrl", + "desc": "小程序二维码路径" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fb02", + "name": "status", + "desc": "状态 0不可用 1可用" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fb01", + "name": "thirdId", + "desc": "用户id" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fb00", + "name": "thirdType", + "desc": "二维码类型 spread(用户推广) product_spread(商品推广)" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4244, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/qrcode/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6904, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/routine/qrcode/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914faf5", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\",\n \"description\": \"添加时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信二维码ID\"\n },\n \"page\": {\n \"type\": \"string\",\n \"description\": \"小程序页面路径带参数\"\n },\n \"qrcodeUrl\": {\n \"type\": \"string\",\n \"description\": \"小程序二维码路径\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态 0不可用 1可用\"\n },\n \"thirdId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"thirdType\": {\n \"type\": \"string\",\n \"description\": \"二维码类型 spread(用户推广) product_spread(商品推广)\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"RoutineQrcode对象\",\n \"description\": \"小程序二维码管理表\",\n \"$$ref\": \"#/definitions/RoutineQrcode对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«RoutineQrcode对象»\",\n \"$$ref\": \"#/definitions/CommonResult«RoutineQrcode对象»\"\n}", + "project_id": 52, + "catid": 4244, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 微信二维码管理", + "desc": "Wechat Qrcode Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/qrcode/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6880, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/qrcode/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faca", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fad4", + "name": "addTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fad3", + "name": "expireSeconds", + "desc": "二维码有效时间" + }, + { + "required": "1", + "_id": "5f35e8adbc7e8e560914fad2", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fad1", + "name": "qrcodeUrl", + "desc": "微信二维码url" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fad0", + "name": "scan", + "desc": "被扫的次数" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914facf", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914face", + "name": "thirdId", + "desc": "用户id" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914facd", + "name": "thirdType", + "desc": "二维码类型" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914facc", + "name": "ticket", + "desc": "二维码参数" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914facb", + "name": "url", + "desc": "微信访问url" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4253, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/qrcode/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6876, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/qrcode/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fabf", + "name": "addTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fabe", + "name": "expireSeconds", + "desc": "二维码有效时间" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fabd", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fabc", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fabb", + "name": "qrcodeUrl", + "desc": "微信二维码url" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914faba", + "name": "scan", + "desc": "被扫的次数" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab9", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab8", + "name": "thirdId", + "desc": "用户id" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab7", + "name": "thirdType", + "desc": "二维码类型" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab6", + "name": "ticket", + "desc": "二维码参数" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab5", + "name": "url", + "desc": "微信访问url" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"expireSeconds\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"二维码有效时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信二维码ID\"\n },\n \"qrcodeUrl\": {\n \"type\": \"string\",\n \"description\": \"微信二维码url\"\n },\n \"scan\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"被扫的次数\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"thirdId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"thirdType\": {\n \"type\": \"string\",\n \"description\": \"二维码类型\"\n },\n \"ticket\": {\n \"type\": \"string\",\n \"description\": \"二维码参数\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"微信访问url\"\n }\n },\n \"title\": \"WechatQrcode对象\",\n \"description\": \"微信二维码管理表\",\n \"$$ref\": \"#/definitions/WechatQrcode对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«WechatQrcode对象»\",\n \"$$ref\": \"#/definitions/CommonPage«WechatQrcode对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«WechatQrcode对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«WechatQrcode对象»»\"\n}", + "project_id": 52, + "catid": 4253, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/qrcode/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6872, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/qrcode/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914fab3", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4253, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/qrcode/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6878, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/qrcode/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914fac0", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac9", + "name": "addTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac8", + "name": "expireSeconds", + "desc": "二维码有效时间" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac7", + "name": "qrcodeUrl", + "desc": "微信二维码url" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac6", + "name": "scan", + "desc": "被扫的次数" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac5", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac4", + "name": "thirdId", + "desc": "用户id" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac3", + "name": "thirdType", + "desc": "二维码类型" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac2", + "name": "ticket", + "desc": "二维码参数" + }, + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fac1", + "name": "url", + "desc": "微信访问url" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4253, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/qrcode/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6874, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/qrcode/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914fab4", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"expireSeconds\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"二维码有效时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信二维码ID\"\n },\n \"qrcodeUrl\": {\n \"type\": \"string\",\n \"description\": \"微信二维码url\"\n },\n \"scan\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"被扫的次数\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"thirdId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"thirdType\": {\n \"type\": \"string\",\n \"description\": \"二维码类型\"\n },\n \"ticket\": {\n \"type\": \"string\",\n \"description\": \"二维码参数\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"微信访问url\"\n }\n },\n \"title\": \"WechatQrcode对象\",\n \"description\": \"微信二维码管理表\",\n \"$$ref\": \"#/definitions/WechatQrcode对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«WechatQrcode对象»\",\n \"$$ref\": \"#/definitions/CommonResult«WechatQrcode对象»\"\n}", + "project_id": 52, + "catid": 4253, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 微信关键字回复", + "desc": "Wechat Reply Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6854, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/keywords/reply/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faa8", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faa9", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"data\": {\n \"type\": \"string\",\n \"description\": \"回复数据\"\n },\n \"keywords\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"回复状态 0=不可用 1 =可用\"\n },\n \"type\": {\n \"type\": \"string\",\n \"example\": \"text\",\n \"description\": \"回复类型 text=文本 image =图片 news =图文 voice =音频\"\n }\n },\n \"title\": \"WechatReplyRequest对象\",\n \"description\": \"微信关键字回复表\",\n \"$$ref\": \"#/definitions/WechatReplyRequest对象\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6848, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/keywords/reply/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8acbc7e8e560914faa3", + "name": "keywords", + "desc": "关键字" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914faa2", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914faa1", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914faa0", + "name": "type", + "desc": "回复类型 text=文本 image =图片 news =图文 voice =音频" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"data\": {\n \"type\": \"string\",\n \"description\": \"回复数据\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信关键字回复id\"\n },\n \"keywords\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0=不可用 1 =可用\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"回复类型\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"WechatReply对象\",\n \"description\": \"微信关键字回复表\",\n \"$$ref\": \"#/definitions/WechatReply对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«WechatReply对象»\",\n \"$$ref\": \"#/definitions/CommonPage«WechatReply对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«WechatReply对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«WechatReply对象»»\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6842, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/keywords/reply/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa9d", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6850, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/keywords/reply/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914faa4", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"data\": {\n \"type\": \"string\",\n \"description\": \"回复数据\"\n },\n \"keywords\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"回复状态 0=不可用 1 =可用\"\n },\n \"type\": {\n \"type\": \"string\",\n \"example\": \"text\",\n \"description\": \"回复类型 text=文本 image =图片 news =图文 voice =音频\"\n }\n },\n \"title\": \"WechatReplyRequest对象\",\n \"description\": \"微信关键字回复表\",\n \"$$ref\": \"#/definitions/WechatReplyRequest对象\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/info/keywords", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6846, + "method": "GET", + "title": "根据关键字查询数据", + "path": "/api/admin/wechat/keywords/reply/info/keywords", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa9f", + "name": "keywords", + "desc": "keywords" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"data\": {\n \"type\": \"string\",\n \"description\": \"回复数据\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信关键字回复id\"\n },\n \"keywords\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0=不可用 1 =可用\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"回复类型\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"WechatReply对象\",\n \"description\": \"微信关键字回复表\",\n \"$$ref\": \"#/definitions/WechatReply对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«WechatReply对象»\",\n \"$$ref\": \"#/definitions/CommonResult«WechatReply对象»\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/status", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6852, + "method": "POST", + "title": "状态", + "path": "/api/admin/wechat/keywords/reply/status", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914faa5", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914faa7", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8acbc7e8e560914faa6", + "name": "status", + "desc": "status" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/keywords/reply/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6844, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/keywords/reply/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa9e", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"data\": {\n \"type\": \"string\",\n \"description\": \"回复数据\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信关键字回复id\"\n },\n \"keywords\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0=不可用 1 =可用\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"回复类型\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"WechatReply对象\",\n \"description\": \"微信关键字回复表\",\n \"$$ref\": \"#/definitions/WechatReply对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«WechatReply对象»\",\n \"$$ref\": \"#/definitions/CommonResult«WechatReply对象»\"\n}", + "project_id": 52, + "catid": 4262, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 微信用户", + "desc": "Wechat User Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/user/push", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6936, + "method": "GET", + "title": "消息推送", + "path": "/api/admin/wechat/user/push", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb2f", + "name": "newsId", + "desc": "newsId" + }, + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb2e", + "name": "userId", + "desc": "userId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4271, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 微信用户标签", + "desc": "We Chat User Tags Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/user/tags/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6952, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/user/tags/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8b0bc7e8e560914fb3e", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb40", + "name": "id", + "desc": "标签ID" + }, + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb3f", + "name": "name", + "desc": "标签名称" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6946, + "method": "GET", + "title": "列表", + "path": "/api/admin/wechat/user/tags/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb37", + "name": "isAsync", + "desc": "是否同步微信数据, true是,false否" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/create", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6938, + "method": "POST", + "title": "创建", + "path": "/api/admin/wechat/user/tags/create", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb30", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb31", + "name": "name", + "desc": "标签名称" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6940, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/user/tags/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb32", + "name": "id", + "desc": "标签ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/memberBatchUnTags", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6950, + "method": "POST", + "title": "批量为用户取消标签", + "path": "/api/admin/wechat/user/tags/memberBatchUnTags", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8b0bc7e8e560914fb3b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb3d", + "name": "id", + "desc": "标签ID" + }, + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb3c", + "name": "openIdList", + "desc": "用户openId数组" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/memberBatchTags", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6948, + "method": "POST", + "title": "批量为用户打标签", + "path": "/api/admin/wechat/user/tags/memberBatchTags", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8b0bc7e8e560914fb38", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb3a", + "name": "id", + "desc": "标签ID" + }, + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb39", + "name": "openIdList", + "desc": "用户openId数组" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/getUserListById", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6944, + "method": "GET", + "title": "获取标签下粉丝列表", + "path": "/api/admin/wechat/user/tags/getUserListById", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb36", + "name": "id", + "desc": "标签ID" + }, + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb35", + "name": "nextOpenId", + "desc": "第一个拉取的OPENID,不填默认从头开始拉取" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/tags/getTagsListByUserId", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6942, + "method": "GET", + "title": "获取用户身上的标签列表", + "path": "/api/admin/wechat/user/tags/getTagsListByUserId", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb34", + "name": "isAsync", + "desc": "是否同步微信数据, true是,false否" + }, + { + "required": "0", + "_id": "5f35e8b0bc7e8e560914fb33", + "name": "openId", + "desc": "用户openId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4280, + "uid": 93, + "add_time": 1597368496, + "up_time": 1597368496, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 用户行为记录", + "desc": "Wechat Message Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/user/log/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6934, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/user/log/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb28", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb2d", + "name": "addTime", + "desc": "操作时间" + }, + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb2c", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb2b", + "name": "openid", + "desc": "用户openid" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb2a", + "name": "result", + "desc": "操作详细记录" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb29", + "name": "type", + "desc": "操作类型" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4289, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/log/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6930, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/user/log/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb22", + "name": "addTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb21", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb20", + "name": "openid", + "desc": "用户openid" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb1f", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb1e", + "name": "result", + "desc": "操作详细记录" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb1d", + "name": "type", + "desc": "操作类型" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户行为记录id\"\n },\n \"openid\": {\n \"type\": \"string\",\n \"description\": \"用户openid\"\n },\n \"result\": {\n \"type\": \"string\",\n \"description\": \"操作详细记录\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"操作类型\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"WechatMessage对象\",\n \"description\": \"用户行为记录表\",\n \"$$ref\": \"#/definitions/WechatMessage对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«WechatMessage对象»\",\n \"$$ref\": \"#/definitions/CommonPage«WechatMessage对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«WechatMessage对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«WechatMessage对象»»\"\n}", + "project_id": 52, + "catid": 4289, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/log/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6926, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/user/log/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb1b", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4289, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/log/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6932, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/user/log/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb23", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb27", + "name": "addTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb26", + "name": "openid", + "desc": "用户openid" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb25", + "name": "result", + "desc": "操作详细记录" + }, + { + "required": "0", + "_id": "5f35e8afbc7e8e560914fb24", + "name": "type", + "desc": "操作类型" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4289, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/user/log/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6928, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/user/log/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8afbc7e8e560914fb1c", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户行为记录id\"\n },\n \"openid\": {\n \"type\": \"string\",\n \"description\": \"用户openid\"\n },\n \"result\": {\n \"type\": \"string\",\n \"description\": \"操作详细记录\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"操作类型\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"WechatMessage对象\",\n \"description\": \"用户行为记录表\",\n \"$$ref\": \"#/definitions/WechatMessage对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«WechatMessage对象»\",\n \"$$ref\": \"#/definitions/CommonResult«WechatMessage对象»\"\n}", + "project_id": 52, + "catid": 4289, + "uid": 93, + "add_time": 1597368495, + "up_time": 1597368495, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 素材", + "desc": "Wechat Media Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/media/upload", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6858, + "method": "POST", + "title": "上传", + "path": "/api/admin/wechat/media/upload", + "req_params": [], + "req_body_form": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faab", + "name": "media", + "desc": "待上传素材图片文件", + "type": "file" + } + ], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faac", + "name": "Content-Type", + "value": "multipart/form-data" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faad", + "name": "type", + "desc": "媒体文件类型,分别有图片(image)、语音(voice" + } + ], + "req_body_type": "form", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,string»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,string»»\"\n}", + "project_id": 52, + "catid": 4298, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/media/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6856, + "method": "GET", + "title": "根据素材id查询素材", + "path": "/api/admin/wechat/media/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faaa", + "name": "mediaId", + "desc": "mediaId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 52, + "catid": 4298, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 菜单管理", + "desc": "We Chat Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/menu/public/self/create", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6866, + "method": "POST", + "title": "保存个性化菜单", + "path": "/api/admin/wechat/menu/public/self/create", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914fab0", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "req_body_other": "{\n \"type\": \"string\"\n}", + "project_id": 52, + "catid": 4307, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/menu/public/create", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6860, + "method": "POST", + "title": "保存自定义菜单", + "path": "/api/admin/wechat/menu/public/create", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8adbc7e8e560914faae", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "req_body_other": "{\n \"type\": \"string\"\n}", + "project_id": 52, + "catid": 4307, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/menu/public/self/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6868, + "method": "GET", + "title": "删除个性化菜单", + "path": "/api/admin/wechat/menu/public/self/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab1", + "name": "menuId", + "desc": "菜单ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4307, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/menu/public/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6862, + "method": "GET", + "title": "删除自定义菜单", + "path": "/api/admin/wechat/menu/public/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4307, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/menu/public/self/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6870, + "method": "GET", + "title": "获取个性化菜单", + "path": "/api/admin/wechat/menu/public/self/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8adbc7e8e560914fab2", + "name": "isAsync", + "desc": "是否同步微信数据, true是,false否" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4307, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/menu/public/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6864, + "method": "GET", + "title": "获取自定义菜单", + "path": "/api/admin/wechat/menu/public/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8adbc7e8e560914faaf", + "name": "isAsync", + "desc": "是否同步微信数据, true是,false否" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4307, + "uid": 93, + "add_time": 1597368493, + "up_time": 1597368493, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 表单id表记录", + "desc": "Routine Form Id Controller", + "add_time": 1597368469, + "up_time": 1597368469, + "list": [ + { + "query_path": { + "path": "/api/admin/wechat/routine/form/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6900, + "method": "POST", + "title": "修改", + "path": "/api/admin/wechat/routine/form/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914faee", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf3", + "name": "formId", + "desc": "表单ID" + }, + { + "required": "1", + "_id": "5f35e8aebc7e8e560914faf2", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf1", + "name": "status", + "desc": "状态1 未使用 2不能使用" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faf0", + "name": "stopTime", + "desc": "表单ID失效时间" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faef", + "name": "uid", + "desc": "用户uid" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4316, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/form/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6896, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/wechat/routine/form/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae8", + "name": "formId", + "desc": "表单ID" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae7", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae6", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae5", + "name": "status", + "desc": "状态1 未使用 2不能使用" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae4", + "name": "stopTime", + "desc": "表单ID失效时间" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914fae3", + "name": "uid", + "desc": "用户uid" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"formId\": {\n \"type\": \"string\",\n \"description\": \"表单ID\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单ID表ID\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态1 未使用 2不能使用\"\n },\n \"stopTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单ID失效时间\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"RoutineFormId对象\",\n \"description\": \"表单id表记录表\",\n \"$$ref\": \"#/definitions/RoutineFormId对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«RoutineFormId对象»\",\n \"$$ref\": \"#/definitions/CommonPage«RoutineFormId对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«RoutineFormId对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«RoutineFormId对象»»\"\n}", + "project_id": 52, + "catid": 4316, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/form/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6892, + "method": "GET", + "title": "删除", + "path": "/api/admin/wechat/routine/form/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fae1", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4316, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/form/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6898, + "method": "POST", + "title": "新增", + "path": "/api/admin/wechat/routine/form/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fae9", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faed", + "name": "formId", + "desc": "表单ID" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faec", + "name": "status", + "desc": "状态1 未使用 2不能使用" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faeb", + "name": "stopTime", + "desc": "表单ID失效时间" + }, + { + "required": "0", + "_id": "5f35e8aebc7e8e560914faea", + "name": "uid", + "desc": "用户uid" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4316, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/wechat/routine/form/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6894, + "method": "GET", + "title": "详情", + "path": "/api/admin/wechat/routine/form/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8aebc7e8e560914fae2", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"formId\": {\n \"type\": \"string\",\n \"description\": \"表单ID\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单ID表ID\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态1 未使用 2不能使用\"\n },\n \"stopTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单ID失效时间\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"RoutineFormId对象\",\n \"description\": \"表单id表记录表\",\n \"$$ref\": \"#/definitions/RoutineFormId对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«RoutineFormId对象»\",\n \"$$ref\": \"#/definitions/CommonResult«RoutineFormId对象»\"\n}", + "project_id": 52, + "catid": 4316, + "uid": 93, + "add_time": 1597368494, + "up_time": 1597368494, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "支付回调", + "desc": "Callback Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/payment/callback/wechat", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": false, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6468, + "method": "POST", + "title": "微信支付回调", + "path": "/api/admin/payment/callback/wechat", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f880", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "raw", + "res_body": "OK", + "req_body_other": "{\n \"type\": \"string\"\n}", + "project_id": 52, + "catid": 4325, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/payment/callback/alipay", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": false, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6466, + "method": "POST", + "title": "支付宝支付回调 ", + "path": "/api/admin/payment/callback/alipay", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f87f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "raw", + "res_body": "OK", + "req_body_other": "{\n \"type\": \"string\"\n}", + "project_id": 52, + "catid": 4325, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "文章管理", + "desc": "Article Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/article/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6394, + "method": "POST", + "title": "修改", + "path": "/api/admin/article/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f7fe", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f7ff", + "name": "id", + "desc": "文章ID" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"author\",\n \"cid\",\n \"content\",\n \"imageInput\",\n \"shareSynopsis\",\n \"shareTitle\",\n \"sort\",\n \"synopsis\",\n \"title\"\n ],\n \"properties\": {\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"imageInput\": {\n \"type\": \"string\",\n \"description\": \"文章图片\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"example\": true,\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"是否热门(小程序)\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"排序\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n }\n },\n \"title\": \"ArticleRequest对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleRequest对象\"\n}", + "project_id": 52, + "catid": 4334, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/article/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6390, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/article/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e897bc7e8e560914f7fc", + "name": "cid", + "desc": "分类id" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7fb", + "name": "hide", + "desc": "是否隐藏" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7fa", + "name": "isBanner", + "desc": "是否轮播图(小程序)" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f9", + "name": "isHaveMediaId", + "desc": "是否有微信素材媒体id" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f8", + "name": "isHot", + "desc": "是否热门(小程序)" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f7", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f6", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f5", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f4", + "name": "status", + "desc": "状态" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"categoryName\": {\n \"type\": \"string\",\n \"description\": \"分类\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"hide\": {\n \"type\": \"boolean\",\n \"description\": \"是否隐藏\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"文章管理ID\"\n },\n \"imageInput\": {\n \"type\": \"array\",\n \"description\": \"文章图片 前端用\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"imageInputs\": {\n \"type\": \"string\",\n \"description\": \"文章图片 后端用\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热门(小程序)\"\n },\n \"mediaId\": {\n \"type\": \"string\",\n \"description\": \"微信素材媒体id\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品关联id\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n },\n \"visit\": {\n \"type\": \"string\",\n \"description\": \"浏览次数\"\n }\n },\n \"title\": \"ArticleVo对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleVo对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ArticleVo对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ArticleVo对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ArticleVo对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ArticleVo对象»»\"\n}", + "project_id": 52, + "catid": 4334, + "uid": 93, + "add_time": 1597368471, + "up_time": 1597368471, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/article/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6386, + "method": "GET", + "title": "删除", + "path": "/api/admin/article/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f2", + "name": "id", + "desc": "文章ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4334, + "uid": 93, + "add_time": 1597368471, + "up_time": 1597368471, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/article/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6392, + "method": "POST", + "title": "新增", + "path": "/api/admin/article/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f7fd", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"author\",\n \"cid\",\n \"content\",\n \"imageInput\",\n \"shareSynopsis\",\n \"shareTitle\",\n \"sort\",\n \"synopsis\",\n \"title\"\n ],\n \"properties\": {\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"imageInput\": {\n \"type\": \"string\",\n \"description\": \"文章图片\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"example\": true,\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"是否热门(小程序)\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"排序\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n }\n },\n \"title\": \"ArticleRequest对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleRequest对象\"\n}", + "project_id": 52, + "catid": 4334, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/article/bind/product", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6384, + "method": "POST", + "title": "绑定产品", + "path": "/api/admin/article/bind/product", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e897bc7e8e560914f7ef", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f1", + "name": "id", + "desc": "文章ID" + }, + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f0", + "name": "productId", + "desc": "产品id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4334, + "uid": 93, + "add_time": 1597368471, + "up_time": 1597368471, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/article/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6388, + "method": "GET", + "title": "详情", + "path": "/api/admin/article/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e897bc7e8e560914f7f3", + "name": "id", + "desc": "文章ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"hide\": {\n \"type\": \"boolean\",\n \"description\": \"是否隐藏\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"文章管理ID\"\n },\n \"imageInput\": {\n \"type\": \"string\",\n \"description\": \"文章图片\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热门(小程序)\"\n },\n \"mediaId\": {\n \"type\": \"string\",\n \"description\": \"微信素材id\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品关联id\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n },\n \"visit\": {\n \"type\": \"string\",\n \"description\": \"浏览次数\"\n }\n },\n \"title\": \"Article对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/Article对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Article对象»\",\n \"$$ref\": \"#/definitions/CommonResult«Article对象»\"\n}", + "project_id": 52, + "catid": 4334, + "uid": 93, + "add_time": 1597368471, + "up_time": 1597368471, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "短信服务", + "desc": "Sms Record Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/sms/sendCode", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6490, + "method": "POST", + "title": " 发送短信", + "path": "/api/admin/sms/sendCode", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f89f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f8a0", + "name": "phone", + "desc": "手机号码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/sendCodeForRegister/{phone}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6492, + "method": "GET", + "title": "sendCodeForRegister", + "path": "/api/admin/sms/sendCodeForRegister/{phone}", + "req_params": [ + { + "_id": "5f35e89dbc7e8e560914f8a1", + "name": "phone", + "desc": "phone" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/login", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6478, + "method": "GET", + "title": "信息登录", + "path": "/api/admin/sms/login", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f88c", + "name": "account", + "desc": "账号" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f88b", + "name": "token", + "desc": "smsToken" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/islogin", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6476, + "method": "GET", + "title": "是否已经登录", + "path": "/api/admin/sms/islogin", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/logout", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6480, + "method": "GET", + "title": "注销", + "path": "/api/admin/sms/logout", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/temp/apply", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6494, + "method": "POST", + "title": "申请模板消息", + "path": "/api/admin/sms/temp/apply", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89ebc7e8e560914f8a2", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a5", + "name": "content", + "desc": "内容" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a4", + "name": "title", + "desc": "主题" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a3", + "name": "type", + "desc": "type (1=验证码 2=通知 3=推广)" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/record/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6486, + "method": "GET", + "title": "短信发送记录列表", + "path": "/api/admin/sms/record/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f897", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f896", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f895", + "name": "phone", + "desc": "接受短信的手机号" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f894", + "name": "recordId", + "desc": "发送记录id" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f893", + "name": "resultCode", + "desc": "状态码 null=全部,100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态, 134=无状态, 400黑名单" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f892", + "name": "uid", + "desc": "短信平台账号" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加记录ip\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"短信内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"短信发送记录编号\"\n },\n \"memo\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"接受短信的手机号\"\n },\n \"recordId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发送记录id\"\n },\n \"resultcode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态码 100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态\"\n },\n \"template\": {\n \"type\": \"string\",\n \"description\": \"短信模板ID\"\n },\n \"uid\": {\n \"type\": \"string\",\n \"description\": \"短信平台账号\"\n }\n },\n \"title\": \"SmsRecord对象\",\n \"description\": \"短信发送记录表\",\n \"$$ref\": \"#/definitions/SmsRecord对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SmsRecord对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SmsRecord对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SmsRecord对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SmsRecord对象»»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/config/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6472, + "method": "POST", + "title": "短信提醒开关保存", + "path": "/api/admin/sms/config/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f882", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f88a", + "name": "adminConfirmTakeOverSwitch", + "desc": "用户发起退款管理员短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f889", + "name": "adminLowerOrderSwitch", + "desc": "用户下单管理员短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f888", + "name": "adminPaySuccessSwitch", + "desc": "支付成功管理员短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f887", + "name": "adminRefundSwitch", + "desc": "用户确认收货管理员短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f886", + "name": "confirmTakeOverSwitch", + "desc": "确认收货短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f885", + "name": "deliverGoodsSwitch", + "desc": "发货短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f884", + "name": "lowerOrderSwitch", + "desc": "支付成功短信提醒" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f883", + "name": "priceRevisionSwitch", + "desc": "改价短信提醒" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/config/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6470, + "method": "POST", + "title": "短信提醒开关列表", + "path": "/api/admin/sms/config/list", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89cbc7e8e560914f881", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368476, + "up_time": 1597368476, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/temp/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6496, + "method": "GET", + "title": "短信模板列表", + "path": "/api/admin/sms/temp/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a9", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a8", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a7", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e89ebc7e8e560914f8a6", + "name": "title", + "desc": "名称" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6474, + "method": "GET", + "title": "短信用户信息", + "path": "/api/admin/sms/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/pay/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6482, + "method": "GET", + "title": "获取支付套餐列表", + "path": "/api/admin/sms/pay/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f88e", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f88d", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/pay/qrCode", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6484, + "method": "GET", + "title": "获取支付码", + "path": "/api/admin/sms/pay/qrCode", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f891", + "name": "mealId", + "desc": "套餐id" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f890", + "name": "payType", + "desc": "支付类型 weixin:微信支付/alipay:支付宝支付" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f88f", + "name": "price", + "desc": "价格" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/sms/register", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6488, + "method": "POST", + "title": "账号注册", + "path": "/api/admin/sms/register", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f898", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f89e", + "name": "account", + "desc": "账号" + }, + { + "required": "0", + "_id": "5f35e89dbc7e8e560914f89d", + "name": "code", + "desc": "验证码" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f89c", + "name": "domain", + "desc": "域名" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f89b", + "name": "password", + "desc": "密码" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f89a", + "name": "phone", + "desc": "手机号" + }, + { + "required": "1", + "_id": "5f35e89dbc7e8e560914f899", + "name": "sign", + "desc": "签名" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«JSONObject»\",\n \"$$ref\": \"#/definitions/CommonResult«JSONObject»\"\n}", + "project_id": 52, + "catid": 4343, + "uid": 93, + "add_time": 1597368477, + "up_time": 1597368477, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "统计 -- 主页", + "desc": "Home Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/statistics/home/chart/order", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6498, + "method": "GET", + "title": "30天订单量趋势", + "path": "/api/admin/statistics/home/chart/order", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/chart/order/week", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6502, + "method": "GET", + "title": "周订单量趋势", + "path": "/api/admin/statistics/home/chart/order/week", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/chart/order/year", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6504, + "method": "GET", + "title": "年订单量趋势", + "path": "/api/admin/statistics/home/chart/order/year", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6514, + "method": "GET", + "title": "新增用户", + "path": "/api/admin/statistics/home/user", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"count\": {\n \"type\": \"object\",\n \"description\": \"昨日新增量\"\n },\n \"dayRate\": {\n \"type\": \"object\",\n \"description\": \"日同比率\"\n },\n \"total\": {\n \"type\": \"object\",\n \"description\": \"总数\"\n },\n \"weekRate\": {\n \"type\": \"object\",\n \"description\": \"周同比率\"\n }\n },\n \"title\": \"HomeRateResponse对象\",\n \"description\": \"主页用户新增统计\",\n \"$$ref\": \"#/definitions/HomeRateResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HomeRateResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«HomeRateResponse对象»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/chart/order/month", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6500, + "method": "GET", + "title": "月订单量趋势", + "path": "/api/admin/statistics/home/chart/order/month", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/chart/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6506, + "method": "GET", + "title": "用户曲线图", + "path": "/api/admin/statistics/home/chart/user", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«object,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«object,object»»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/views", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6516, + "method": "GET", + "title": "用户访问量", + "path": "/api/admin/statistics/home/views", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"count\": {\n \"type\": \"object\",\n \"description\": \"昨日新增量\"\n },\n \"dayRate\": {\n \"type\": \"object\",\n \"description\": \"日同比率\"\n },\n \"total\": {\n \"type\": \"object\",\n \"description\": \"总数\"\n },\n \"weekRate\": {\n \"type\": \"object\",\n \"description\": \"周同比率\"\n }\n },\n \"title\": \"HomeRateResponse对象\",\n \"description\": \"主页用户新增统计\",\n \"$$ref\": \"#/definitions/HomeRateResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HomeRateResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«HomeRateResponse对象»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/chart/user/buy", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6508, + "method": "GET", + "title": "用户购买统计", + "path": "/api/admin/statistics/home/chart/user/buy", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,int»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,int»»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/order", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6510, + "method": "GET", + "title": "订单量", + "path": "/api/admin/statistics/home/order", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"count\": {\n \"type\": \"object\",\n \"description\": \"昨日新增量\"\n },\n \"dayRate\": {\n \"type\": \"object\",\n \"description\": \"日同比率\"\n },\n \"total\": {\n \"type\": \"object\",\n \"description\": \"总数\"\n },\n \"weekRate\": {\n \"type\": \"object\",\n \"description\": \"周同比率\"\n }\n },\n \"title\": \"HomeRateResponse对象\",\n \"description\": \"主页用户新增统计\",\n \"$$ref\": \"#/definitions/HomeRateResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HomeRateResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«HomeRateResponse对象»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/statistics/home/sales", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6512, + "method": "GET", + "title": "销售额", + "path": "/api/admin/statistics/home/sales", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"count\": {\n \"type\": \"object\",\n \"description\": \"昨日新增量\"\n },\n \"dayRate\": {\n \"type\": \"object\",\n \"description\": \"日同比率\"\n },\n \"total\": {\n \"type\": \"object\",\n \"description\": \"总数\"\n },\n \"weekRate\": {\n \"type\": \"object\",\n \"description\": \"周同比率\"\n }\n },\n \"title\": \"HomeRateResponse对象\",\n \"description\": \"主页用户新增统计\",\n \"$$ref\": \"#/definitions/HomeRateResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HomeRateResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«HomeRateResponse对象»\"\n}", + "project_id": 52, + "catid": 4352, + "uid": 93, + "add_time": 1597368478, + "up_time": 1597368478, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "营销 -- 优惠券", + "desc": "Store Coupon Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/marketing/coupon/update/status", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6460, + "method": "POST", + "title": "修改", + "path": "/api/admin/marketing/coupon/update/status", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f872", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f874", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e89abc7e8e560914f873", + "name": "status", + "desc": "status" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4361, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/marketing/coupon/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6456, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/marketing/coupon/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89abc7e8e560914f870", + "name": "isDel", + "desc": "是否删除 状态(0:否,1:是)" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f86f", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f86e", + "name": "name", + "desc": "优惠券名称" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f86d", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f86c", + "name": "primaryKey", + "desc": "所属商品id / 分类id" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f86b", + "name": "status", + "desc": "状态(0:关闭,1:开启)" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f86a", + "name": "type", + "desc": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f869", + "name": "useType", + "desc": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"primaryKey\"\n ],\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"day\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"天数\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券表ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除 状态(0:否,1:是)\"\n },\n \"isFixedTime\": {\n \"type\": \"boolean\",\n \"description\": \"是否固定使用时间, 默认0 否, 1是\"\n },\n \"isLimited\": {\n \"type\": \"boolean\",\n \"description\": \"是否限量, 默认0 不限量, 1限量\"\n },\n \"lastTotal\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"剩余数量\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费,0代表不限制\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"兑换的优惠券面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"receiveEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取结束时间\"\n },\n \"receiveStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取开始时间\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:关闭,1:开启)\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发放总数\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券类型 1 手动领取, 2 新人券, 3 赠送券\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"useEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 结束时间\"\n },\n \"useStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 开始时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCoupon对象\",\n \"description\": \"优惠券表\",\n \"$$ref\": \"#/definitions/StoreCoupon对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreCoupon对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreCoupon对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreCoupon对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreCoupon对象»»\"\n}", + "project_id": 52, + "catid": 4361, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/marketing/coupon/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6458, + "method": "POST", + "title": "新增", + "path": "/api/admin/marketing/coupon/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f871", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"isFixedTime\",\n \"isForever\",\n \"isLimited\",\n \"minPrice\",\n \"money\",\n \"name\",\n \"primaryKey\"\n ],\n \"properties\": {\n \"day\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"天数\"\n },\n \"isFixedTime\": {\n \"type\": \"boolean\",\n \"description\": \"请设置是否固定使用时间, 默认0 否, 1是\"\n },\n \"isForever\": {\n \"type\": \"boolean\",\n \"description\": \"是否固定领取时间, 默认0 否, 1是\"\n },\n \"isLimited\": {\n \"type\": \"boolean\",\n \"description\": \"是否限量, 默认0 否, 1是\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费,0代表不限制\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"兑换的优惠券面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"receiveEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取结束时间\"\n },\n \"receiveStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取开始时间\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:关闭,1:开启)\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发放总数\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券类型 1 手动领取, 2 新人券, 3 赠送券\"\n },\n \"useEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 结束时间\"\n },\n \"useStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 开始时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCouponRequest对象\",\n \"description\": \"优惠券表\",\n \"$$ref\": \"#/definitions/StoreCouponRequest对象\"\n}", + "project_id": 52, + "catid": 4361, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/marketing/coupon/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6454, + "method": "POST", + "title": "详情", + "path": "/api/admin/marketing/coupon/info", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f867", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f868", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"category\": {\n \"type\": \"array\",\n \"description\": \"分类信息\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 \"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"Category对象\",\n \"description\": \"分类表\",\n \"$$ref\": \"#/definitions/Category对象\"\n }\n },\n \"coupon\": {\n \"type\": \"object\",\n \"required\": [\n \"isFixedTime\",\n \"isForever\",\n \"isLimited\",\n \"minPrice\",\n \"money\",\n \"name\",\n \"primaryKey\"\n ],\n \"properties\": {\n \"day\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"天数\"\n },\n \"isFixedTime\": {\n \"type\": \"boolean\",\n \"description\": \"请设置是否固定使用时间, 默认0 否, 1是\"\n },\n \"isForever\": {\n \"type\": \"boolean\",\n \"description\": \"是否固定领取时间, 默认0 否, 1是\"\n },\n \"isLimited\": {\n \"type\": \"boolean\",\n \"description\": \"是否限量, 默认0 否, 1是\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费,0代表不限制\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"兑换的优惠券面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"receiveEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取结束时间\"\n },\n \"receiveStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取开始时间\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:关闭,1:开启)\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发放总数\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券类型 1 手动领取, 2 新人券, 3 赠送券\"\n },\n \"useEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 结束时间\"\n },\n \"useStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 开始时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCouponRequest对象\",\n \"description\": \"优惠券表\",\n \"$$ref\": \"#/definitions/StoreCouponRequest对象\"\n },\n \"product\": {\n \"type\": \"array\",\n \"description\": \"商品信息\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProduct对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProduct对象\"\n }\n }\n },\n \"title\": \"StoreCouponInfoResponse对象\",\n \"description\": \"优惠券详情\",\n \"$$ref\": \"#/definitions/StoreCouponInfoResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreCouponInfoResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreCouponInfoResponse对象»\"\n}", + "project_id": 52, + "catid": 4361, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "营销 -- 优惠券 -- 领取记录", + "desc": "Store Coupon User Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/marketing/coupon/user/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6462, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/marketing/coupon/user/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89abc7e8e560914f87b", + "name": "couponId", + "desc": "优惠券id" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f87a", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f879", + "name": "minPrice", + "desc": "最低消费多少金额可用优惠券" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f878", + "name": "name", + "desc": "优惠券名称" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f877", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f876", + "name": "status", + "desc": "状态(0:未使用,1:已使用, 2:已过期)" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f875", + "name": "uid", + "desc": "优惠券所属用户" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"primaryKey\"\n ],\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"cid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"兑换的项目id\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券发布id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"endTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"过期时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"id\"\n },\n \"isValid\": {\n \"type\": \"boolean\",\n \"description\": \"用户头像\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费多少金额可用优惠券\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"优惠券的面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"startTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"开始使用时间\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态(0:未使用,1:已使用, 2:已失效)\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"获取方式\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"领取人id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"useTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"使用时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCouponUserResponse对象\",\n \"description\": \"优惠券记录表\",\n \"$$ref\": \"#/definitions/StoreCouponUserResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreCouponUserResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreCouponUserResponse对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreCouponUserResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreCouponUserResponse对象»»\"\n}", + "project_id": 52, + "catid": 4370, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/marketing/coupon/user/receive", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6464, + "method": "POST", + "title": "领券", + "path": "/api/admin/marketing/coupon/user/receive", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89abc7e8e560914f87c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e89abc7e8e560914f87e", + "name": "couponId", + "desc": "优惠券发布id" + }, + { + "required": "0", + "_id": "5f35e89abc7e8e560914f87d", + "name": "uid", + "desc": "领取人id, 多个id逗号分割" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4370, + "uid": 93, + "add_time": 1597368474, + "up_time": 1597368474, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "订单", + "desc": "Store Order Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/store/order/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6556, + "method": "POST", + "title": "修改订单", + "path": "/api/admin/store/order/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8de", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8df", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"gainIntegral\": {\n \"type\": \"number\",\n \"description\": \"消费赚取积分\"\n },\n \"payPostage\": {\n \"type\": \"number\",\n \"description\": \"支付邮费\"\n },\n \"payPrice\": {\n \"type\": \"number\",\n \"description\": \"实际支付金额\"\n },\n \"totalPostage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"totalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n }\n },\n \"title\": \"StoreOrderRequest对象\",\n \"description\": \"订单修改\",\n \"$$ref\": \"#/definitions/StoreOrderRequest对象\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6536, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store/order/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8be", + "name": "isDel", + "desc": "是否删除" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8bd", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8bc", + "name": "orderId", + "desc": "订单号" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8bb", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8ba", + "name": "status", + "desc": "订单状态(all 总数; 未支付 unPaid; 未发货 notShipped;待收货 spike;待评价 bargain;已完成 complete;待核销 toBeWrittenOff;退款中:refunding;已退款:refunded;已删除:deleted" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8b9", + "name": "timeRage", + "desc": "创建时间区间" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8b8", + "name": "uid", + "desc": "用户id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"list\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"backIntegral\": {\n \"type\": \"number\",\n \"description\": \"给用户退了多少积分\"\n },\n \"clerkName\": {\n \"type\": \"string\",\n \"description\": \"店员名称\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"gainIntegral\": {\n \"type\": \"number\",\n \"description\": \"消费赚取积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isSystemDel\": {\n \"type\": \"boolean\",\n \"description\": \"后台是否删除\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"paid\": {\n \"type\": \"boolean\",\n \"description\": \"支付状态\"\n },\n \"payPostage\": {\n \"type\": \"number\",\n \"description\": \"支付邮费\"\n },\n \"payPrice\": {\n \"type\": \"number\",\n \"description\": \"实际支付金额\"\n },\n \"payTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"支付时间\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"payTypeStr\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"productList\": {\n \"type\": \"array\",\n \"description\": \"商品信息\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"info\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\"\n },\n \"attrStatus\": {\n \"type\": \"boolean\",\n \"description\": \"商品是否有效\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级分佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级分佣\"\n },\n \"cartNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品数量\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id\"\n },\n \"costPrice\": {\n \"type\": \"number\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"购物车表ID\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否为立即购买\"\n },\n \"isReply\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"productAttrUnique\": {\n \"type\": \"string\",\n \"description\": \"商品属性\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"productInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"string\",\n \"description\": \"产品属性值和属性名对应关系\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValue对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValue对象\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductCartProductInfoResponse对象\",\n \"description\": \"商品信息,购物车列表使用\",\n \"$$ref\": \"#/definitions/StoreProductCartProductInfoResponse对象\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"truePrice\": {\n \"type\": \"number\"\n },\n \"trueStock\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"vipTruePrice\": {\n \"type\": \"number\"\n }\n },\n \"title\": \"StoreCartResponse\",\n \"description\": \"购物车ListResponse\",\n \"$$ref\": \"#/definitions/StoreCartResponse\"\n },\n \"orderId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一id\"\n }\n },\n \"title\": \"StoreOrderInfoVo对象\",\n \"description\": \"订单购物详情表\",\n \"$$ref\": \"#/definitions/StoreOrderInfoVo对象\"\n }\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"用户姓名\"\n },\n \"refundPrice\": {\n \"type\": \"number\",\n \"description\": \"退款金额\"\n },\n \"refundReason\": {\n \"type\": \"string\",\n \"description\": \"不退款的理由\"\n },\n \"refundReasonTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"退款时间\"\n },\n \"refundReasonWap\": {\n \"type\": \"string\",\n \"description\": \"前台退款原因\"\n },\n \"refundReasonWapExplain\": {\n \"type\": \"string\",\n \"description\": \"退款用户说明\"\n },\n \"refundReasonWapImg\": {\n \"type\": \"string\",\n \"description\": \"退款图片\"\n },\n \"remark\": {\n \"type\": \"string\",\n \"description\": \"管理员备注\"\n },\n \"spreadInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"推广人姓名\"\n }\n },\n \"title\": \"StoreOrderSpreadInfoResponse对象\",\n \"description\": \"推广人信息\",\n \"$$ref\": \"#/definitions/StoreOrderSpreadInfoResponse对象\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)\"\n },\n \"statusStr\": {\n \"type\": \"object\",\n \"description\": \"订单状态\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"totalPostage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"totalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"useIntegral\": {\n \"type\": \"number\",\n \"description\": \"使用积分\"\n },\n \"userPhone\": {\n \"type\": \"string\",\n \"description\": \"用户电话\"\n }\n },\n \"title\": \"StoreOrderItemResponse对象\",\n \"description\": \"核销订单\",\n \"$$ref\": \"#/definitions/StoreOrderItemResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreOrderItemResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreOrderItemResponse对象»\"\n },\n \"status\": {\n \"type\": \"object\",\n \"properties\": {\n \"all\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"总数\"\n },\n \"bargain\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"待评价\"\n },\n \"complete\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"交易完成\"\n },\n \"deleted\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"已删除\"\n },\n \"notShipped\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"未发货\"\n },\n \"refunded\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"已退款\"\n },\n \"refunding\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"退款中\"\n },\n \"spike\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"待收货\"\n },\n \"toBeWrittenOff\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"待核销\"\n },\n \"unPaid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"未支付\"\n }\n },\n \"title\": \"StoreOrderCountItemResponse对象\",\n \"description\": \"订单状态数量\",\n \"$$ref\": \"#/definitions/StoreOrderCountItemResponse对象\"\n },\n \"top\": {\n \"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"type\": \"number\",\n \"description\": \"订单金额\"\n },\n \"count\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单数量\"\n },\n \"weChatAmount\": {\n \"type\": \"number\",\n \"description\": \"微信支付金额\"\n },\n \"yueAmount\": {\n \"type\": \"number\",\n \"description\": \"余额支付\"\n }\n },\n \"title\": \"StoreOrderTopItemResponse对象\",\n \"description\": \"订单九宫格数据\",\n \"$$ref\": \"#/definitions/StoreOrderTopItemResponse对象\"\n }\n },\n \"title\": \"StoreOrderCountResponse对象\",\n \"description\": \"订单数量\",\n \"$$ref\": \"#/definitions/StoreOrderCountResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreOrderCountResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreOrderCountResponse对象»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6530, + "method": "GET", + "title": "删除", + "path": "/api/admin/store/order/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8b5", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/send", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6544, + "method": "GET", + "title": "发送货", + "path": "/api/admin/store/order/send", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8ca", + "name": "expressCode", + "desc": "快递单号" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8c9", + "name": "expressId", + "desc": "快递公司" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8c8", + "name": "id", + "desc": "订单ID" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8c7", + "name": "type", + "desc": "类型, 1,2,3" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/mark", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6538, + "method": "POST", + "title": "备注", + "path": "/api/admin/store/order/mark", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8bf", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8c1", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8c0", + "name": "mark", + "desc": "mark" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/getLogisticsInfo", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6532, + "method": "GET", + "title": "快递查询", + "path": "/api/admin/store/order/getLogisticsInfo", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8b6", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"courier\": {\n \"type\": \"string\",\n \"description\": \"快递员 或 快递站(没有则为空\"\n },\n \"courierPhone\": {\n \"type\": \"string\",\n \"description\": \"快递员电话 (没有则为空)\"\n },\n \"deliverystatus\": {\n \"type\": \"string\",\n \"description\": \"快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 */\"\n },\n \"expName\": {\n \"type\": \"string\",\n \"description\": \"快递公司名称\"\n },\n \"expPhone\": {\n \"type\": \"string\",\n \"description\": \"快递公司电话\"\n },\n \"expSite\": {\n \"type\": \"string\",\n \"description\": \"快递公司官网\"\n },\n \"issign\": {\n \"type\": \"string\",\n \"description\": \"是否签收\"\n },\n \"list\": {\n \"type\": \"array\",\n \"description\": \"快递运送轨迹\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"description\": \"日志\"\n },\n \"time\": {\n \"type\": \"string\",\n \"description\": \"时间\"\n }\n },\n \"title\": \"LogisticsResultListVo对象\",\n \"description\": \"快递轨迹\",\n \"$$ref\": \"#/definitions/LogisticsResultListVo对象\"\n }\n },\n \"logo\": {\n \"type\": \"string\",\n \"description\": \"快递公司LOGO\"\n },\n \"number\": {\n \"type\": \"string\",\n \"description\": \"快递单号\"\n },\n \"takeTime\": {\n \"type\": \"string\",\n \"description\": \"发货到收货消耗时长 (截止最新轨迹)\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"快递简写\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"description\": \"快递轨迹信息最新时间 \"\n }\n },\n \"title\": \"LogisticsResultVo对象\",\n \"description\": \"快递接口返回数据\",\n \"$$ref\": \"#/definitions/LogisticsResultVo对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«LogisticsResultVo对象»\",\n \"$$ref\": \"#/definitions/CommonResult«LogisticsResultVo对象»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/refund/refuse", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6542, + "method": "GET", + "title": "拒绝退款", + "path": "/api/admin/store/order/refund/refuse", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8c6", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8c5", + "name": "reason", + "desc": "reason" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6534, + "method": "GET", + "title": "详情", + "path": "/api/admin/store/order/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8b7", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"backIntegral\": {\n \"type\": \"number\",\n \"description\": \"给用户退了多少积分\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"clerkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"店员id\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团商品id0一般商品\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券id\"\n },\n \"couponPrice\": {\n \"type\": \"number\",\n \"description\": \"优惠券金额\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"deductionPrice\": {\n \"type\": \"number\",\n \"description\": \"抵扣金额\"\n },\n \"deliveryId\": {\n \"type\": \"string\",\n \"description\": \"快递单号/手机号\"\n },\n \"deliveryName\": {\n \"type\": \"string\",\n \"description\": \"快递名称/送货人姓名\"\n },\n \"deliveryType\": {\n \"type\": \"string\",\n \"description\": \"发货类型\"\n },\n \"freightPrice\": {\n \"type\": \"number\",\n \"description\": \"运费金额\"\n },\n \"gainIntegral\": {\n \"type\": \"number\",\n \"description\": \"消费赚取积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"isChannel\": {\n \"type\": \"boolean\",\n \"description\": \"支付渠道(0微信公众号1微信小程序)\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isMerCheck\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"isRemind\": {\n \"type\": \"boolean\",\n \"description\": \"消息提醒\"\n },\n \"isSystemDel\": {\n \"type\": \"boolean\",\n \"description\": \"后台是否删除\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户ID\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"paid\": {\n \"type\": \"boolean\",\n \"description\": \"支付状态\"\n },\n \"payPostage\": {\n \"type\": \"number\",\n \"description\": \"支付邮费\"\n },\n \"payPrice\": {\n \"type\": \"number\",\n \"description\": \"实际支付金额\"\n },\n \"payTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"支付时间\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"payTypeStr\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"pinkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id 0没有拼团\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"用户姓名\"\n },\n \"refundPrice\": {\n \"type\": \"number\",\n \"description\": \"退款金额\"\n },\n \"refundReason\": {\n \"type\": \"string\",\n \"description\": \"不退款的理由\"\n },\n \"refundReasonTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"退款时间\"\n },\n \"refundReasonWap\": {\n \"type\": \"string\",\n \"description\": \"前台退款原因\"\n },\n \"refundReasonWapExplain\": {\n \"type\": \"string\",\n \"description\": \"退款用户说明\"\n },\n \"refundReasonWapImg\": {\n \"type\": \"string\",\n \"description\": \"退款图片\"\n },\n \"refundStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 未退款 1 申请中 2 已退款\"\n },\n \"remark\": {\n \"type\": \"string\",\n \"description\": \"管理员备注\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"shippingType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"配送方式 1=快递 ,2=门店自提\"\n },\n \"spreadInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"推广人姓名\"\n }\n },\n \"title\": \"StoreOrderSpreadInfoResponse对象\",\n \"description\": \"推广人信息\",\n \"$$ref\": \"#/definitions/StoreOrderSpreadInfoResponse对象\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)\"\n },\n \"statusStr\": {\n \"type\": \"object\",\n \"description\": \"订单状态\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"totalNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单商品总数\"\n },\n \"totalPostage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"totalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一id(md5加密)类似id\"\n },\n \"useIntegral\": {\n \"type\": \"number\",\n \"description\": \"使用积分\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n },\n \"userAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"userPhone\": {\n \"type\": \"string\",\n \"description\": \"用户电话\"\n },\n \"verifyCode\": {\n \"type\": \"string\",\n \"description\": \"核销码\"\n }\n },\n \"title\": \"StoreOrderInfoResponse对象\",\n \"description\": \"订单详情\",\n \"$$ref\": \"#/definitions/StoreOrderInfoResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreOrderInfoResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreOrderInfoResponse对象»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/refund", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6540, + "method": "GET", + "title": "退款", + "path": "/api/admin/store/order/refund", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8c4", + "name": "amount", + "desc": "退款金额" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8c3", + "name": "orderId", + "desc": "订单id" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8c2", + "name": "type", + "desc": "status 1 = 直接退款, 2 = 退款后,返回原状态" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4379, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "订单 -- 操作记录", + "desc": "Store Order Status Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/store/order/status/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6554, + "method": "POST", + "title": "修改", + "path": "/api/admin/store/order/status/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8d8", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8dd", + "name": "changeMessage", + "desc": "操作备注" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8dc", + "name": "changeTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8db", + "name": "changeType", + "desc": "操作类型" + }, + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8da", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8d9", + "name": "oid", + "desc": "订单id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4388, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/status/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6550, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/store/order/status/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8d2", + "name": "changeMessage", + "desc": "操作备注" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8d1", + "name": "changeTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8d0", + "name": "changeType", + "desc": "操作类型" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8cf", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8ce", + "name": "oid", + "desc": "订单id" + }, + { + "required": "0", + "_id": "5f35e89fbc7e8e560914f8cd", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"changeMessage\": {\n \"type\": \"string\",\n \"description\": \"操作备注\"\n },\n \"changeType\": {\n \"type\": \"string\",\n \"description\": \"操作类型\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"操作时间\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n }\n },\n \"title\": \"StoreOrderStatus对象\",\n \"description\": \"订单操作记录表\",\n \"$$ref\": \"#/definitions/StoreOrderStatus对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreOrderStatus对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreOrderStatus对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreOrderStatus对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreOrderStatus对象»»\"\n}", + "project_id": 52, + "catid": 4388, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/status/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6546, + "method": "DELETE", + "title": "删除", + "path": "/api/admin/store/order/status/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8cb", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4388, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/status/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6552, + "method": "POST", + "title": "新增", + "path": "/api/admin/store/order/status/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a0bc7e8e560914f8d3", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8d7", + "name": "changeMessage", + "desc": "操作备注" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8d6", + "name": "changeTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8d5", + "name": "changeType", + "desc": "操作类型" + }, + { + "required": "0", + "_id": "5f35e8a0bc7e8e560914f8d4", + "name": "oid", + "desc": "订单id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4388, + "uid": 93, + "add_time": 1597368480, + "up_time": 1597368480, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/store/order/status/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6548, + "method": "GET", + "title": "详情", + "path": "/api/admin/store/order/status/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e89fbc7e8e560914f8cc", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"changeMessage\": {\n \"type\": \"string\",\n \"description\": \"操作备注\"\n },\n \"changeType\": {\n \"type\": \"string\",\n \"description\": \"操作类型\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"操作时间\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n }\n },\n \"title\": \"StoreOrderStatus对象\",\n \"description\": \"订单操作记录表\",\n \"$$ref\": \"#/definitions/StoreOrderStatus对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreOrderStatus对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreOrderStatus对象»\"\n}", + "project_id": 52, + "catid": 4388, + "uid": 93, + "add_time": 1597368479, + "up_time": 1597368479, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- Config", + "desc": "System Config Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/config/save/form", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6656, + "method": "POST", + "title": "整体保存表单数据", + "path": "/api/admin/system/config/save/form", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f95a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"fields\",\n \"id\",\n \"sort\"\n ],\n \"properties\": {\n \"fields\": {\n \"type\": \"array\",\n \"description\": \"字段值列表\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"title\",\n \"value\"\n ],\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"字段名称\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"字段显示文字\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"字段值\"\n }\n },\n \"title\": \"SystemFormItemCheckRequest对象\",\n \"description\": \"表单字段明细\",\n \"$$ref\": \"#/definitions/SystemFormItemCheckRequest对象\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单名称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(1:开启;0:关闭;)\"\n }\n },\n \"title\": \"SystemFormCheckRequest对象\",\n \"description\": \"整体保存表单数据\",\n \"$$ref\": \"#/definitions/SystemFormCheckRequest对象\"\n}", + "project_id": 52, + "catid": 4397, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/config/check", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6650, + "method": "GET", + "title": "检测表单name是否存在", + "path": "/api/admin/system/config/check", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f957", + "name": "name", + "desc": "name" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4397, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/config/saveuniq", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6658, + "method": "POST", + "title": "表单配置中仅仅存储", + "path": "/api/admin/system/config/saveuniq", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f95b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f95d", + "name": "key", + "desc": "key" + }, + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f95c", + "name": "value", + "desc": "value" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4397, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/config/getuniq", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6652, + "method": "GET", + "title": "表单配置根据key获取", + "path": "/api/admin/system/config/getuniq", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f958", + "name": "key", + "desc": "key" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 52, + "catid": 4397, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/config/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6654, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/config/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f959", + "name": "formId", + "desc": "formId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,string»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,string»»\"\n}", + "project_id": 52, + "catid": 4397, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 会员等级", + "desc": "System User Level Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/user/level/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6758, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/user/level/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9fc", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9fd", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"discount\": {\n \"type\": \"number\",\n \"description\": \"享受折扣\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"达到多少升级经验\"\n },\n \"grade\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"会员等级\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"会员图标\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"会员卡背景\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示 1=显示,0=隐藏\"\n },\n \"memo\": {\n \"type\": \"string\",\n \"description\": \"说明\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"会员名称\"\n }\n },\n \"title\": \"SystemUserLevelRequest对象\",\n \"description\": \"设置用户等级表\",\n \"$$ref\": \"#/definitions/SystemUserLevelRequest对象\"\n}", + "project_id": 52, + "catid": 4406, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/level/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6754, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/user/level/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914f9fa", + "name": "isDel", + "desc": "是否删除.1=删除,0=未删除" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914f9f9", + "name": "isShow", + "desc": "是否显示 1=显示,0=隐藏" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914f9f8", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914f9f7", + "name": "name", + "desc": "会员名称" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914f9f6", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"discount\": {\n \"type\": \"number\",\n \"description\": \"享受折扣\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"购买金额|经验达到\"\n },\n \"grade\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"会员等级\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"会员图标\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"会员卡背景\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除.1=删除,0=未删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示 1=显示,0=隐藏\"\n },\n \"memo\": {\n \"type\": \"string\",\n \"description\": \"说明\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"会员名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"SystemUserLevel对象\",\n \"description\": \"设置用户等级表\",\n \"$$ref\": \"#/definitions/SystemUserLevel对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemUserLevel对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemUserLevel对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemUserLevel对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»\"\n}", + "project_id": 52, + "catid": 4406, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/level/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6750, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/user/level/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9f4", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4406, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/level/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6756, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/user/level/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9fb", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"discount\": {\n \"type\": \"number\",\n \"description\": \"享受折扣\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"达到多少升级经验\"\n },\n \"grade\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"会员等级\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"会员图标\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"会员卡背景\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示 1=显示,0=隐藏\"\n },\n \"memo\": {\n \"type\": \"string\",\n \"description\": \"说明\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"会员名称\"\n }\n },\n \"title\": \"SystemUserLevelRequest对象\",\n \"description\": \"设置用户等级表\",\n \"$$ref\": \"#/definitions/SystemUserLevelRequest对象\"\n}", + "project_id": 52, + "catid": 4406, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/level/use", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6760, + "method": "GET", + "title": "是否使用", + "path": "/api/admin/system/user/level/use", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9ff", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9fe", + "name": "value", + "desc": "是否使用, 1=是,0=否" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4406, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/level/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6752, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/user/level/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9f5", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"discount\": {\n \"type\": \"number\",\n \"description\": \"享受折扣\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"购买金额|经验达到\"\n },\n \"grade\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"会员等级\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"会员图标\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"会员卡背景\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除.1=删除,0=未删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示 1=显示,0=隐藏\"\n },\n \"memo\": {\n \"type\": \"string\",\n \"description\": \"说明\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"会员名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"SystemUserLevel对象\",\n \"description\": \"设置用户等级表\",\n \"$$ref\": \"#/definitions/SystemUserLevel对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemUserLevel对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemUserLevel对象»\"\n}", + "project_id": 52, + "catid": 4406, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 会员等级 -- 等级任务", + "desc": "System User Task Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/user/task/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6770, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/user/task/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a8bc7e8e560914fa1b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa27", + "name": "addTime", + "desc": "新增时间" + }, + { + "required": "1", + "_id": "5f35e8a8bc7e8e560914fa26", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa25", + "name": "id" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa24", + "name": "illustrate", + "desc": "任务说明" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa23", + "name": "isMust", + "desc": "是否务必达成任务,1务必达成,0=满足其一" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa22", + "name": "isShow", + "desc": "是否显示" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa21", + "name": "levelId", + "desc": "等级id" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa20", + "name": "name", + "desc": "任务名称" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa1f", + "name": "number", + "desc": "限定数" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa1e", + "name": "realName", + "desc": "配置原名" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa1d", + "name": "sort", + "desc": "排序" + }, + { + "required": "0", + "_id": "5f35e8a8bc7e8e560914fa1c", + "name": "taskType", + "desc": "任务类型" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4415, + "uid": 93, + "add_time": 1597368488, + "up_time": 1597368488, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/task/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6766, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/user/task/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa0e", + "name": "addTime", + "desc": "新增时间" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa0d", + "name": "id" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa0c", + "name": "illustrate", + "desc": "任务说明" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa0b", + "name": "isMust", + "desc": "是否务必达成任务,1务必达成,0=满足其一" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa0a", + "name": "isShow", + "desc": "是否显示" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa09", + "name": "levelId", + "desc": "等级id" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa08", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa07", + "name": "name", + "desc": "任务名称" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa06", + "name": "number", + "desc": "限定数" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa05", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa04", + "name": "realName", + "desc": "配置原名" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa03", + "name": "sort", + "desc": "排序" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa02", + "name": "taskType", + "desc": "任务类型" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"新增时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"illustrate\": {\n \"type\": \"string\",\n \"description\": \"任务说明\"\n },\n \"isMust\": {\n \"type\": \"boolean\",\n \"description\": \"是否务必达成任务,1务必达成,0=满足其一\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"levelId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"任务名称\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"限定数\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"配置原名\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"taskType\": {\n \"type\": \"string\",\n \"description\": \"任务类型\"\n }\n },\n \"title\": \"SystemUserTask对象\",\n \"description\": \"等级任务设置\",\n \"$$ref\": \"#/definitions/SystemUserTask对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemUserTask对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemUserTask对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemUserTask对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemUserTask对象»»\"\n}", + "project_id": 52, + "catid": 4415, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/task/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6762, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/user/task/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914fa00", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4415, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/task/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6768, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/user/task/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914fa0f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa1a", + "name": "addTime", + "desc": "新增时间" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa19", + "name": "id" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa18", + "name": "illustrate", + "desc": "任务说明" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa17", + "name": "isMust", + "desc": "是否务必达成任务,1务必达成,0=满足其一" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa16", + "name": "isShow", + "desc": "是否显示" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa15", + "name": "levelId", + "desc": "等级id" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa14", + "name": "name", + "desc": "任务名称" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa13", + "name": "number", + "desc": "限定数" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa12", + "name": "realName", + "desc": "配置原名" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa11", + "name": "sort", + "desc": "排序" + }, + { + "required": "0", + "_id": "5f35e8a7bc7e8e560914fa10", + "name": "taskType", + "desc": "任务类型" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4415, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/user/task/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6764, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/user/task/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914fa01", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"新增时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"illustrate\": {\n \"type\": \"string\",\n \"description\": \"任务说明\"\n },\n \"isMust\": {\n \"type\": \"boolean\",\n \"description\": \"是否务必达成任务,1务必达成,0=满足其一\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"levelId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"任务名称\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"限定数\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"配置原名\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"taskType\": {\n \"type\": \"string\",\n \"description\": \"任务类型\"\n }\n },\n \"title\": \"SystemUserTask对象\",\n \"description\": \"等级任务设置\",\n \"$$ref\": \"#/definitions/SystemUserTask对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemUserTask对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemUserTask对象»\"\n}", + "project_id": 52, + "catid": 4415, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 提货点 -- 提货点", + "desc": "System Store Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/store/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6746, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/store/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9f0", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9f1", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"address\": {\n \"type\": \"string\",\n \"description\": \"提货点地址省市区\"\n },\n \"dayTime\": {\n \"type\": \"string\",\n \"description\": \"每日营业开关时间\"\n },\n \"detailedAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"门店logo\"\n },\n \"introduction\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"example\": \"1,2\",\n \"description\": \"经度\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"validTime\": {\n \"type\": \"string\",\n \"description\": \"核销有效日期\"\n }\n },\n \"title\": \"SystemStoreRequest对象\",\n \"description\": \"提货点\",\n \"$$ref\": \"#/definitions/SystemStoreRequest对象\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/update/status", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6748, + "method": "GET", + "title": "修改门店显示状态", + "path": "/api/admin/system/store/update/status", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9f3", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8a7bc7e8e560914f9f2", + "name": "status", + "desc": "status" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368487, + "up_time": 1597368487, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6728, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/store/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9de", + "name": "keywords", + "desc": "搜索关键字,支持 门店名称|简介|手机号码||省市区|详细地址" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9dd", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9dc", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9db", + "name": "status", + "desc": "状态,0隐藏,1显示,2回收站" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"address\": {\n \"type\": \"string\",\n \"description\": \"省市区\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"dayTime\": {\n \"type\": \"string\",\n \"description\": \"每日营业开关时间\"\n },\n \"detailedAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"门店logo\"\n },\n \"introduction\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n },\n \"validTime\": {\n \"type\": \"string\",\n \"description\": \"核销有效日期\"\n }\n },\n \"title\": \"SystemStore对象\",\n \"description\": \"门店自提\",\n \"$$ref\": \"#/definitions/SystemStore对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemStore对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemStore对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemStore对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemStore对象»»\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6722, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/store/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d9", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/getCount", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6724, + "method": "GET", + "title": "数量", + "path": "/api/admin/system/store/getCount", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,int»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,int»»\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6732, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/store/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9e5", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"address\": {\n \"type\": \"string\",\n \"description\": \"提货点地址省市区\"\n },\n \"dayTime\": {\n \"type\": \"string\",\n \"description\": \"每日营业开关时间\"\n },\n \"detailedAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"门店logo\"\n },\n \"introduction\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"example\": \"1,2\",\n \"description\": \"经度\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"validTime\": {\n \"type\": \"string\",\n \"description\": \"核销有效日期\"\n }\n },\n \"title\": \"SystemStoreRequest对象\",\n \"description\": \"提货点\",\n \"$$ref\": \"#/definitions/SystemStoreRequest对象\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6726, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/store/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9da", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"address\": {\n \"type\": \"string\",\n \"description\": \"省市区\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"dayTime\": {\n \"type\": \"string\",\n \"description\": \"每日营业开关时间\"\n },\n \"detailedAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"门店logo\"\n },\n \"introduction\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n },\n \"validTime\": {\n \"type\": \"string\",\n \"description\": \"核销有效日期\"\n }\n },\n \"title\": \"SystemStore对象\",\n \"description\": \"门店自提\",\n \"$$ref\": \"#/definitions/SystemStore对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemStore对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemStore对象»\"\n}", + "project_id": 52, + "catid": 4424, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 提货点 -- 核销员", + "desc": "System Store Staff Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/store/staff/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6742, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/store/staff/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9ec", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9ed", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"店员头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"staffName\": {\n \"type\": \"string\",\n \"description\": \"店员名称\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"verifyStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"核销开关\"\n }\n },\n \"title\": \"SystemStoreStaff对象\",\n \"description\": \"门店店员表\",\n \"$$ref\": \"#/definitions/SystemStoreStaff对象\"\n}", + "project_id": 52, + "catid": 4433, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/staff/update/status", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6744, + "method": "GET", + "title": "修改状态", + "path": "/api/admin/system/store/staff/update/status", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9ef", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9ee", + "name": "status", + "desc": "status" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4433, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/staff/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6738, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/store/staff/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9ea", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e9", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e8", + "name": "storeId", + "desc": "storeId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"店员头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"staffName\": {\n \"type\": \"string\",\n \"description\": \"店员名称\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"systemStore\": {\n \"type\": \"object\",\n \"properties\": {\n \"address\": {\n \"type\": \"string\",\n \"description\": \"省市区\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"dayTime\": {\n \"type\": \"string\",\n \"description\": \"每日营业开关时间\"\n },\n \"detailedAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"门店logo\"\n },\n \"introduction\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n },\n \"validTime\": {\n \"type\": \"string\",\n \"description\": \"核销有效日期\"\n }\n },\n \"title\": \"SystemStore对象\",\n \"description\": \"门店自提\",\n \"$$ref\": \"#/definitions/SystemStore对象\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n },\n \"verifyStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"核销开关\"\n }\n },\n \"title\": \"SystemStoreStaffResponse对象\",\n \"description\": \"门店店员表\",\n \"$$ref\": \"#/definitions/SystemStoreStaffResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemStoreStaffResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemStoreStaffResponse对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemStoreStaffResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemStoreStaffResponse对象»»\"\n}", + "project_id": 52, + "catid": 4433, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/staff/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6734, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/store/staff/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9e6", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4433, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/staff/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6740, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/store/staff/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9eb", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"店员头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"staffName\": {\n \"type\": \"string\",\n \"description\": \"店员名称\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"verifyStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"核销开关\"\n }\n },\n \"title\": \"SystemStoreStaff对象\",\n \"description\": \"门店店员表\",\n \"$$ref\": \"#/definitions/SystemStoreStaff对象\"\n}", + "project_id": 52, + "catid": 4433, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/store/staff/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6736, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/store/staff/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9e7", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"店员头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"staffName\": {\n \"type\": \"string\",\n \"description\": \"店员名称\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"微信用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"verifyStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"核销开关\"\n }\n },\n \"title\": \"SystemStoreStaff对象\",\n \"description\": \"门店店员表\",\n \"$$ref\": \"#/definitions/SystemStoreStaff对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemStoreStaff对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemStoreStaff对象»\"\n}", + "project_id": 52, + "catid": 4433, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 提货点 -- 核销订单", + "desc": "System Write Off Order Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/store/order/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6730, + "method": "POST", + "title": "分页列表", + "path": "/api/admin/system/store/order/list", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9df", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e4", + "name": "data", + "desc": "时间" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e3", + "name": "keywords", + "desc": "关键字" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e2", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e1", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a6bc7e8e560914f9e0", + "name": "storeId", + "desc": "核销点ID" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"list\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"backIntegral\": {\n \"type\": \"number\",\n \"description\": \"给用户退了多少积分\"\n },\n \"clerkName\": {\n \"type\": \"string\",\n \"description\": \"店员名称\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"gainIntegral\": {\n \"type\": \"number\",\n \"description\": \"消费赚取积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isSystemDel\": {\n \"type\": \"boolean\",\n \"description\": \"后台是否删除\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"paid\": {\n \"type\": \"boolean\",\n \"description\": \"支付状态\"\n },\n \"payPostage\": {\n \"type\": \"number\",\n \"description\": \"支付邮费\"\n },\n \"payPrice\": {\n \"type\": \"number\",\n \"description\": \"实际支付金额\"\n },\n \"payTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"支付时间\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"payTypeStr\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"productList\": {\n \"type\": \"array\",\n \"description\": \"商品信息\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"info\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\"\n },\n \"attrStatus\": {\n \"type\": \"boolean\",\n \"description\": \"商品是否有效\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级分佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级分佣\"\n },\n \"cartNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品数量\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id\"\n },\n \"costPrice\": {\n \"type\": \"number\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"购物车表ID\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否为立即购买\"\n },\n \"isReply\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"productAttrUnique\": {\n \"type\": \"string\",\n \"description\": \"商品属性\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"productInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"string\",\n \"description\": \"产品属性值和属性名对应关系\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValue对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValue对象\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductCartProductInfoResponse对象\",\n \"description\": \"商品信息,购物车列表使用\",\n \"$$ref\": \"#/definitions/StoreProductCartProductInfoResponse对象\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"truePrice\": {\n \"type\": \"number\"\n },\n \"trueStock\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"vipTruePrice\": {\n \"type\": \"number\"\n }\n },\n \"title\": \"StoreCartResponse\",\n \"description\": \"购物车ListResponse\",\n \"$$ref\": \"#/definitions/StoreCartResponse\"\n },\n \"orderId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一id\"\n }\n },\n \"title\": \"StoreOrderInfoVo对象\",\n \"description\": \"订单购物详情表\",\n \"$$ref\": \"#/definitions/StoreOrderInfoVo对象\"\n }\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"用户姓名\"\n },\n \"refundPrice\": {\n \"type\": \"number\",\n \"description\": \"退款金额\"\n },\n \"refundReason\": {\n \"type\": \"string\",\n \"description\": \"不退款的理由\"\n },\n \"refundReasonTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"退款时间\"\n },\n \"refundReasonWap\": {\n \"type\": \"string\",\n \"description\": \"前台退款原因\"\n },\n \"refundReasonWapExplain\": {\n \"type\": \"string\",\n \"description\": \"退款用户说明\"\n },\n \"refundReasonWapImg\": {\n \"type\": \"string\",\n \"description\": \"退款图片\"\n },\n \"remark\": {\n \"type\": \"string\",\n \"description\": \"管理员备注\"\n },\n \"spreadInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"推广人姓名\"\n }\n },\n \"title\": \"StoreOrderSpreadInfoResponse对象\",\n \"description\": \"推广人信息\",\n \"$$ref\": \"#/definitions/StoreOrderSpreadInfoResponse对象\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)\"\n },\n \"statusStr\": {\n \"type\": \"object\",\n \"description\": \"订单状态\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"totalPostage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"totalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"useIntegral\": {\n \"type\": \"number\",\n \"description\": \"使用积分\"\n },\n \"userPhone\": {\n \"type\": \"string\",\n \"description\": \"用户电话\"\n }\n },\n \"title\": \"StoreOrderItemResponse对象\",\n \"description\": \"核销订单\",\n \"$$ref\": \"#/definitions/StoreOrderItemResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreOrderItemResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreOrderItemResponse对象»\"\n },\n \"orderTotalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总金额\"\n },\n \"refundTotal\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"退款总单数\"\n },\n \"refundTotalPrice\": {\n \"type\": \"number\",\n \"description\": \"退款总金额\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"订单总数量\"\n }\n },\n \"title\": \"SystemWriteOffOrderResponse对象\",\n \"description\": \"核销订单\",\n \"$$ref\": \"#/definitions/SystemWriteOffOrderResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemWriteOffOrderResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemWriteOffOrderResponse对象»\"\n}", + "project_id": 52, + "catid": 4442, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 权限管理 -- 身份管理", + "desc": "System Role Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/system/role/testMenu", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6718, + "method": "GET", + "title": "TestMenu", + "path": "/api/admin/system/role/testMenu", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult\",\n \"$$ref\": \"#/definitions/CommonResult\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/role/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6720, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/role/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d3", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d8", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d7", + "name": "level", + "desc": "身份管理名称" + }, + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d6", + "name": "roleName", + "desc": "身份管理名称" + }, + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d5", + "name": "rules", + "desc": "身份管理权限(menus_id)" + }, + { + "required": "1", + "_id": "5f35e8a6bc7e8e560914f9d4", + "name": "status", + "desc": "状态" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368486, + "up_time": 1597368486, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/role/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6712, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/role/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9cd", + "name": "createTime", + "desc": "创建时间" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9cc", + "name": "level", + "desc": "身份管理名称" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9cb", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9ca", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c9", + "name": "roleName", + "desc": "身份管理名称" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c8", + "name": "rules", + "desc": "身份管理权限(menus_id)" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c7", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c6", + "name": "updateTime", + "desc": "修改时间" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"身份管理id\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"roleName\": {\n \"type\": \"string\",\n \"description\": \"身份管理名称\"\n },\n \"rules\": {\n \"type\": \"string\",\n \"description\": \"身份管理权限(menus_id)\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"SystemRole对象\",\n \"description\": \"身份管理表\",\n \"$$ref\": \"#/definitions/SystemRole对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemRole对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemRole对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemRole对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemRole对象»»\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/role/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6708, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/role/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9c4", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/role/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6716, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/role/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9ce", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9d2", + "name": "level", + "desc": "身份管理名称" + }, + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9d1", + "name": "roleName", + "desc": "身份管理名称" + }, + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9d0", + "name": "rules", + "desc": "身份管理权限(menus_id)" + }, + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9cf", + "name": "status", + "desc": "状态" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/role/menu", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6714, + "method": "GET", + "title": "菜单", + "path": "/api/admin/system/role/menu", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"child\": {\n \"type\": \"array\",\n \"items\": {\n \"originalRef\": \"CategoryTreeVo\",\n \"$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"CategoryTreeVo\",\n \"$$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«CategoryTreeVo»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«CategoryTreeVo»»\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/role/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6710, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/role/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9c5", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"身份管理id\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"roleName\": {\n \"type\": \"string\",\n \"description\": \"身份管理名称\"\n },\n \"rules\": {\n \"type\": \"string\",\n \"description\": \"身份管理权限(menus_id)\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"SystemRole对象\",\n \"description\": \"身份管理表\",\n \"$$ref\": \"#/definitions/SystemRole对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemRole对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemRole对象»\"\n}", + "project_id": 52, + "catid": 4451, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 物流 -- 付费", + "desc": "Shipping Templates Region Controller", + "add_time": 1597368470, + "up_time": 1597368470, + "list": [ + { + "query_path": { + "path": "/api/admin/express/shipping/region/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6422, + "method": "GET", + "title": "根据模板id查询数据", + "path": "/api/admin/express/shipping/region/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f831", + "name": "tempId", + "desc": "tempId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"cityId\",\n \"first\",\n \"firstPrice\",\n \"renewal\",\n \"renewalPrice\"\n ],\n \"properties\": {\n \"cityId\": {\n \"type\": \"string\",\n \"example\": \"1,2,3,4\",\n \"description\": \"城市ID, 多个逗号分割。全国 all\"\n },\n \"first\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"首件\"\n },\n \"firstPrice\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"首件运费\"\n },\n \"renewal\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"续件\"\n },\n \"renewalPrice\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"续件运费\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"城市名称描述\"\n },\n \"uniqid\": {\n \"type\": \"string\",\n \"description\": \"分组唯一值\"\n }\n },\n \"title\": \"ShippingTemplatesRegionRequest对象\",\n \"description\": \"付费\",\n \"$$ref\": \"#/definitions/ShippingTemplatesRegionRequest对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«ShippingTemplatesRegionRequest对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«ShippingTemplatesRegionRequest对象»»\"\n}", + "project_id": 52, + "catid": 4460, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 物流 -- 免费", + "desc": "Shipping Templates Free Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/express/shipping/free/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6420, + "method": "GET", + "title": "根据模板id查询数据", + "path": "/api/admin/express/shipping/free/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f830", + "name": "tempId", + "desc": "tempId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"cityId\",\n \"number\",\n \"price\"\n ],\n \"properties\": {\n \"cityId\": {\n \"type\": \"string\",\n \"example\": \"1,2,3,4\",\n \"description\": \"城市ID, 多个逗号分割。 全国 all\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 1,\n \"description\": \"包邮件数\"\n },\n \"price\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"包邮金额\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"城市名称描述\"\n }\n },\n \"title\": \"ShippingTemplatesFreeRequest对象\",\n \"description\": \"免费\",\n \"$$ref\": \"#/definitions/ShippingTemplatesFreeRequest对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«ShippingTemplatesFreeRequest对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«ShippingTemplatesFreeRequest对象»»\"\n}", + "project_id": 52, + "catid": 4469, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 物流 -- 公司", + "desc": "Express Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/express/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6434, + "method": "POST", + "title": "修改", + "path": "/api/admin/express/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f83a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f83f", + "name": "code", + "desc": "快递公司简称" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f83e", + "name": "id", + "desc": "快递ID" + }, + { + "required": "1", + "_id": "5f35e899bc7e8e560914f83d", + "name": "isShow", + "desc": "是否显示" + }, + { + "required": "1", + "_id": "5f35e899bc7e8e560914f83c", + "name": "name", + "desc": "快递公司全称" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f83b", + "name": "sort", + "desc": "排序" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4478, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6416, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/express/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f82a", + "name": "isShow", + "desc": "是否显示" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f829", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f828", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f827", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n \"description\": \"快递公司简称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"快递公司id\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"快递公司全称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n }\n },\n \"title\": \"Express对象\",\n \"description\": \"快递公司表\",\n \"$$ref\": \"#/definitions/Express对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«Express对象»\",\n \"$$ref\": \"#/definitions/CommonPage«Express对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«Express对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«Express对象»»\"\n}", + "project_id": 52, + "catid": 4478, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6412, + "method": "GET", + "title": "删除", + "path": "/api/admin/express/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f825", + "name": "id", + "desc": "快递ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4478, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6418, + "method": "POST", + "title": "新增", + "path": "/api/admin/express/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f82b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e898bc7e8e560914f82f", + "name": "code", + "desc": "快递公司简称" + }, + { + "required": "1", + "_id": "5f35e898bc7e8e560914f82e", + "name": "isShow", + "desc": "是否显示" + }, + { + "required": "1", + "_id": "5f35e898bc7e8e560914f82d", + "name": "name", + "desc": "快递公司全称" + }, + { + "required": "0", + "_id": "5f35e898bc7e8e560914f82c", + "name": "sort", + "desc": "排序" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4478, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6414, + "method": "GET", + "title": "详情", + "path": "/api/admin/express/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e898bc7e8e560914f826", + "name": "id", + "desc": "快递ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n \"description\": \"快递公司简称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"快递公司id\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"快递公司全称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n }\n },\n \"title\": \"Express对象\",\n \"description\": \"快递公司表\",\n \"$$ref\": \"#/definitions/Express对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Express对象»\",\n \"$$ref\": \"#/definitions/CommonResult«Express对象»\"\n}", + "project_id": 52, + "catid": 4478, + "uid": 93, + "add_time": 1597368472, + "up_time": 1597368472, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 物流 -- 模板", + "desc": "Shipping Templates Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/express/shipping/templates/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6432, + "method": "POST", + "title": "修改", + "path": "/api/admin/express/shipping/templates/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f838", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f839", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"appoint\",\n \"name\",\n \"shippingTemplatesFreeRequestList\",\n \"shippingTemplatesRegionRequestList\",\n \"type\"\n ],\n \"properties\": {\n \"appoint\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"指定包邮\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名称\"\n },\n \"shippingTemplatesFreeRequestList\": {\n \"type\": \"array\",\n \"description\": \"指定包邮设置\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"cityId\",\n \"number\",\n \"price\"\n ],\n \"properties\": {\n \"cityId\": {\n \"type\": \"string\",\n \"example\": \"1,2,3,4\",\n \"description\": \"城市ID, 多个逗号分割。 全国 all\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 1,\n \"description\": \"包邮件数\"\n },\n \"price\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"包邮金额\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"城市名称描述\"\n }\n },\n \"title\": \"ShippingTemplatesFreeRequest对象\",\n \"description\": \"免费\",\n \"$$ref\": \"#/definitions/ShippingTemplatesFreeRequest对象\"\n }\n },\n \"shippingTemplatesRegionRequestList\": {\n \"type\": \"array\",\n \"description\": \"配送区域及运费\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"cityId\",\n \"first\",\n \"firstPrice\",\n \"renewal\",\n \"renewalPrice\"\n ],\n \"properties\": {\n \"cityId\": {\n \"type\": \"string\",\n \"example\": \"1,2,3,4\",\n \"description\": \"城市ID, 多个逗号分割。全国 all\"\n },\n \"first\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"首件\"\n },\n \"firstPrice\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"首件运费\"\n },\n \"renewal\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"续件\"\n },\n \"renewalPrice\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"续件运费\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"城市名称描述\"\n },\n \"uniqid\": {\n \"type\": \"string\",\n \"description\": \"分组唯一值\"\n }\n },\n \"title\": \"ShippingTemplatesRegionRequest对象\",\n \"description\": \"付费\",\n \"$$ref\": \"#/definitions/ShippingTemplatesRegionRequest对象\"\n }\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"排序\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 1,\n \"description\": \"计费方式 1(按件数), 2(按重量),3(按体积)\"\n }\n },\n \"title\": \"ShippingTemplatesRequest对象\",\n \"description\": \"模板\",\n \"$$ref\": \"#/definitions/ShippingTemplatesRequest对象\"\n}", + "project_id": 52, + "catid": 4487, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/shipping/templates/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6428, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/express/shipping/templates/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e899bc7e8e560914f836", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f835", + "name": "name", + "desc": "模板名称" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f834", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"appoint\": {\n \"type\": \"boolean\",\n \"description\": \"指定包邮\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"编号\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"计费方式\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"ShippingTemplates对象\",\n \"$$ref\": \"#/definitions/ShippingTemplates对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ShippingTemplates对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ShippingTemplates对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ShippingTemplates对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ShippingTemplates对象»»\"\n}", + "project_id": 52, + "catid": 4487, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/shipping/templates/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6424, + "method": "GET", + "title": "删除", + "path": "/api/admin/express/shipping/templates/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f832", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4487, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/shipping/templates/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6430, + "method": "POST", + "title": "新增", + "path": "/api/admin/express/shipping/templates/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f837", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"appoint\",\n \"name\",\n \"shippingTemplatesFreeRequestList\",\n \"shippingTemplatesRegionRequestList\",\n \"type\"\n ],\n \"properties\": {\n \"appoint\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"指定包邮\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名称\"\n },\n \"shippingTemplatesFreeRequestList\": {\n \"type\": \"array\",\n \"description\": \"指定包邮设置\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"cityId\",\n \"number\",\n \"price\"\n ],\n \"properties\": {\n \"cityId\": {\n \"type\": \"string\",\n \"example\": \"1,2,3,4\",\n \"description\": \"城市ID, 多个逗号分割。 全国 all\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 1,\n \"description\": \"包邮件数\"\n },\n \"price\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"包邮金额\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"城市名称描述\"\n }\n },\n \"title\": \"ShippingTemplatesFreeRequest对象\",\n \"description\": \"免费\",\n \"$$ref\": \"#/definitions/ShippingTemplatesFreeRequest对象\"\n }\n },\n \"shippingTemplatesRegionRequestList\": {\n \"type\": \"array\",\n \"description\": \"配送区域及运费\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"cityId\",\n \"first\",\n \"firstPrice\",\n \"renewal\",\n \"renewalPrice\"\n ],\n \"properties\": {\n \"cityId\": {\n \"type\": \"string\",\n \"example\": \"1,2,3,4\",\n \"description\": \"城市ID, 多个逗号分割。全国 all\"\n },\n \"first\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"首件\"\n },\n \"firstPrice\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"首件运费\"\n },\n \"renewal\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"续件\"\n },\n \"renewalPrice\": {\n \"type\": \"number\",\n \"example\": 0.1,\n \"description\": \"续件运费\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"城市名称描述\"\n },\n \"uniqid\": {\n \"type\": \"string\",\n \"description\": \"分组唯一值\"\n }\n },\n \"title\": \"ShippingTemplatesRegionRequest对象\",\n \"description\": \"付费\",\n \"$$ref\": \"#/definitions/ShippingTemplatesRegionRequest对象\"\n }\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 0,\n \"description\": \"排序\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 1,\n \"description\": \"计费方式 1(按件数), 2(按重量),3(按体积)\"\n }\n },\n \"title\": \"ShippingTemplatesRequest对象\",\n \"description\": \"模板\",\n \"$$ref\": \"#/definitions/ShippingTemplatesRequest对象\"\n}", + "project_id": 52, + "catid": 4487, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/express/shipping/templates/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6426, + "method": "GET", + "title": "详情", + "path": "/api/admin/express/shipping/templates/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f833", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"appoint\": {\n \"type\": \"boolean\",\n \"description\": \"指定包邮\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"编号\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"计费方式\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n }\n },\n \"title\": \"ShippingTemplates对象\",\n \"$$ref\": \"#/definitions/ShippingTemplates对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«ShippingTemplates对象»\",\n \"$$ref\": \"#/definitions/CommonResult«ShippingTemplates对象»\"\n}", + "project_id": 52, + "catid": 4487, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 管理员操作记录", + "desc": "System Log Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/system/log/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6696, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/log/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f996", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a1", + "name": "addTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a0", + "name": "adminId", + "desc": "管理员id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f99f", + "name": "adminName", + "desc": "管理员姓名" + }, + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f99e", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f99d", + "name": "id", + "desc": "管理员操作记录ID" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f99c", + "name": "ip", + "desc": "登录IP" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f99b", + "name": "merchantId", + "desc": "商户id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f99a", + "name": "method", + "desc": "访问类型" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f999", + "name": "page", + "desc": "行为" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f998", + "name": "path", + "desc": "链接" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f997", + "name": "type", + "desc": "类型" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4496, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/log/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6692, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/log/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f98a", + "name": "addTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f989", + "name": "adminId", + "desc": "管理员id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f988", + "name": "adminName", + "desc": "管理员姓名" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f987", + "name": "id", + "desc": "管理员操作记录ID" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f986", + "name": "ip", + "desc": "登录IP" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f985", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f984", + "name": "merchantId", + "desc": "商户id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f983", + "name": "method", + "desc": "访问类型" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f982", + "name": "page", + "desc": "行为" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f981", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f980", + "name": "path", + "desc": "链接" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f97f", + "name": "type", + "desc": "类型" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"操作时间\"\n },\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"adminName\": {\n \"type\": \"string\",\n \"description\": \"管理员姓名\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员操作记录ID\"\n },\n \"ip\": {\n \"type\": \"string\",\n \"description\": \"登录IP\"\n },\n \"merchantId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"method\": {\n \"type\": \"string\",\n \"description\": \"访问类型\"\n },\n \"page\": {\n \"type\": \"string\",\n \"description\": \"行为\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"链接\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n }\n },\n \"title\": \"SystemLog对象\",\n \"description\": \"管理员操作记录表\",\n \"$$ref\": \"#/definitions/SystemLog对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemLog对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemLog对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemLog对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemLog对象»»\"\n}", + "project_id": 52, + "catid": 4496, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/log/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6688, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/log/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f97d", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4496, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/log/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6694, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/log/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f98b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f995", + "name": "addTime", + "desc": "操作时间" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f994", + "name": "adminId", + "desc": "管理员id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f993", + "name": "adminName", + "desc": "管理员姓名" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f992", + "name": "id", + "desc": "管理员操作记录ID" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f991", + "name": "ip", + "desc": "登录IP" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f990", + "name": "merchantId", + "desc": "商户id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f98f", + "name": "method", + "desc": "访问类型" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f98e", + "name": "page", + "desc": "行为" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f98d", + "name": "path", + "desc": "链接" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f98c", + "name": "type", + "desc": "类型" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4496, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/log/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6690, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/log/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f97e", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"操作时间\"\n },\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"adminName\": {\n \"type\": \"string\",\n \"description\": \"管理员姓名\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员操作记录ID\"\n },\n \"ip\": {\n \"type\": \"string\",\n \"description\": \"登录IP\"\n },\n \"merchantId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"method\": {\n \"type\": \"string\",\n \"description\": \"访问类型\"\n },\n \"page\": {\n \"type\": \"string\",\n \"description\": \"行为\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"链接\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n }\n },\n \"title\": \"SystemLog对象\",\n \"description\": \"管理员操作记录表\",\n \"$$ref\": \"#/definitions/SystemLog对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemLog对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemLog对象»\"\n}", + "project_id": 52, + "catid": 4496, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 组合数据", + "desc": "System Group Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/system/group/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6686, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/group/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f978", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f97c", + "name": "formId", + "desc": "form 表单 id" + }, + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f97b", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f97a", + "name": "info", + "desc": "简介" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f979", + "name": "name", + "desc": "数据组名称" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4505, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6682, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/group/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f973", + "name": "keywords", + "desc": "关键字" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f972", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f971", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"formId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"form 表单 id\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"组合数据ID\"\n },\n \"info\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"数据组名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"SystemGroup对象\",\n \"description\": \"组合数据表\",\n \"$$ref\": \"#/definitions/SystemGroup对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemGroup对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemGroup对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemGroup对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemGroup对象»»\"\n}", + "project_id": 52, + "catid": 4505, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6678, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/group/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f96f", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4505, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6684, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/group/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f974", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f977", + "name": "formId", + "desc": "form 表单 id" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f976", + "name": "info", + "desc": "简介" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f975", + "name": "name", + "desc": "数据组名称" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4505, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6680, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/group/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f970", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"formId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"form 表单 id\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"组合数据ID\"\n },\n \"info\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"数据组名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"SystemGroup对象\",\n \"description\": \"组合数据表\",\n \"$$ref\": \"#/definitions/SystemGroup对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemGroup对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemGroup对象»\"\n}", + "project_id": 52, + "catid": 4505, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 组合数据 -- 详情", + "desc": "System Group Data Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/system/group/data/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6676, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/group/data/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f96d", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f96e", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"form\": {\n \"type\": \"object\",\n \"required\": [\n \"fields\",\n \"id\",\n \"sort\"\n ],\n \"properties\": {\n \"fields\": {\n \"type\": \"array\",\n \"description\": \"字段值列表\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"title\",\n \"value\"\n ],\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"字段名称\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"字段显示文字\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"字段值\"\n }\n },\n \"title\": \"SystemFormItemCheckRequest对象\",\n \"description\": \"表单字段明细\",\n \"$$ref\": \"#/definitions/SystemFormItemCheckRequest对象\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单名称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(1:开启;0:关闭;)\"\n }\n },\n \"title\": \"SystemFormCheckRequest对象\",\n \"description\": \"整体保存表单数据\",\n \"$$ref\": \"#/definitions/SystemFormCheckRequest对象\"\n },\n \"gid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"对应的数据组id\"\n }\n },\n \"title\": \"SystemGroupDataRequest对象\",\n \"description\": \"组合数据详情表\",\n \"$$ref\": \"#/definitions/SystemGroupDataRequest对象\"\n}", + "project_id": 52, + "catid": 4514, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/data/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6672, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/group/data/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f96b", + "name": "gid", + "desc": "分组id" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f96a", + "name": "keywords", + "desc": "关键字" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f969", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f968", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f967", + "name": "status", + "desc": "状态(1:开启;2:关闭;)" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"gid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"对应的数据组id\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"组合数据详情ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"数据排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(1:开启;0:关闭;)\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"数据组对应的数据值(json数据)\"\n }\n },\n \"title\": \"SystemGroupData对象\",\n \"description\": \"组合数据详情表\",\n \"$$ref\": \"#/definitions/SystemGroupData对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemGroupData对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemGroupData对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemGroupData对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemGroupData对象»»\"\n}", + "project_id": 52, + "catid": 4514, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/data/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6668, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/group/data/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f965", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4514, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/data/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6674, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/group/data/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f96c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"form\": {\n \"type\": \"object\",\n \"required\": [\n \"fields\",\n \"id\",\n \"sort\"\n ],\n \"properties\": {\n \"fields\": {\n \"type\": \"array\",\n \"description\": \"字段值列表\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"title\",\n \"value\"\n ],\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"字段名称\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"字段显示文字\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"字段值\"\n }\n },\n \"title\": \"SystemFormItemCheckRequest对象\",\n \"description\": \"表单字段明细\",\n \"$$ref\": \"#/definitions/SystemFormItemCheckRequest对象\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单名称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(1:开启;0:关闭;)\"\n }\n },\n \"title\": \"SystemFormCheckRequest对象\",\n \"description\": \"整体保存表单数据\",\n \"$$ref\": \"#/definitions/SystemFormCheckRequest对象\"\n },\n \"gid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"对应的数据组id\"\n }\n },\n \"title\": \"SystemGroupDataRequest对象\",\n \"description\": \"组合数据详情表\",\n \"$$ref\": \"#/definitions/SystemGroupDataRequest对象\"\n}", + "project_id": 52, + "catid": 4514, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/group/data/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6670, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/group/data/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f966", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"gid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"对应的数据组id\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"组合数据详情ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"数据排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(1:开启;0:关闭;)\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"数据组对应的数据值(json数据)\"\n }\n },\n \"title\": \"SystemGroupData对象\",\n \"description\": \"组合数据详情表\",\n \"$$ref\": \"#/definitions/SystemGroupData对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemGroupData对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemGroupData对象»\"\n}", + "project_id": 52, + "catid": 4514, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 表单模板", + "desc": "System Form Temp Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/system/form/temp/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6666, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/form/temp/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f963", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f964", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"content\",\n \"info\",\n \"name\"\n ],\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"表单内容\"\n },\n \"info\": {\n \"type\": \"string\",\n \"description\": \"表单简介\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"表单名称\"\n }\n },\n \"title\": \"SystemFormTempRequest对象\",\n \"description\": \"表单模板\",\n \"$$ref\": \"#/definitions/SystemFormTempRequest对象\"\n}", + "project_id": 52, + "catid": 4523, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/form/temp/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6662, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/form/temp/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f961", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f960", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a4bc7e8e560914f95f", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"表单内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单模板id\"\n },\n \"info\": {\n \"type\": \"string\",\n \"description\": \"表单简介\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"表单名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"SystemFormTemp对象\",\n \"description\": \"表单模板\",\n \"$$ref\": \"#/definitions/SystemFormTemp对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemFormTemp对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemFormTemp对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemFormTemp对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemFormTemp对象»»\"\n}", + "project_id": 52, + "catid": 4523, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/form/temp/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6664, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/form/temp/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a4bc7e8e560914f962", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"content\",\n \"info\",\n \"name\"\n ],\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"表单内容\"\n },\n \"info\": {\n \"type\": \"string\",\n \"description\": \"表单简介\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"表单名称\"\n }\n },\n \"title\": \"SystemFormTempRequest对象\",\n \"description\": \"表单模板\",\n \"$$ref\": \"#/definitions/SystemFormTempRequest对象\"\n}", + "project_id": 52, + "catid": 4523, + "uid": 93, + "add_time": 1597368484, + "up_time": 1597368484, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/form/temp/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6660, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/form/temp/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f95e", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"表单内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"表单模板id\"\n },\n \"info\": {\n \"type\": \"string\",\n \"description\": \"表单简介\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"表单名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"SystemFormTemp对象\",\n \"description\": \"表单模板\",\n \"$$ref\": \"#/definitions/SystemFormTemp对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemFormTemp对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemFormTemp对象»\"\n}", + "project_id": 52, + "catid": 4523, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "设置 -- 通知记录 -- 通知模板", + "desc": "System Notice Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/system/notice/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6706, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/notice/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9b9", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c3", + "name": "icon", + "desc": "图标" + }, + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9c2", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c1", + "name": "id", + "desc": "通知模板id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9c0", + "name": "pushAdmin", + "desc": "通知管理员id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9bf", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9be", + "name": "tableTitle", + "desc": "通知数据" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9bd", + "name": "template", + "desc": "通知模板" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9bc", + "name": "title", + "desc": "通知标题" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9bb", + "name": "type", + "desc": "通知类型" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9ba", + "name": "url", + "desc": "链接" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4532, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/notice/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6702, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/notice/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9ae", + "name": "icon", + "desc": "图标" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9ad", + "name": "id", + "desc": "通知模板id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9ac", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9ab", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9aa", + "name": "pushAdmin", + "desc": "通知管理员id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a9", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a8", + "name": "tableTitle", + "desc": "通知数据" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a7", + "name": "template", + "desc": "通知模板" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a6", + "name": "title", + "desc": "通知标题" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a5", + "name": "type", + "desc": "通知类型" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9a4", + "name": "url", + "desc": "链接" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"图标\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"通知模板id\"\n },\n \"pushAdmin\": {\n \"type\": \"string\",\n \"description\": \"通知管理员id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"tableTitle\": {\n \"type\": \"string\",\n \"description\": \"通知数据\"\n },\n \"template\": {\n \"type\": \"string\",\n \"description\": \"通知模板\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"通知标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"通知类型\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"链接\"\n }\n },\n \"title\": \"SystemNotice对象\",\n \"description\": \"通知模板表\",\n \"$$ref\": \"#/definitions/SystemNotice对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemNotice对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemNotice对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemNotice对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemNotice对象»»\"\n}", + "project_id": 52, + "catid": 4532, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/notice/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6698, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/notice/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9a2", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4532, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/notice/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6704, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/notice/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9af", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b8", + "name": "icon", + "desc": "图标" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b7", + "name": "id", + "desc": "通知模板id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b6", + "name": "pushAdmin", + "desc": "通知管理员id" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b5", + "name": "status", + "desc": "状态" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b4", + "name": "tableTitle", + "desc": "通知数据" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b3", + "name": "template", + "desc": "通知模板" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b2", + "name": "title", + "desc": "通知标题" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b1", + "name": "type", + "desc": "通知类型" + }, + { + "required": "0", + "_id": "5f35e8a5bc7e8e560914f9b0", + "name": "url", + "desc": "链接" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4532, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/notice/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6700, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/notice/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a5bc7e8e560914f9a3", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"图标\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"通知模板id\"\n },\n \"pushAdmin\": {\n \"type\": \"string\",\n \"description\": \"通知管理员id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"tableTitle\": {\n \"type\": \"string\",\n \"description\": \"通知数据\"\n },\n \"template\": {\n \"type\": \"string\",\n \"description\": \"通知模板\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"通知标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"通知类型\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"链接\"\n }\n },\n \"title\": \"SystemNotice对象\",\n \"description\": \"通知模板表\",\n \"$$ref\": \"#/definitions/SystemNotice对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemNotice对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemNotice对象»\"\n}", + "project_id": 52, + "catid": 4532, + "uid": 93, + "add_time": 1597368485, + "up_time": 1597368485, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "财务 -- 充值", + "desc": "User Recharge Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/user/topUpLog/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6832, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/user/topUpLog/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa97", + "name": "endTime", + "desc": "结束时间" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa96", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa95", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa94", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa93", + "name": "paid", + "desc": "是否充值" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa92", + "name": "startTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e8acbc7e8e560914fa91", + "name": "status", + "desc": "-1 未通过 0 审核中 1 已提现" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"充值时间\"\n },\n \"givePrice\": {\n \"type\": \"number\",\n \"description\": \"购买赠送金额\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"paid\": {\n \"type\": \"boolean\",\n \"description\": \"是否充值\"\n },\n \"payTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"充值支付时间\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"充值金额\"\n },\n \"rechargeType\": {\n \"type\": \"string\",\n \"description\": \"充值类型\"\n },\n \"refundPrice\": {\n \"type\": \"number\",\n \"description\": \"退款金额\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"充值用户UID\"\n }\n },\n \"title\": \"UserRecharge对象\",\n \"description\": \"用户充值表\",\n \"$$ref\": \"#/definitions/UserRecharge对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserRecharge对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserRecharge对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserRecharge对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserRecharge对象»»\"\n}", + "project_id": 52, + "catid": 4541, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/topUpLog/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6830, + "method": "GET", + "title": "删除", + "path": "/api/admin/user/topUpLog/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa90", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4541, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/user/topUpLog/balance", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6828, + "method": "POST", + "title": "提现总金额", + "path": "/api/admin/user/topUpLog/balance", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa8f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"number\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,bigdecimal»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,bigdecimal»»\"\n}", + "project_id": 52, + "catid": 4541, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "财务 -- 提现申请", + "desc": "User Extract Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/finance/apply/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6440, + "method": "POST", + "title": "修改", + "path": "/api/admin/finance/apply/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f848", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35e899bc7e8e560914f850", + "name": "alipayCode", + "desc": "支付宝账号" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f84f", + "name": "bankCode", + "desc": "银行卡" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f84e", + "name": "bankname", + "desc": "提现银行名称" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f84d", + "name": "extractPrice", + "desc": "提现金额" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f84c", + "name": "extractType", + "desc": "提现方式| alipay=支付宝,bank=银行卡,weixin=微信" + }, + { + "required": "1", + "_id": "5f35e899bc7e8e560914f84b", + "name": "id", + "desc": "id" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f84a", + "name": "realName", + "desc": "姓名" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f849", + "name": "wechat", + "desc": "微信号" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4550, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/finance/apply/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6438, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/finance/apply/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e899bc7e8e560914f847", + "name": "endTime", + "desc": "结束时间" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f846", + "name": "extractType", + "desc": "bank = 银行卡 alipay = 支付宝wx=微信" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f845", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f844", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f843", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f842", + "name": "startTime", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f841", + "name": "status", + "desc": "-1 未通过 0 审核中 1 已提现" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"alipayCode\": {\n \"type\": \"string\",\n \"description\": \"支付宝账号\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"金额\"\n },\n \"bankAddress\": {\n \"type\": \"string\",\n \"description\": \"开户地址\"\n },\n \"bankCode\": {\n \"type\": \"string\",\n \"description\": \"银行卡\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"extractPrice\": {\n \"type\": \"number\",\n \"description\": \"提现金额\"\n },\n \"extractType\": {\n \"type\": \"string\",\n \"description\": \"bank = 银行卡 alipay = 支付宝wx=微信\"\n },\n \"failMsg\": {\n \"type\": \"string\",\n \"description\": \"无效原因\"\n },\n \"failTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"失败时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"名称\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"-1 未通过 0 审核中 1 已提现\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"wechat\": {\n \"type\": \"string\",\n \"description\": \"微信号\"\n }\n },\n \"title\": \"UserExtract对象\",\n \"description\": \"用户提现表\",\n \"$$ref\": \"#/definitions/UserExtract对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserExtract对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserExtract对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserExtract对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserExtract对象»»\"\n}", + "project_id": 52, + "catid": 4550, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/finance/apply/balance", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6436, + "method": "POST", + "title": "提现总金额", + "path": "/api/admin/finance/apply/balance", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e899bc7e8e560914f840", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"commissionTotal\": {\n \"type\": \"number\",\n \"description\": \"佣金总金额\"\n },\n \"toBeWithdrawn\": {\n \"type\": \"number\"\n },\n \"unDrawn\": {\n \"type\": \"number\",\n \"description\": \"未提现\"\n },\n \"withdrawn\": {\n \"type\": \"number\",\n \"description\": \"已提现\"\n }\n },\n \"title\": \"BalanceResponse对象\",\n \"description\": \"提现金额\",\n \"$$ref\": \"#/definitions/BalanceResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«BalanceResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«BalanceResponse对象»\"\n}", + "project_id": 52, + "catid": 4550, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "财务 -- 资金监控", + "desc": "Funds Monitor Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/finance/founds/monitor/list/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6444, + "method": "GET", + "title": "佣金记录", + "path": "/api/admin/finance/founds/monitor/list/user", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e899bc7e8e560914f865", + "name": "endTime" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f864", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f863", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f862", + "name": "max", + "desc": "最大佣金" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f861", + "name": "min", + "desc": "最小佣金" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f860", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f85f", + "name": "sort", + "desc": "排序 asc/desc" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f85e", + "name": "type", + "desc": "类型" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"账户佣金\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"账户余额\"\n },\n \"totalBrokerage\": {\n \"type\": \"number\",\n \"description\": \"账户总佣金\"\n },\n \"totalExtract\": {\n \"type\": \"number\",\n \"description\": \"提现总金额\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"充值用户UID\"\n }\n },\n \"title\": \"UserFundsMonitor对象\",\n \"description\": \"佣金\",\n \"$$ref\": \"#/definitions/UserFundsMonitor对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserFundsMonitor对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserFundsMonitor对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserFundsMonitor对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserFundsMonitor对象»»\"\n}", + "project_id": 52, + "catid": 4559, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/finance/founds/monitor/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6442, + "method": "GET", + "title": "资金监控", + "path": "/api/admin/finance/founds/monitor/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e899bc7e8e560914f85d", + "name": "category", + "desc": "类型" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f85c", + "name": "dateLimit", + "desc": "添加时间" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f85b", + "name": "keywords", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f85a", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f859", + "name": "linkId", + "desc": "关联id" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f858", + "name": "max", + "desc": "最大佣金" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f857", + "name": "min", + "desc": "最小佣金" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f856", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f855", + "name": "pm", + "desc": "操作类型" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f854", + "name": "sort", + "desc": "排序 asc/desc" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f853", + "name": "type", + "desc": "类型" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f852", + "name": "uid", + "desc": "用户id list" + }, + { + "required": "0", + "_id": "5f35e899bc7e8e560914f851", + "name": "userIdList", + "desc": "用户id list" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"add_time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"剩余\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"明细种类\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户账单id\"\n },\n \"linkId\": {\n \"type\": \"string\",\n \"description\": \"关联id\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"nickName\": {\n \"type\": \"string\",\n \"description\": \"用户呢成\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"明细数字\"\n },\n \"pm\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 支出 1 = 获得\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 带确定 1 = 有效 -1 = 无效\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"账单标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"明细类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserBill对象\",\n \"description\": \"用户账单表\",\n \"$$ref\": \"#/definitions/UserBill对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserBill对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserBill对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserBill对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserBill对象»»\"\n}", + "project_id": 52, + "catid": 4559, + "uid": 93, + "add_time": 1597368473, + "up_time": 1597368473, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "附件管理", + "desc": "System Attachment Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/system/attachment/update", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6638, + "method": "POST", + "title": "修改", + "path": "/api/admin/system/attachment/update", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f94c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f94d", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"attDir\": {\n \"type\": \"string\",\n \"description\": \"附件路径\"\n },\n \"attId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"attSize\": {\n \"type\": \"string\",\n \"description\": \"附件大小\"\n },\n \"attType\": {\n \"type\": \"string\",\n \"description\": \"附件类型\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"imageType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"图片上传类型 1本地 2七牛云 3OSS 4COS \"\n },\n \"model\": {\n \"type\": \"string\",\n \"description\": \"模块,store\"\n },\n \"moduleType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"图片上传模块类型 1 后台上传 2 用户生成\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"附件名称\"\n },\n \"rootDir\": {\n \"type\": \"string\",\n \"description\": \"服务器上存储的绝对地址\"\n },\n \"sattDir\": {\n \"type\": \"string\",\n \"description\": \"压缩图片路径\"\n }\n },\n \"title\": \"SystemAttachmentRequest\",\n \"$$ref\": \"#/definitions/SystemAttachmentRequest\"\n}", + "project_id": 52, + "catid": 4568, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/attachment/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6632, + "method": "GET", + "title": "分页列表", + "path": "/api/admin/system/attachment/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f949", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35e8a2bc7e8e560914f948", + "name": "page", + "desc": "页码" + }, + { + "required": "1", + "_id": "5f35e8a2bc7e8e560914f947", + "name": "pid", + "desc": "pid" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"attDir\": {\n \"type\": \"string\",\n \"description\": \"附件路径\"\n },\n \"attId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"attSize\": {\n \"type\": \"string\",\n \"description\": \"附件大小\"\n },\n \"attType\": {\n \"type\": \"string\",\n \"description\": \"附件类型\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"imageType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"图片上传类型 1本地 2七牛云 3OSS 4COS \"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"附件名称\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列\"\n },\n \"sattDir\": {\n \"type\": \"string\",\n \"description\": \"压缩图片路径\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"SystemAttachment对象\",\n \"description\": \"附件管理表\",\n \"$$ref\": \"#/definitions/SystemAttachment对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemAttachment对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemAttachment对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemAttachment对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemAttachment对象»»\"\n}", + "project_id": 52, + "catid": 4568, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/attachment/delete/{ids}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6628, + "method": "GET", + "title": "删除", + "path": "/api/admin/system/attachment/delete/{ids}", + "req_params": [ + { + "_id": "5f35e8a2bc7e8e560914f945", + "name": "ids", + "desc": "ids" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 52, + "catid": 4568, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/attachment/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6636, + "method": "POST", + "title": "新增", + "path": "/api/admin/system/attachment/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f94b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"attDir\": {\n \"type\": \"string\",\n \"description\": \"附件路径\"\n },\n \"attId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"attSize\": {\n \"type\": \"string\",\n \"description\": \"附件大小\"\n },\n \"attType\": {\n \"type\": \"string\",\n \"description\": \"附件类型\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"imageType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"图片上传类型 1本地 2七牛云 3OSS 4COS \"\n },\n \"model\": {\n \"type\": \"string\",\n \"description\": \"模块,store\"\n },\n \"moduleType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"图片上传模块类型 1 后台上传 2 用户生成\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"附件名称\"\n },\n \"rootDir\": {\n \"type\": \"string\",\n \"description\": \"服务器上存储的绝对地址\"\n },\n \"sattDir\": {\n \"type\": \"string\",\n \"description\": \"压缩图片路径\"\n }\n },\n \"title\": \"SystemAttachmentRequest\",\n \"$$ref\": \"#/definitions/SystemAttachmentRequest\"\n}", + "project_id": 52, + "catid": 4568, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/attachment/move", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6634, + "method": "POST", + "title": "更改图片目录", + "path": "/api/admin/system/attachment/move", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35e8a3bc7e8e560914f94a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"attrId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"SystemAttachmentMoveRequest\",\n \"$$ref\": \"#/definitions/SystemAttachmentMoveRequest\"\n}", + "project_id": 52, + "catid": 4568, + "uid": 93, + "add_time": 1597368483, + "up_time": 1597368483, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/system/attachment/info/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6630, + "method": "GET", + "title": "详情", + "path": "/api/admin/system/attachment/info/{id}", + "req_params": [ + { + "_id": "5f35e8a2bc7e8e560914f946", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"attDir\": {\n \"type\": \"string\",\n \"description\": \"附件路径\"\n },\n \"attId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"attSize\": {\n \"type\": \"string\",\n \"description\": \"附件大小\"\n },\n \"attType\": {\n \"type\": \"string\",\n \"description\": \"附件类型\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"imageType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"图片上传类型 1本地 2七牛云 3OSS 4COS \"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"附件名称\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列\"\n },\n \"sattDir\": {\n \"type\": \"string\",\n \"description\": \"压缩图片路径\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"SystemAttachment对象\",\n \"description\": \"附件管理表\",\n \"$$ref\": \"#/definitions/SystemAttachment对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemAttachment对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemAttachment对象»\"\n}", + "project_id": 52, + "catid": 4568, + "uid": 93, + "add_time": 1597368482, + "up_time": 1597368482, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "验证码服务", + "desc": "Validate Code Controller", + "add_time": 1597368471, + "up_time": 1597368471, + "list": [ + { + "query_path": { + "path": "/api/admin/validate/code/check", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6838, + "method": "GET", + "title": "检测验证码", + "path": "/api/admin/validate/code/check", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa9c", + "name": "code", + "desc": "code" + }, + { + "required": "1", + "_id": "5f35e8acbc7e8e560914fa9b", + "name": "key", + "desc": "key" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 52, + "catid": 4577, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + }, + { + "query_path": { + "path": "/api/admin/validate/code/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 6840, + "method": "GET", + "title": "获取验证码", + "path": "/api/admin/validate/code/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"required\": [\n \"code\",\n \"key\"\n ],\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n \"description\": \"code\"\n },\n \"key\": {\n \"type\": \"string\",\n \"description\": \"key\"\n }\n },\n \"title\": \"ValidateCode对象\",\n \"description\": \"验证码类\",\n \"$$ref\": \"#/definitions/ValidateCode对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«ValidateCode对象»\",\n \"$$ref\": \"#/definitions/CommonResult«ValidateCode对象»\"\n}", + "project_id": 52, + "catid": 4577, + "uid": 93, + "add_time": 1597368492, + "up_time": 1597368492, + "__v": 0 + } + ] + } +] \ No newline at end of file diff --git a/接口文档/admin/admin_api.md b/接口文档/admin/admin_api.md new file mode 100644 index 00000000..7f90b298 --- /dev/null +++ b/接口文档/admin/admin_api.md @@ -0,0 +1,9627 @@ + +

crmeb_java_admin

+ crmeb_java_admin + + +# Admin 平台用户 + +## AdminUserLogin + +### 基本信息 + +**Path:** /api/admin/login + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
accountstring非必须后台管理员账号
codestring必须code
keystring必须key
pwdstring非必须后台管理员密码
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ accountstring非必须
├─ addTimeinteger非必须

format: int32

├─ idinteger非必须

format: int32

├─ lastIpstring非必须
├─ lastTimeinteger非必须

format: int32

├─ levelinteger非必须

format: int32

├─ loginCountinteger非必须

format: int32

├─ realNamestring非必须
├─ rolesstring非必须
├─ statusboolean非必须
├─ tokenstring非必须
messagestring非必须
+ +## AdminUserLogout + +### 基本信息 + +**Path:** /api/admin/logout + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ accountstring非必须
├─ addTimeinteger非必须

format: int32

├─ idinteger非必须

format: int32

├─ lastIpstring非必须
├─ lastTimeinteger非必须

format: int32

├─ levelinteger非必须

format: int32

├─ loginCountinteger非必须

format: int32

├─ realNamestring非必须
├─ rolesstring非必须
├─ statusboolean非必须
├─ tokenstring非必须
messagestring非必须
+ +## GetAdminUserByToken + +### 基本信息 + +**Path:** /api/admin/getAdminInfoByToken + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ accountstring非必须
├─ addTimeinteger非必须

format: int32

├─ idinteger非必须

format: int32

├─ lastIpstring非必须
├─ lastTimeinteger非必须

format: int32

├─ levelinteger非必须

format: int32

├─ loginCountinteger非必须

format: int32

├─ realNamestring非必须
├─ rolesstring非必须
├─ statusboolean非必须
├─ tokenstring非必须
messagestring非必须
+ +## 获取登录页图片 + +### 基本信息 + +**Path:** /api/admin/getLoginPic + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 上传文件 + +## 同步到云服务 + +### 基本信息 + +**Path:** /api/admin/upload/async + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ extNamestring非必须
├─ fileNamestring非必须
├─ fileSizeinteger非必须

format: int64

├─ serverPathstring非必须
├─ typestring非必须
├─ urlstring非必须
messagestring非必须
+ +## 图片上传 + +### 基本信息 + +**Path:** /api/admin/upload/image + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | multipart/form-data | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| model | 否 | | 模块 用户user,商品product,微信wechat,news文章 | +| pid | 否 | | 分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 | +**Body** + +| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| multipart | file | 否 | | multipart | + + + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ extNamestring非必须
├─ fileNamestring非必须
├─ fileSizeinteger非必须

format: int64

├─ serverPathstring非必须
├─ typestring非必须
├─ urlstring非必须
messagestring非必须
+ +## 文件上传 + +### 基本信息 + +**Path:** /api/admin/upload/file + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | multipart/form-data | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| model | 否 | | 模块 用户user,商品product,微信wechat,news文章 | +| pid | 否 | | 分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 | +**Body** + +| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| multipart | file | 否 | | multipart | + + + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ extNamestring非必须
├─ fileNamestring非必须
├─ fileSizeinteger非必须

format: int64

├─ serverPathstring非必须
├─ typestring非必须
├─ urlstring非必须
messagestring非必须
+ +# 会员 -- 分组 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/user/group/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
groupNamestring非必须用户分组名称
idinteger非必须

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/user/group/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ groupNamestring非必须用户分组名称
├─ idinteger非必须

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/user/group/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/user/group/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
groupNamestring非必须用户分组名称
idinteger非必须

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/user/group/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户分组表
├─ groupNamestring非必须用户分组名称
├─ idinteger非必须

format: int32

messagestring非必须
+ +# 会员 -- 标签 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/user/tag/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
namestring非必须标签名称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/user/tag/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ idinteger非必须

format: int32

├─ namestring非必须标签名称
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/user/tag/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/user/tag/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
namestring非必须标签名称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/user/tag/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户标签表
├─ idinteger非必须

format: int32

├─ namestring非必须标签名称
messagestring非必须
+ +# 会员 -- 等级 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/user/level/level + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| levelId | 是 | | 等级ID | +| userId | 是 | | 会员ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/user/level/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 添加时间 | +| discount | 否 | | 享受折扣 | +| grade | 否 | | 会员等级 | +| isDel | 否 | | 是否删除,0=未删除,1=删除 | +| isForever | 否 | | 是否永久 | +| levelId | 否 | | 等级vip | +| limit | 否 | | 每页数量 | +| mark | 否 | | 备注 | +| merId | 否 | | 商户id | +| page | 否 | | 页码 | +| remind | 否 | | 是否已通知 | +| status | 否 | | 0:禁止,1:正常 | +| uid | 否 | | 用户uid | +| validTime | 否 | | 过期时间 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ discountnumber非必须享受折扣
├─ gradeinteger非必须会员等级

format: int32

├─ idinteger非必须

format: int32

├─ isDelboolean非必须是否删除,0=未删除,1=删除
├─ levelIdinteger非必须等级vip

format: int32

├─ markstring非必须备注
├─ remindboolean非必须是否已通知
├─ statusboolean非必须0:禁止,1:正常
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 清除会员等级 + +### 基本信息 + +**Path:** /api/admin/user/level/clean + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| userId | 是 | | 会员ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +# 会员管理 + +## 会员详情 + +### 基本信息 + +**Path:** /api/admin/user/infobycondition + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 是 | | 0=消费记录,1=积分明细,2=签到记录,3=持有优惠券,4=余额变动,5=好友关系 | +| userId | 是 | | | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 会员详情页Top数据 + +### 基本信息 + +**Path:** /api/admin/user/topdetail + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| userId | 是 | | userId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ allConsumeCountnumber非必须
├─ allOrderCountinteger非必须

format: int32

├─ balancenumber非必须
├─ integralCountnumber非必须
├─ mothConsumeCountnumber非必须
├─ mothOrderCountinteger非必须

format: int32

├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 修改 + +### 基本信息 + +**Path:** /api/admin/user/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
addresstring非必须详细地址
birthdaystring非必须生日
cardIdstring非必须身份证号码
groupIdstring非必须用户分组id
isPromoterboolean非必须是否为推广员
levelinteger非必须等级

format: int32

markstring非必须用户备注
phonestring非必须手机号码
realNamestring非必须真实姓名
statusboolean非必须状态是否正常, 0 = 禁止, 1 = 正常
tagIdstring非必须用户标签id
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分组 + +### 基本信息 + +**Path:** /api/admin/user/group + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| groupId | 是 | | groupId | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/user/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| accessType | 否 | | 访问情况, 0 = 全部, 1 = 首次, 2 = 访问过, 3 = 未访问 | +| city | 否 | | 城市 | +| country | 否 | | 国家 | +| data | 否 | | 时间 | +| groupId | 否 | | 用户分组 | +| isPromoter | 否 | | 是否为推广员, 0 = 禁止, 1 = 正常 | +| keywords | 否 | | 关键字 | +| labelId | 否 | | 用户标签 | +| level | 否 | | 等级 | +| limit | 否 | | 每页数量 | +| loginType | 否 | | 用户登陆类型,h5 = h5, wechat = wechat,routine = routine | +| page | 否 | | 页码 | +| payCount | 否 | | 消费情况 | +| province | 否 | | 省份 | +| sex | 否 | | 性别 | +| status | 否 | | 状态是否正常, 0 = 禁止, 1 = 正常 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须清除时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdinteger非必须用户分组id

format: int32

├─ groupNamestring非必须分组名称
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadNicknamestring非必须推广员名称
├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ tagNamestring非必须标签名称
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/user/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 标签 + +### 基本信息 + +**Path:** /api/admin/user/tag + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| tagId | 是 | | tagId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 积分余额 + +### 基本信息 + +**Path:** /api/admin/user/operate/founds + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| integralType | 否 | | 积分类型, 1 = 增加, 2 = 减少 | +| integralValue | 否 | | 积分 | +| moneyType | 否 | | 余额类型, 1 = 增加, 2 = 减少 | +| moneyValue | 否 | | 余额 | +| uid | 否 | | uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/user/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +# 会员管理 -- 用户账单 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/user/bill/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| balance | 否 | | 剩余 | +| category | 否 | | 明细种类 | +| id | 是 | | id | +| linkId | 否 | | 关联id | +| mark | 否 | | 备注 | +| number | 否 | | 明细数字 | +| pm | 否 | | 0 = 支出 1 = 获得 | +| status | 否 | | 0 = 带确定 1 = 有效 -1 = 无效 | +| title | 否 | | 账单标题 | +| type | 否 | | 明细类型 | +| uid | 否 | | 用户uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/user/bill/list + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
categorystring非必须类型
dateLimitstring非必须添加时间
keywordsstring非必须搜索关键字
maxnumber非必须最大佣金
minnumber非必须最小佣金
sortstring非必须排序 asc/desc
typestring非必须类型
uidinteger非必须用户id list

format: int32

userIdListinteger []非必须用户id list

item 类型: integer

├─ 非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ add_timestring非必须创建时间

format: date-time

├─ balancenumber非必须剩余
├─ categorystring非必须明细种类
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须用户账单id

format: int32

├─ linkIdstring非必须关联id
├─ markstring非必须备注
├─ nickNamestring非必须用户呢成
├─ numbernumber非必须明细数字
├─ pminteger非必须0 = 支出 1 = 获得

format: int32

├─ statusinteger非必须0 = 带确定 1 = 有效 -1 = 无效

format: int32

├─ titlestring非必须账单标题
├─ typestring非必须明细类型
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/user/bill/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/user/bill/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| balance | 否 | | 剩余 | +| category | 否 | | 明细种类 | +| linkId | 否 | | 关联id | +| mark | 否 | | 备注 | +| number | 否 | | 明细数字 | +| pm | 否 | | 0 = 支出 1 = 获得 | +| status | 否 | | 0 = 带确定 1 = 有效 -1 = 无效 | +| title | 否 | | 账单标题 | +| type | 否 | | 明细类型 | +| uid | 否 | | 用户uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/user/bill/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户账单表
├─ add_timestring非必须创建时间

format: date-time

├─ balancenumber非必须剩余
├─ categorystring非必须明细种类
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须用户账单id

format: int32

├─ linkIdstring非必须关联id
├─ markstring非必须备注
├─ nickNamestring非必须用户呢成
├─ numbernumber非必须明细数字
├─ pminteger非必须0 = 支出 1 = 获得

format: int32

├─ statusinteger非必须0 = 带确定 1 = 有效 -1 = 无效

format: int32

├─ titlestring非必须账单标题
├─ typestring非必须明细类型
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

messagestring非必须
+ +# 分类服务 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/category/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| extra | 否 | | 扩展字段 | +| id | 否 | | 分类ID | +| name | 否 | | 分类名称 | +| pid | 否 | | 父级ID | +| sort | 否 | | 排序 | +| status | 否 | | 状态, 0正常,1失效 | +| type | 否 | | 类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 | +| url | 否 | | 地址 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/category/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| name | 否 | | 分类名称 | +| page | 否 | | 页码 | +| pid | 否 | | 父级ID | +| status | 否 | | 状态, 0正常,1失效 | +| type | 否 | | 类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/category/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 分类ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/category/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| extra | 否 | | 扩展字段 | +| name | 否 | | 分类名称 | +| pid | 否 | | 父级ID | +| sort | 否 | | 排序 | +| status | 否 | | 状态, 0正常,1失效 | +| type | 否 | | 类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 | +| url | 否 | | 地址 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 根据id集合获取分类列表 + +### 基本信息 + +**Path:** /api/admin/category/list/ids + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| ids | 否 | | 分类id集合 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
messagestring非必须
+ +## 获取tree结构的列表 + +### 基本信息 + +**Path:** /api/admin/category/list/tree + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| status | 否 | | -1=全部,0=未生效,1=已生效 | +| type | 否 | | 类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ child []非必须
├─ 非必须
├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/category/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 分类ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须分类表
├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
messagestring非必须
+ +# 分销 + +## 分销列表 + +### 基本信息 + +**Path:** /api/admin/store/retail/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| dateLimit | 否 | | today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/ | +| keywords | 否 | | 搜索关键字[身份证,手机,昵称,备注等] | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokerageMoneynumber非必须佣金数据
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须清除时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdinteger非必须用户分组id

format: int32

├─ groupNamestring非必须分组名称
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ retailShopOrderDataResponseobject非必须
├─ orderCountinteger非必须订单数量

format: int32

├─ orderPricenumber非必须订单总价
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadNicknamestring非必须推广员名称
├─ spreadPeopleCountinteger非必须推广用户数量

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ tagNamestring非必须标签名称
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userExtractResponseobject非必须
├─ extractCountNuminteger非必须提现次数

format: int32

├─ extractCountPricenumber非必须体现数据总额
├─ userTypestring非必须用户类型
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 分销头部数据 + +### 基本信息 + +**Path:** /api/admin/store/retail/statistics + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| dateLimit | 否 | | today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/ | +| nickName | 否 | | 昵称 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 分销管理信息保存 + +### 基本信息 + +**Path:** /api/admin/store/retail/spread/manage/set + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
brokerageBindindstring非必须分销关系绑定
brokerageFuncStatusstring非必须是否启用分销
extractTimestring非必须冻结时间
storeBrokeragePricestring非必须人人分销满足金额
storeBrokerageRatiostring非必须一级返佣比例
storeBrokerageStatusstring非必须分销模式
storeBrokerageTwostring非必须二级返佣比例
userExtractBankstring非必须提现银行
userExtractMinPricestring非必须用户提现最低金额
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 分销配置信息获取 + +### 基本信息 + +**Path:** /api/admin/store/retail/spread/manage/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 根据条件获取推广人列表 + +### 基本信息 + +**Path:** /api/admin/store/retail/spread/userlist + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
dateLimitstring非必须时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/
nickNamestring非必须搜索关键字
orderPriceIdstring非必须
typeinteger非必须类型 null = 全部 1=一级推广人 2=二级推广人

format: int32

uidinteger非必须用户id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 根据条件获取推广人订单 + +### 基本信息 + +**Path:** /api/admin/store/retail/spread/orderlist + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
dateLimitstring非必须时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/
nickNamestring非必须搜索关键字
orderPriceIdstring非必须
typeinteger非必须类型 null = 全部 1=一级推广人 2=二级推广人

format: int32

uidinteger非必须用户id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ backIntegralnumber非必须给用户退了多少积分
├─ bargainIdinteger非必须砍价id

format: int32

├─ clerkIdinteger非必须店员id

format: int32

├─ combinationIdinteger非必须拼团商品id0一般商品

format: int32

├─ costnumber非必须成本价
├─ couponIdinteger非必须优惠券id

format: int32

├─ couponPricenumber非必须优惠券金额
├─ createTimestring非必须创建时间

format: date-time

├─ deductionPricenumber非必须抵扣金额
├─ deliveryIdstring非必须快递单号/手机号
├─ deliveryNamestring非必须快递名称/送货人姓名
├─ deliveryTypestring非必须发货类型
├─ freightPricenumber非必须运费金额
├─ gainIntegralnumber非必须消费赚取积分
├─ idinteger非必须订单ID

format: int32

├─ isChannelinteger非必须支付渠道(0微信公众号1微信小程序)

format: int32

├─ isDelboolean非必须是否删除
├─ isMerCheckinteger非必须

format: int32

├─ isRemindboolean非必须消息提醒
├─ isSystemDelboolean非必须后台是否删除
├─ markstring非必须备注
├─ merIdinteger非必须商户ID

format: int32

├─ orderIdstring非必须订单号
├─ paidboolean非必须支付状态
├─ payPostagenumber非必须支付邮费
├─ payPricenumber非必须实际支付金额
├─ payTimestring非必须支付时间

format: date-time

├─ payTypestring非必须支付方式
├─ pinkIdinteger非必须拼团id 0没有拼团

format: int32

├─ realNamestring非必须用户姓名
├─ refundPricenumber非必须退款金额
├─ refundReasonstring非必须不退款的理由
├─ refundReasonTimestring非必须退款时间

format: date-time

├─ refundReasonWapstring非必须前台退款原因
├─ refundReasonWapExplainstring非必须退款用户说明
├─ refundReasonWapImgstring非必须退款图片
├─ refundStatusinteger非必须0 未退款 1 申请中 2 已退款

format: int32

├─ remarkstring非必须管理员备注
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ shippingTypeinteger非必须配送方式 1=快递 ,2=门店自提

format: int32

├─ statusinteger非必须订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)

format: int32

├─ storeIdinteger非必须门店id

format: int32

├─ totalNuminteger非必须订单商品总数

format: int32

├─ totalPostagenumber非必须邮费
├─ totalPricenumber非必须订单总价
├─ uidinteger非必须用户id

format: int32

├─ uniquestring非必须唯一id(md5加密)类似id
├─ useIntegralnumber非必须使用积分
├─ userAddressstring非必须详细地址
├─ userPhonestring非必须用户电话
├─ verifyCodestring非必须核销码
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 添加推广关系 + +### 基本信息 + +**Path:** /api/admin/store/retail/spread/save + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| currentUserId | 否 | | 当前用户id | +| spreadUserId | 否 | | 推广人id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 清除上级推广人 + +### 基本信息 + +**Path:** /api/admin/store/retail/spread/clean/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 后台用户服务 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/admin/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 否 | | 后台管理员账号 | +| addTime | 否 | | 后台管理员添加时间 | +| id | 是 | | id | +| id | 否 | | 后台管理员表ID | +| isDel | 否 | | 是否删除 1删除 0未删除 | +| lastIp | 否 | | 后台管理员最后一次登录ip | +| lastTime | 否 | | 后台管理员最后一次登录时间 | +| level | 否 | | 后台管理员级别 | +| loginCount | 否 | | 登录次数 | +| pwd | 否 | | 后台管理员密码 | +| realName | 否 | | 后台管理员姓名 | +| roles | 否 | | 后台管理员权限(menus_id) | +| status | 否 | | 后台管理员状态 1有效0无效 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/admin/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 否 | | 后台管理员账号 | +| addTime | 否 | | 后台管理员添加时间 | +| id | 否 | | 后台管理员表ID | +| isDel | 否 | | 是否删除 1删除 0未删除 | +| lastIp | 否 | | 后台管理员最后一次登录ip | +| lastTime | 否 | | 后台管理员最后一次登录时间 | +| level | 否 | | 后台管理员级别 | +| limit | 否 | | 每页数量 | +| loginCount | 否 | | 登录次数 | +| page | 否 | | 页码 | +| pwd | 否 | | 后台管理员密码 | +| realName | 否 | | 后台管理员姓名 | +| roles | 否 | | 后台管理员权限(menus_id) | +| status | 否 | | 后台管理员状态 1有效0无效 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ accountstring非必须后台管理员账号
├─ addTimeinteger非必须后台管理员添加时间

format: int32

├─ idinteger非必须后台管理员表ID

format: int32

├─ isDelboolean非必须
├─ lastIpstring非必须后台管理员最后一次登录ip
├─ lastTimeinteger非必须后台管理员最后一次登录时间

format: int32

├─ levelinteger非必须后台管理员级别

format: int32

├─ loginCountinteger非必须登录次数

format: int32

├─ pwdstring非必须后台管理员密码
├─ realNamestring非必须后台管理员姓名
├─ rolesstring非必须后台管理员权限(menus_id)
├─ statusboolean非必须后台管理员状态 1有效0无效
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/admin/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/admin/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 是 | | 后台管理员账号 | +| level | 是 | | 后台管理员级别 | +| pwd | 是 | | 后台管理员密码 | +| realName | 是 | | 后台管理员姓名 | +| roles | 是 | | 后台管理员权限(menus_id) | +| status | 是 | | 后台管理员状态 1有效0无效 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ accountstring非必须
├─ addTimeinteger非必须

format: int32

├─ idinteger非必须

format: int32

├─ lastIpstring非必须
├─ lastTimeinteger非必须

format: int32

├─ levelinteger非必须

format: int32

├─ loginCountinteger非必须

format: int32

├─ realNamestring非必须
├─ rolesstring非必须
├─ statusboolean非必须
├─ tokenstring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/admin/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须后台管理员表
├─ accountstring非必须后台管理员账号
├─ addTimeinteger非必须后台管理员添加时间

format: int32

├─ idinteger非必须后台管理员表ID

format: int32

├─ isDelboolean非必须
├─ lastIpstring非必须后台管理员最后一次登录ip
├─ lastTimeinteger非必须后台管理员最后一次登录时间

format: int32

├─ levelinteger非必须后台管理员级别

format: int32

├─ loginCountinteger非必须登录次数

format: int32

├─ pwdstring非必须后台管理员密码
├─ realNamestring非必须后台管理员姓名
├─ rolesstring非必须后台管理员权限(menus_id)
├─ statusboolean非必须后台管理员状态 1有效0无效
messagestring非必须
+ +# 商品 + +## 上架 + +### 基本信息 + +**Path:** /api/admin/store/product/putOnShell/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 下架 + +### 基本信息 + +**Path:** /api/admin/store/product/offShell/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 修改 + +### 基本信息 + +**Path:** /api/admin/store/product/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
addTimeinteger非必须添加时间

format: int32

attrobject []非必须商品属性

item 类型: object

├─ attrNamestring非必须属性名
├─ attrValuesstring非必须属性值
├─ idinteger非必须attrId

format: int32

├─ productIdinteger非必须商品ID

format: int32

├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

attrValueobject []非必须商品属性详情

item 类型: object

├─ attrValueobject非必须attrValue字段,前端传递后用作sku字段
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须ID

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeboolean非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团
├─ uniquestring非必须唯一值
├─ updateTimestring非必须更新时间

format: date-time

├─ volumenumber非必须体积
├─ weightnumber非必须重量
barCodestring非必须商品条码(一维码)
browseinteger非必须浏览量

format: int32

cateIdstring非必须分类id
cateIdsinteger []非必须商品分类

item 类型: integer

├─ 非必须
codePathstring非必须商品二维码地址(用户小程序海报)
contentstring非必须商品描述
costnumber非必须成本价
couponIdsinteger []非必须优惠券id集合

item 类型: integer

├─ 非必须
fictiinteger非必须虚拟销量

format: int32

giveIntegralnumber非必须获得积分
idinteger非必须商品id

format: int32

imagestring非必须商品图片
isBargainboolean非必须砍价状态 0未开启 1开启
isBenefitboolean非必须是否优惠
isBestboolean非必须是否精品
isDelboolean非必须是否删除
isGoodboolean非必须是否优品推荐
isHotboolean非必须是否热卖
isNewboolean非必须是否新品
isPostageboolean非必须是否包邮
isSeckillboolean非必须秒杀状态 0 未开启 1已开启
isShowboolean非必须状态(0:未上架,1:上架)
isSubboolean非必须是否单独分佣
keywordstring非必须关键字
merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

merUseboolean非必须商户是否代理 0不可代理1可代理
otPricenumber非必须市场价
postagenumber非必须邮费
pricenumber非必须商品价格
salesinteger非必须销量

format: int32

sliderImagestring非必须轮播图
sortinteger非必须排序

format: int32

soureLinkstring非必须淘宝京东1688类型
specTypeboolean非必须规格 0单 1多
stockinteger非必须库存

format: int32

storeInfostring非必须商品简介
storeNamestring非必须商品名称
tempIdinteger非必须运费模板ID

format: int32

unitNamestring非必须单位名
videoLinkstring非必须主图视频链接
vipPricenumber非必须会员价格
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store/product/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cateId | 否 | | 分类ID, 多个逗号分隔 | +| isBenefit | 否 | | 是否优惠 | +| isBest | 否 | | 是否精品 | +| isGood | 否 | | 是否推荐 | +| isHot | 否 | | 是否热卖 | +| isNew | 否 | | 是否新品 | +| isShow | 否 | | 状态(0:未上架,1:上架) | +| keywords | 否 | | 关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码) | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 否 | | 类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站) | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/store/product/delete/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 商品表头数量 + +### 基本信息 + +**Path:** /api/admin/store/product/tabs/headers + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ countinteger非必须

format: int32

├─ namestring非必须
├─ typeinteger非必须

format: int32

messagestring非必须
+ +## 导入商品 + +### 基本信息 + +**Path:** /api/admin/store/product/importProduct + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| form | 是 | | 导入平台1=淘宝,2=京东,3=苏宁,4=拼多多, 5=天猫 | +| url | 是 | | URL | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须商品表
├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ attrobject []非必须商品属性

item 类型: object

├─ attrNamestring非必须属性名
├─ attrValuesstring非必须属性值
├─ idinteger非必须attrId

format: int32

├─ productIdinteger非必须商品ID

format: int32

├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

├─ attrValueobject []非必须商品属性详情

item 类型: object

├─ attrValueobject非必须attrValue字段,前端传递后用作sku字段
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须ID

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeboolean非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团
├─ uniquestring非必须唯一值
├─ updateTimestring非必须更新时间

format: date-time

├─ volumenumber非必须体积
├─ weightnumber非必须重量
├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ cateIdsinteger []非必须商品分类

item 类型: integer

├─ 非必须
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ contentstring非必须商品描述
├─ costnumber非必须成本价
├─ couponIdsinteger []非必须优惠券id集合

item 类型: integer

├─ 非必须
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
messagestring非必须
+ +## 库存变动 + +### 基本信息 + +**Path:** /api/admin/store/product/stock + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| idList | 是 | | 商品ID, 多个逗号分割,如果是修改所有的,参数值为 all | +| num | 是 | | 数量 | +| type | 是 | | 类型, 增加 add | 修改 update | 减少 diff | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/store/product/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
addTimeinteger非必须添加时间

format: int32

attrobject []非必须商品属性

item 类型: object

├─ attrNamestring非必须属性名
├─ attrValuesstring非必须属性值
├─ idinteger非必须attrId

format: int32

├─ productIdinteger非必须商品ID

format: int32

├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

attrValueobject []非必须商品属性详情

item 类型: object

├─ attrValueobject非必须attrValue字段,前端传递后用作sku字段
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须ID

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeboolean非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团
├─ uniquestring非必须唯一值
├─ updateTimestring非必须更新时间

format: date-time

├─ volumenumber非必须体积
├─ weightnumber非必须重量
barCodestring非必须商品条码(一维码)
browseinteger非必须浏览量

format: int32

cateIdstring非必须分类id
cateIdsinteger []非必须商品分类

item 类型: integer

├─ 非必须
codePathstring非必须商品二维码地址(用户小程序海报)
contentstring非必须商品描述
costnumber非必须成本价
couponIdsinteger []非必须优惠券id集合

item 类型: integer

├─ 非必须
fictiinteger非必须虚拟销量

format: int32

giveIntegralnumber非必须获得积分
idinteger非必须商品id

format: int32

imagestring非必须商品图片
isBargainboolean非必须砍价状态 0未开启 1开启
isBenefitboolean非必须是否优惠
isBestboolean非必须是否精品
isDelboolean非必须是否删除
isGoodboolean非必须是否优品推荐
isHotboolean非必须是否热卖
isNewboolean非必须是否新品
isPostageboolean非必须是否包邮
isSeckillboolean非必须秒杀状态 0 未开启 1已开启
isShowboolean非必须状态(0:未上架,1:上架)
isSubboolean非必须是否单独分佣
keywordstring非必须关键字
merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

merUseboolean非必须商户是否代理 0不可代理1可代理
otPricenumber非必须市场价
postagenumber非必须邮费
pricenumber非必须商品价格
salesinteger非必须销量

format: int32

sliderImagestring非必须轮播图
sortinteger非必须排序

format: int32

soureLinkstring非必须淘宝京东1688类型
specTypeboolean非必须规格 0单 1多
stockinteger非必须库存

format: int32

storeInfostring非必须商品简介
storeNamestring非必须商品名称
tempIdinteger非必须运费模板ID

format: int32

unitNamestring非必须单位名
videoLinkstring非必须主图视频链接
vipPricenumber非必须会员价格
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 虚拟销量 + +### 基本信息 + +**Path:** /api/admin/store/product/ficti/{id}/{num} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | +| num | | 数值 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/store/product/info/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须商品表
├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
messagestring非必须
+ +# 商品 -- 规则值(规格) + +## 修改 + +### 基本信息 + +**Path:** /api/admin/store/product/rule/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idinteger非必须规则id

format: int32

ruleNamestring非必须规格名称
ruleValuestring非必须规格值【JSON字符串】 [{\"detail\": [\"string\"],\"title\": \"string\"}]
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store/product/rule/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ idinteger非必须

format: int32

├─ ruleNamestring非必须规格名称
├─ ruleValuestring非必须规格值
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/store/product/rule/delete/{ids} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| ids | | ids | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/store/product/rule/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idinteger非必须规则id

format: int32

ruleNamestring非必须规格名称
ruleValuestring非必须规格值【JSON字符串】 [{\"detail\": [\"string\"],\"title\": \"string\"}]
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/store/product/rule/info/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须商品规则值(规格)表
├─ idinteger非必须

format: int32

├─ ruleNamestring非必须规格名称
├─ ruleValuestring非必须规格值
messagestring非必须
+ +# 商品 -- 评论 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/store/product/reply/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring非必须用户头像
commentstring非必须评论内容
createTimestring非必须评论时间

format: date-time

idinteger非必须评论ID

format: int32

isDelboolean非必须0未删除1已删除
isReplyboolean非必须0未回复1已回复
merchantReplyContentstring非必须管理员回复内容
merchantReplyTimeinteger非必须管理员回复时间

format: int32

nicknamestring非必须用户名称
oidinteger非必须订单ID

format: int32

picsstring非必须评论图片
productIdinteger非必须商品id

format: int32

productScoreinteger非必须商品分数

format: int32

replyTypestring非必须某种商品类型(普通商品、秒杀商品)
serviceScoreinteger非必须服务分数

format: int32

uidinteger非必须用户ID

format: int32

uniquestring非必须商品 属性id
updateTimestring非必须更新时间

format: date-time

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store/product/reply/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| dateLimit | 否 | | 时间区间 | +| isDel | 否 | | 0未删除1已删除 | +| isReply | 否 | | 0未回复1已回复 | +| limit | 否 | | 每页数量 | +| nickname | 否 | | 用户名称(支持模糊搜索) | +| oid | 否 | | 订单ID | +| page | 否 | | 页码 | +| productId | 否 | | 商品id, 多个逗号分割 | +| star | 否 | | 星数 | +| type | 否 | | 类型 | +| uid | 否 | | 用户ID, 多个逗号分割 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ avatarstring非必须用户头像
├─ commentstring非必须评论内容
├─ createTimestring非必须评论时间

format: date-time

├─ idinteger非必须评论ID

format: int32

├─ isDelboolean非必须0未删除1已删除
├─ isReplyboolean非必须0未回复1已回复
├─ merchantReplyContentstring非必须管理员回复内容
├─ merchantReplyTimeinteger非必须管理员回复时间

format: int32

├─ nicknamestring非必须用户名称
├─ oidinteger非必须订单ID

format: int32

├─ picsstring []非必须评论图片

item 类型: string

├─ 非必须
├─ productIdinteger非必须商品id

format: int32

├─ productScoreinteger非必须商品分数

format: int32

├─ replyTypestring非必须某种商品类型(普通商品、秒杀商品)
├─ serviceScoreinteger非必须服务分数

format: int32

├─ storeProductobject非必须商品表
├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
├─ uidinteger非必须用户ID

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/store/product/reply/delete/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 回复 + +### 基本信息 + +**Path:** /api/admin/store/product/reply/comment + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idsstring必须管理员回复内容
merchantReplyContentstring必须管理员回复内容
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/store/product/reply/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
commentstring必须评论内容
oidinteger非必须订单ID, 移动端必须传递此参数

format: int32

picsstring必须评论图片
productIdinteger必须商品id

format: int32

productScoreinteger必须商品分数

format: int32

serviceScoreinteger必须服务分数

format: int32

uniquestring非必须商品 属性id
userIdinteger非必须用户id, 后端必须传递此参数

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/store/product/reply/info/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须评论表
├─ avatarstring非必须用户头像
├─ commentstring非必须评论内容
├─ createTimestring非必须评论时间

format: date-time

├─ idinteger非必须评论ID

format: int32

├─ isDelboolean非必须0未删除1已删除
├─ isReplyboolean非必须0未回复1已回复
├─ merchantReplyContentstring非必须管理员回复内容
├─ merchantReplyTimeinteger非必须管理员回复时间

format: int32

├─ nicknamestring非必须用户名称
├─ oidinteger非必须订单ID

format: int32

├─ picsstring非必须评论图片
├─ productIdinteger非必须商品id

format: int32

├─ productScoreinteger非必须商品分数

format: int32

├─ replyTypestring非必须某种商品类型(普通商品、秒杀商品)
├─ serviceScoreinteger非必须服务分数

format: int32

├─ uidinteger非必须用户ID

format: int32

├─ uniquestring非必须商品 属性id
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 城市管理 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/city/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| name | 否 | | 名称 | +| parentId | 是 | | 父级id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 修改状态 + +### 基本信息 + +**Path:** /api/admin/system/city/update/status + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| status | 是 | | status | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/city/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| parentId | 是 | | 父级id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取tree结构的列表 + +### 基本信息 + +**Path:** /api/admin/system/city/list/tree + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/city/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须城市表
├─ areaCodestring非必须区号
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须

format: int32

├─ isShowboolean非必须是否展示
├─ latstring非必须纬度
├─ levelinteger非必须省市级别

format: int32

├─ lngstring非必须经度
├─ mergerNamestring非必须合并名称
├─ namestring非必须名称
├─ parentIdinteger非必须父级id

format: int32

├─ updateTimestring非必须修改时间

format: date-time

messagestring非必须
+ +# 客服用户对话记录表 + +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store-service-log/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| toUid | 否 | | 接收人uid | +| uid | 否 | | 发送人uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须添加时间

format: date-time

├─ idinteger非必须客服用户对话记录表ID

format: int32

├─ msnstring非必须消息内容
├─ msnTypeboolean非必须消息类型 1=文字 2=表情 3=图片 4=语音
├─ remindboolean非必须是否提醒过
├─ toUidinteger非必须接收人uid

format: int32

├─ typeboolean非必须是否已读(0:否;1:是;)
├─ uidinteger非必须发送人uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 客服表 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/store-service/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring非必须客服头像
createTimestring非必须添加时间

format: date-time

customerboolean非必须是否展示统计管理
idinteger非必须客服id

format: int32

nicknamestring非必须代理名称
notifyinteger非必须订单通知1开启0关闭

format: int32

statusboolean非必须0隐藏1显示
uidinteger非必须客服uid

format: int32

updateTimestring非必须更新时间

format: date-time

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store-service/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ avatarstring非必须客服头像
├─ createTimestring非必须添加时间

format: date-time

├─ customerboolean非必须是否展示统计管理
├─ idinteger非必须客服id

format: int32

├─ nicknamestring非必须代理名称
├─ notifyinteger非必须订单通知1开启0关闭

format: int32

├─ statusboolean非必须0隐藏1显示
├─ uidinteger非必须客服uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/store-service/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/store-service/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring非必须客服头像
createTimestring非必须添加时间

format: date-time

customerboolean非必须是否展示统计管理
idinteger非必须客服id

format: int32

nicknamestring非必须代理名称
notifyinteger非必须订单通知1开启0关闭

format: int32

statusboolean非必须0隐藏1显示
uidinteger非必须客服uid

format: int32

updateTimestring非必须更新时间

format: date-time

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/store-service/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须客服表
├─ avatarstring非必须客服头像
├─ createTimestring非必须添加时间

format: date-time

├─ customerboolean非必须是否展示统计管理
├─ idinteger非必须客服id

format: int32

├─ nicknamestring非必须代理名称
├─ notifyinteger非必须订单通知1开启0关闭

format: int32

├─ statusboolean非必须0隐藏1显示
├─ uidinteger非必须客服uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 导出 -- Excel + +## 产品 + +### 基本信息 + +**Path:** /api/admin/export/excel/product + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cateId | 否 | | 分类ID, 多个逗号分隔 | +| isBenefit | 否 | | 是否优惠 | +| isBest | 否 | | 是否精品 | +| isGood | 否 | | 是否推荐 | +| isHot | 否 | | 是否热卖 | +| isNew | 否 | | 是否新品 | +| isShow | 否 | | 状态(0:未上架,1:上架) | +| keywords | 否 | | 关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码) | +| type | 否 | | 类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站) | + +### 返回数据 + +```javascript +OK +``` +# 微信 -- 消息模版 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/template/update/status/{id} + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| status | 是 | | status | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/template/update/{id} + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
contentstring非必须回复内容
namestring非必须模板名
tempIdstring非必须模板ID
tempKeystring非必须模板编号
typeboolean非必须0=订阅消息,1=微信模板消息
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/template/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| name | 否 | | 模板名 | +| page | 否 | | 页码 | +| status | 否 | | 状态, 0 正常,1 禁用 | +| tempId | 否 | | 模板ID | +| tempKey | 否 | | 模板编号 | +| type | 否 | | 类型, 0 订阅消息, 1 模板消息 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ contentstring非必须回复内容
├─ createTimestring非必须添加时间

format: date-time

├─ idinteger非必须模板id

format: int32

├─ namestring非必须模板名
├─ statusinteger非必须状态

format: int32

├─ tempIdstring非必须模板ID
├─ tempKeystring非必须模板编号
├─ typeboolean非必须0=订阅消息,1=微信模板消息
├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/template/delete/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/template/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
contentstring非必须回复内容
namestring非必须模板名
tempIdstring非必须模板ID
tempKeystring非必须模板编号
typeboolean非必须0=订阅消息,1=微信模板消息
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 行业信息 + +### 基本信息 + +**Path:** /api/admin/wechat/template/industry + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须微信模板所属行业
├─ primaryIndustryobject非必须微信模板所属行业详情
├─ firstClassstring非必须主行业
├─ secondClassstring非必须副行业
├─ secondaryIndustryobject非必须微信模板所属行业详情
├─ firstClassstring非必须主行业
├─ secondClassstring非必须副行业
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/template/info/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须微信模板
├─ contentstring非必须回复内容
├─ createTimestring非必须添加时间

format: date-time

├─ idinteger非必须模板id

format: int32

├─ namestring非必须模板名
├─ statusinteger非必须状态

format: int32

├─ tempIdstring非必须模板ID
├─ tempKeystring非必须模板编号
├─ typeboolean非必须0=订阅消息,1=微信模板消息
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 微信开放平台 -- 小程序access_token + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/access/token/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| accessToken | 否 | | openid | +| id | 是 | | id | +| stopTime | 否 | | 添加时间 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/access/token/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| accessToken | 否 | | openid | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ accessTokenstring非必须openid
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须小程序access_token表ID

format: int32

├─ stopTimeinteger非必须添加时间

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/access/token/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/access/token/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| accessToken | 否 | | openid | +| stopTime | 否 | | 添加时间 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/access/token/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须小程序access_token表
├─ accessTokenstring非必须openid
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须小程序access_token表ID

format: int32

├─ stopTimeinteger非必须添加时间

format: int32

├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 微信开放平台 -- 小程序二维码管理 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/qrcode/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| page | 否 | | 小程序页面路径带参数 | +| qrcodeUrl | 否 | | 小程序二维码路径 | +| status | 否 | | 状态 0不可用 1可用 | +| thirdId | 否 | | 用户id | +| thirdType | 否 | | 二维码类型 spread(用户推广) product_spread(商品推广) | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/qrcode/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 添加时间 | +| id | 否 | | 微信二维码ID | +| limit | 否 | | 每页数量 | +| page | 否 | | 小程序页面路径带参数 | +| page | 否 | | 页码 | +| qrcodeUrl | 否 | | 小程序二维码路径 | +| status | 否 | | 状态 0不可用 1可用 | +| thirdId | 否 | | 用户id | +| thirdType | 否 | | 二维码类型 spread(用户推广) product_spread(商品推广) | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ addTimestring非必须添加时间
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须微信二维码ID

format: int32

├─ pagestring非必须小程序页面路径带参数
├─ qrcodeUrlstring非必须小程序二维码路径
├─ statusboolean非必须状态 0不可用 1可用
├─ thirdIdinteger非必须用户id

format: int32

├─ thirdTypestring非必须二维码类型 spread(用户推广) product_spread(商品推广)
├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/qrcode/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/qrcode/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| page | 否 | | 小程序页面路径带参数 | +| qrcodeUrl | 否 | | 小程序二维码路径 | +| status | 否 | | 状态 0不可用 1可用 | +| thirdId | 否 | | 用户id | +| thirdType | 否 | | 二维码类型 spread(用户推广) product_spread(商品推广) | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/qrcode/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须小程序二维码管理表
├─ addTimestring非必须添加时间
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须微信二维码ID

format: int32

├─ pagestring非必须小程序页面路径带参数
├─ qrcodeUrlstring非必须小程序二维码路径
├─ statusboolean非必须状态 0不可用 1可用
├─ thirdIdinteger非必须用户id

format: int32

├─ thirdTypestring非必须二维码类型 spread(用户推广) product_spread(商品推广)
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 微信开放平台 -- 微信二维码管理 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/qrcode/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 添加时间 | +| expireSeconds | 否 | | 二维码有效时间 | +| id | 是 | | id | +| qrcodeUrl | 否 | | 微信二维码url | +| scan | 否 | | 被扫的次数 | +| status | 否 | | 状态 | +| thirdId | 否 | | 用户id | +| thirdType | 否 | | 二维码类型 | +| ticket | 否 | | 二维码参数 | +| url | 否 | | 微信访问url | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/qrcode/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 添加时间 | +| expireSeconds | 否 | | 二维码有效时间 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| qrcodeUrl | 否 | | 微信二维码url | +| scan | 否 | | 被扫的次数 | +| status | 否 | | 状态 | +| thirdId | 否 | | 用户id | +| thirdType | 否 | | 二维码类型 | +| ticket | 否 | | 二维码参数 | +| url | 否 | | 微信访问url | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ expireSecondsinteger非必须二维码有效时间

format: int32

├─ idinteger非必须微信二维码ID

format: int32

├─ qrcodeUrlstring非必须微信二维码url
├─ scaninteger非必须被扫的次数

format: int32

├─ statusboolean非必须状态
├─ thirdIdinteger非必须用户id

format: int32

├─ thirdTypestring非必须二维码类型
├─ ticketstring非必须二维码参数
├─ updateTimestring非必须修改时间

format: date-time

├─ urlstring非必须微信访问url
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/qrcode/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/qrcode/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 添加时间 | +| expireSeconds | 否 | | 二维码有效时间 | +| qrcodeUrl | 否 | | 微信二维码url | +| scan | 否 | | 被扫的次数 | +| status | 否 | | 状态 | +| thirdId | 否 | | 用户id | +| thirdType | 否 | | 二维码类型 | +| ticket | 否 | | 二维码参数 | +| url | 否 | | 微信访问url | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/qrcode/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须微信二维码管理表
├─ createTimestring非必须创建时间

format: date-time

├─ expireSecondsinteger非必须二维码有效时间

format: int32

├─ idinteger非必须微信二维码ID

format: int32

├─ qrcodeUrlstring非必须微信二维码url
├─ scaninteger非必须被扫的次数

format: int32

├─ statusboolean非必须状态
├─ thirdIdinteger非必须用户id

format: int32

├─ thirdTypestring非必须二维码类型
├─ ticketstring非必须二维码参数
├─ updateTimestring非必须修改时间

format: date-time

├─ urlstring非必须微信访问url
messagestring非必须
+ +# 微信开放平台 -- 微信关键字回复 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
datastring非必须回复数据
keywordsstring非必须关键字
statusboolean非必须回复状态 0=不可用 1 =可用
typestring非必须回复类型 text=文本 image =图片 news =图文 voice =音频
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| keywords | 否 | | 关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 否 | | 回复类型 text=文本 image =图片 news =图文 voice =音频 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ datastring非必须回复数据
├─ idinteger非必须微信关键字回复id

format: int32

├─ keywordsstring非必须关键字
├─ statusboolean非必须0=不可用 1 =可用
├─ typestring非必须回复类型
├─ updateTimestring非必须修改时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
datastring非必须回复数据
keywordsstring非必须关键字
statusboolean非必须回复状态 0=不可用 1 =可用
typestring非必须回复类型 text=文本 image =图片 news =图文 voice =音频
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 根据关键字查询数据 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/info/keywords + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| keywords | 是 | | keywords | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须微信关键字回复表
├─ createTimestring非必须创建时间

format: date-time

├─ datastring非必须回复数据
├─ idinteger非必须微信关键字回复id

format: int32

├─ keywordsstring非必须关键字
├─ statusboolean非必须0=不可用 1 =可用
├─ typestring非必须回复类型
├─ updateTimestring非必须修改时间

format: date-time

messagestring非必须
+ +## 状态 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/status + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| status | 是 | | status | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/keywords/reply/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须微信关键字回复表
├─ createTimestring非必须创建时间

format: date-time

├─ datastring非必须回复数据
├─ idinteger非必须微信关键字回复id

format: int32

├─ keywordsstring非必须关键字
├─ statusboolean非必须0=不可用 1 =可用
├─ typestring非必须回复类型
├─ updateTimestring非必须修改时间

format: date-time

messagestring非必须
+ +# 微信开放平台 -- 微信用户 + +## 消息推送 + +### 基本信息 + +**Path:** /api/admin/wechat/user/push + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| newsId | 是 | | newsId | +| userId | 是 | | userId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +# 微信开放平台 -- 微信用户标签 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 标签ID | +| name | 否 | | 标签名称 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 列表 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isAsync | 否 | | 是否同步微信数据, true是,false否 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 创建 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/create + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| name | 否 | | 标签名称 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 标签ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 批量为用户取消标签 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/memberBatchUnTags + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 标签ID | +| openIdList | 否 | | 用户openId数组 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 批量为用户打标签 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/memberBatchTags + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 标签ID | +| openIdList | 否 | | 用户openId数组 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取标签下粉丝列表 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/getUserListById + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 标签ID | +| nextOpenId | 否 | | 第一个拉取的OPENID,不填默认从头开始拉取 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取用户身上的标签列表 + +### 基本信息 + +**Path:** /api/admin/wechat/user/tags/getTagsListByUserId + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isAsync | 否 | | 是否同步微信数据, true是,false否 | +| openId | 否 | | 用户openId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 微信开放平台 -- 用户行为记录 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/user/log/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 操作时间 | +| id | 是 | | id | +| openid | 否 | | 用户openid | +| result | 否 | | 操作详细记录 | +| type | 否 | | 操作类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/user/log/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 操作时间 | +| limit | 否 | | 每页数量 | +| openid | 否 | | 用户openid | +| page | 否 | | 页码 | +| result | 否 | | 操作详细记录 | +| type | 否 | | 操作类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须用户行为记录id

format: int32

├─ openidstring非必须用户openid
├─ resultstring非必须操作详细记录
├─ typestring非必须操作类型
├─ updateTimestring非必须修改时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/user/log/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/user/log/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 操作时间 | +| openid | 否 | | 用户openid | +| result | 否 | | 操作详细记录 | +| type | 否 | | 操作类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/user/log/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户行为记录表
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须用户行为记录id

format: int32

├─ openidstring非必须用户openid
├─ resultstring非必须操作详细记录
├─ typestring非必须操作类型
├─ updateTimestring非必须修改时间

format: date-time

messagestring非必须
+ +# 微信开放平台 -- 素材 + +## 上传 + +### 基本信息 + +**Path:** /api/admin/wechat/media/upload + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | multipart/form-data | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| type | 是 | | 媒体文件类型,分别有图片(image)、语音(voice | +**Body** + +| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| media | file | 是 | | 待上传素材图片文件 | + + + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 根据素材id查询素材 + +### 基本信息 + +**Path:** /api/admin/wechat/media/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| mediaId | 是 | | mediaId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 微信开放平台 -- 菜单管理 + +## 保存个性化菜单 + +### 基本信息 + +**Path:** /api/admin/wechat/menu/public/self/create + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
string非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 保存自定义菜单 + +### 基本信息 + +**Path:** /api/admin/wechat/menu/public/create + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
string非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 删除个性化菜单 + +### 基本信息 + +**Path:** /api/admin/wechat/menu/public/self/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| menuId | 否 | | 菜单ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 删除自定义菜单 + +### 基本信息 + +**Path:** /api/admin/wechat/menu/public/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取个性化菜单 + +### 基本信息 + +**Path:** /api/admin/wechat/menu/public/self/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isAsync | 否 | | 是否同步微信数据, true是,false否 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取自定义菜单 + +### 基本信息 + +**Path:** /api/admin/wechat/menu/public/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isAsync | 否 | | 是否同步微信数据, true是,false否 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 微信开放平台 -- 表单id表记录 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/form/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| formId | 否 | | 表单ID | +| id | 是 | | id | +| status | 否 | | 状态1 未使用 2不能使用 | +| stopTime | 否 | | 表单ID失效时间 | +| uid | 否 | | 用户uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/form/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| formId | 否 | | 表单ID | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| status | 否 | | 状态1 未使用 2不能使用 | +| stopTime | 否 | | 表单ID失效时间 | +| uid | 否 | | 用户uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ formIdstring非必须表单ID
├─ idinteger非必须表单ID表ID

format: int32

├─ statusboolean非必须状态1 未使用 2不能使用
├─ stopTimeinteger非必须表单ID失效时间

format: int32

├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/form/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/form/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| formId | 否 | | 表单ID | +| status | 否 | | 状态1 未使用 2不能使用 | +| stopTime | 否 | | 表单ID失效时间 | +| uid | 否 | | 用户uid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/wechat/routine/form/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须表单id表记录表
├─ createTimestring非必须创建时间

format: date-time

├─ formIdstring非必须表单ID
├─ idinteger非必须表单ID表ID

format: int32

├─ statusboolean非必须状态1 未使用 2不能使用
├─ stopTimeinteger非必须表单ID失效时间

format: int32

├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 支付回调 + +## 微信支付回调 + +### 基本信息 + +**Path:** /api/admin/payment/callback/wechat + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
string非必须
+ +### 返回数据 + +```javascript +OK +``` +## 支付宝支付回调 + +### 基本信息 + +**Path:** /api/admin/payment/callback/alipay + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
string非必须
+ +### 返回数据 + +```javascript +OK +``` +# 文章管理 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/article/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 文章ID | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
authorstring必须文章作者
cidstring必须分类id
contentstring必须文章内容
imageInputstring必须文章图片
isBannerboolean非必须是否轮播图(小程序)
isHotboolean非必须是否热门(小程序)
shareSynopsisstring必须文章分享简介
shareTitlestring必须文章分享标题
sortinteger必须排序

format: int32

synopsisstring必须文章简介
titlestring必须文章标题
urlstring非必须原文链接
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/article/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cid | 是 | | 分类id | +| hide | 否 | | 是否隐藏 | +| isBanner | 否 | | 是否轮播图(小程序) | +| isHaveMediaId | 否 | | 是否有微信素材媒体id | +| isHot | 否 | | 是否热门(小程序) | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| status | 否 | | 状态 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ adminIdinteger非必须管理员id

format: int32

├─ authorstring非必须文章作者
├─ categoryNamestring非必须分类
├─ cidstring非必须分类id
├─ contentstring非必须文章内容
├─ createTimestring非必须创建时间

format: date-time

├─ hideboolean非必须是否隐藏
├─ idinteger非必须文章管理ID

format: int32

├─ imageInputstring []非必须文章图片 前端用

item 类型: string

├─ 非必须
├─ imageInputsstring非必须文章图片 后端用
├─ isBannerboolean非必须是否轮播图(小程序)
├─ isHotboolean非必须是否热门(小程序)
├─ mediaIdstring非必须微信素材媒体id
├─ merIdinteger非必须商户id

format: int32

├─ productIdinteger非必须商品关联id

format: int32

├─ shareSynopsisstring非必须文章分享简介
├─ shareTitlestring非必须文章分享标题
├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态
├─ synopsisstring非必须文章简介
├─ titlestring非必须文章标题
├─ updateTimestring非必须更新时间

format: date-time

├─ urlstring非必须原文链接
├─ visitstring非必须浏览次数
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/article/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 文章ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/article/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
authorstring必须文章作者
cidstring必须分类id
contentstring必须文章内容
imageInputstring必须文章图片
isBannerboolean非必须是否轮播图(小程序)
isHotboolean非必须是否热门(小程序)
shareSynopsisstring必须文章分享简介
shareTitlestring必须文章分享标题
sortinteger必须排序

format: int32

synopsisstring必须文章简介
titlestring必须文章标题
urlstring非必须原文链接
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 绑定产品 + +### 基本信息 + +**Path:** /api/admin/article/bind/product + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 文章ID | +| productId | 否 | | 产品id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/article/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 文章ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须文章管理表
├─ adminIdinteger非必须管理员id

format: int32

├─ authorstring非必须文章作者
├─ cidstring非必须分类id
├─ contentstring非必须文章内容
├─ createTimestring非必须创建时间

format: date-time

├─ hideboolean非必须是否隐藏
├─ idinteger非必须文章管理ID

format: int32

├─ imageInputstring非必须文章图片
├─ isBannerboolean非必须是否轮播图(小程序)
├─ isHotboolean非必须是否热门(小程序)
├─ mediaIdstring非必须微信素材id
├─ merIdinteger非必须商户id

format: int32

├─ productIdinteger非必须商品关联id

format: int32

├─ shareSynopsisstring非必须文章分享简介
├─ shareTitlestring非必须文章分享标题
├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态
├─ synopsisstring非必须文章简介
├─ titlestring非必须文章标题
├─ updateTimestring非必须创建时间

format: date-time

├─ urlstring非必须原文链接
├─ visitstring非必须浏览次数
messagestring非必须
+ +# 短信服务 + +## 发送短信 + +### 基本信息 + +**Path:** /api/admin/sms/sendCode + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| phone | 是 | | 手机号码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## sendCodeForRegister + +### 基本信息 + +**Path:** /api/admin/sms/sendCodeForRegister/{phone} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| phone | | phone | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 信息登录 + +### 基本信息 + +**Path:** /api/admin/sms/login + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 是 | | 账号 | +| token | 是 | | smsToken | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 是否已经登录 + +### 基本信息 + +**Path:** /api/admin/sms/islogin + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 注销 + +### 基本信息 + +**Path:** /api/admin/sms/logout + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 申请模板消息 + +### 基本信息 + +**Path:** /api/admin/sms/temp/apply + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| content | 否 | | 内容 | +| title | 否 | | 主题 | +| type | 否 | | type (1=验证码 2=通知 3=推广) | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 短信发送记录列表 + +### 基本信息 + +**Path:** /api/admin/sms/record/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| phone | 否 | | 接受短信的手机号 | +| recordId | 否 | | 发送记录id | +| resultCode | 否 | | 状态码 null=全部,100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态, 134=无状态, 400黑名单 | +| uid | 否 | | 短信平台账号 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ addIpstring非必须添加记录ip
├─ contentstring非必须短信内容
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须短信发送记录编号

format: int32

├─ memostring非必须备注
├─ phonestring非必须接受短信的手机号
├─ recordIdinteger非必须发送记录id

format: int32

├─ resultcodeinteger非必须状态码 100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态

format: int32

├─ templatestring非必须短信模板ID
├─ uidstring非必须短信平台账号
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 短信提醒开关保存 + +### 基本信息 + +**Path:** /api/admin/sms/config/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| adminConfirmTakeOverSwitch | 是 | | 用户发起退款管理员短信提醒 | +| adminLowerOrderSwitch | 是 | | 用户下单管理员短信提醒 | +| adminPaySuccessSwitch | 是 | | 支付成功管理员短信提醒 | +| adminRefundSwitch | 是 | | 用户确认收货管理员短信提醒 | +| confirmTakeOverSwitch | 是 | | 确认收货短信提醒 | +| deliverGoodsSwitch | 是 | | 发货短信提醒 | +| lowerOrderSwitch | 是 | | 支付成功短信提醒 | +| priceRevisionSwitch | 是 | | 改价短信提醒 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 短信提醒开关列表 + +### 基本信息 + +**Path:** /api/admin/sms/config/list + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 短信模板列表 + +### 基本信息 + +**Path:** /api/admin/sms/temp/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| status | 否 | | 状态 | +| title | 否 | | 名称 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 短信用户信息 + +### 基本信息 + +**Path:** /api/admin/sms/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取支付套餐列表 + +### 基本信息 + +**Path:** /api/admin/sms/pay/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取支付码 + +### 基本信息 + +**Path:** /api/admin/sms/pay/qrCode + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| mealId | 否 | | 套餐id | +| payType | 否 | | 支付类型 weixin:微信支付/alipay:支付宝支付 | +| price | 否 | | 价格 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 账号注册 + +### 基本信息 + +**Path:** /api/admin/sms/register + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 是 | | 账号 | +| code | 否 | | 验证码 | +| domain | 是 | | 域名 | +| password | 是 | | 密码 | +| phone | 是 | | 手机号 | +| sign | 是 | | 签名 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 统计 -- 主页 + +## 30天订单量趋势 + +### 基本信息 + +**Path:** /api/admin/statistics/home/chart/order + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 周订单量趋势 + +### 基本信息 + +**Path:** /api/admin/statistics/home/chart/order/week + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 年订单量趋势 + +### 基本信息 + +**Path:** /api/admin/statistics/home/chart/order/year + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 新增用户 + +### 基本信息 + +**Path:** /api/admin/statistics/home/user + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须主页用户新增统计
├─ countobject非必须昨日新增量
├─ dayRateobject非必须日同比率
├─ totalobject非必须总数
├─ weekRateobject非必须周同比率
messagestring非必须
+ +## 月订单量趋势 + +### 基本信息 + +**Path:** /api/admin/statistics/home/chart/order/month + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 用户曲线图 + +### 基本信息 + +**Path:** /api/admin/statistics/home/chart/user + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 用户访问量 + +### 基本信息 + +**Path:** /api/admin/statistics/home/views + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须主页用户新增统计
├─ countobject非必须昨日新增量
├─ dayRateobject非必须日同比率
├─ totalobject非必须总数
├─ weekRateobject非必须周同比率
messagestring非必须
+ +## 用户购买统计 + +### 基本信息 + +**Path:** /api/admin/statistics/home/chart/user/buy + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 订单量 + +### 基本信息 + +**Path:** /api/admin/statistics/home/order + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须主页用户新增统计
├─ countobject非必须昨日新增量
├─ dayRateobject非必须日同比率
├─ totalobject非必须总数
├─ weekRateobject非必须周同比率
messagestring非必须
+ +## 销售额 + +### 基本信息 + +**Path:** /api/admin/statistics/home/sales + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须主页用户新增统计
├─ countobject非必须昨日新增量
├─ dayRateobject非必须日同比率
├─ totalobject非必须总数
├─ weekRateobject非必须周同比率
messagestring非必须
+ +# 营销 -- 优惠券 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/marketing/coupon/update/status + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| status | 是 | | status | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/marketing/coupon/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isDel | 否 | | 是否删除 状态(0:否,1:是) | +| limit | 否 | | 每页数量 | +| name | 否 | | 优惠券名称 | +| page | 否 | | 页码 | +| primaryKey | 否 | | 所属商品id / 分类id | +| status | 否 | | 状态(0:关闭,1:开启) | +| type | 否 | | 优惠券类型 1 手动领取, 2 新人券, 3 赠送券 | +| useType | 否 | | 使用类型 1 全场通用, 2 商品券, 3 品类券 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ dayinteger非必须天数

format: int32

├─ idinteger非必须优惠券表ID

format: int32

├─ isDelboolean非必须是否删除 状态(0:否,1:是)
├─ isFixedTimeboolean非必须是否固定使用时间, 默认0 否, 1是
├─ isLimitedboolean非必须是否限量, 默认0 不限量, 1限量
├─ lastTotalinteger非必须剩余数量

format: int32

├─ minPricenumber非必须最低消费,0代表不限制
├─ moneynumber非必须兑换的优惠券面值
├─ namestring非必须优惠券名称
├─ primaryKeystring必须主键id 商品id/分类id
├─ receiveEndTimestring非必须可领取结束时间

format: date-time

├─ receiveStartTimestring非必须可领取开始时间

format: date-time

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态(0:关闭,1:开启)
├─ totalinteger非必须发放总数

format: int32

├─ typeinteger非必须优惠券类型 1 手动领取, 2 新人券, 3 赠送券

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ useEndTimestring非必须可使用时间范围 结束时间

format: date-time

├─ useStartTimestring非必须可使用时间范围 开始时间

format: date-time

├─ useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/marketing/coupon/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
dayinteger非必须天数

format: int32

isFixedTimeboolean必须请设置是否固定使用时间, 默认0 否, 1是
isForeverboolean必须是否固定领取时间, 默认0 否, 1是
isLimitedboolean必须是否限量, 默认0 否, 1是
minPricenumber必须最低消费,0代表不限制
moneynumber必须兑换的优惠券面值
namestring必须优惠券名称
primaryKeystring必须主键id 商品id/分类id
receiveEndTimestring非必须可领取结束时间

format: date-time

receiveStartTimestring非必须可领取开始时间

format: date-time

sortinteger非必须排序

format: int32

statusboolean非必须状态(0:关闭,1:开启)
totalinteger非必须发放总数

format: int32

typeinteger非必须优惠券类型 1 手动领取, 2 新人券, 3 赠送券

format: int32

useEndTimestring非必须可使用时间范围 结束时间

format: date-time

useStartTimestring非必须可使用时间范围 开始时间

format: date-time

useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/marketing/coupon/info + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须优惠券详情
├─ categoryobject []非必须分类信息

item 类型: object

├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
├─ couponobject非必须优惠券表
├─ dayinteger非必须天数

format: int32

├─ isFixedTimeboolean必须请设置是否固定使用时间, 默认0 否, 1是
├─ isForeverboolean必须是否固定领取时间, 默认0 否, 1是
├─ isLimitedboolean必须是否限量, 默认0 否, 1是
├─ minPricenumber必须最低消费,0代表不限制
├─ moneynumber必须兑换的优惠券面值
├─ namestring必须优惠券名称
├─ primaryKeystring必须主键id 商品id/分类id
├─ receiveEndTimestring非必须可领取结束时间

format: date-time

├─ receiveStartTimestring非必须可领取开始时间

format: date-time

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态(0:关闭,1:开启)
├─ totalinteger非必须发放总数

format: int32

├─ typeinteger非必须优惠券类型 1 手动领取, 2 新人券, 3 赠送券

format: int32

├─ useEndTimestring非必须可使用时间范围 结束时间

format: date-time

├─ useStartTimestring非必须可使用时间范围 开始时间

format: date-time

├─ useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

├─ productobject []非必须商品信息

item 类型: object

├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
messagestring非必须
+ +# 营销 -- 优惠券 -- 领取记录 + +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/marketing/coupon/user/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| couponId | 否 | | 优惠券id | +| limit | 否 | | 每页数量 | +| minPrice | 否 | | 最低消费多少金额可用优惠券 | +| name | 否 | | 优惠券名称 | +| page | 否 | | 页码 | +| status | 否 | | 状态(0:未使用,1:已使用, 2:已过期) | +| uid | 否 | | 优惠券所属用户 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ avatarstring非必须用户头像
├─ cidinteger非必须兑换的项目id

format: int32

├─ couponIdinteger非必须优惠券发布id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ endTimestring非必须过期时间

format: date-time

├─ idinteger非必须id

format: int32

├─ isValidboolean非必须用户头像
├─ minPricenumber非必须最低消费多少金额可用优惠券
├─ moneynumber非必须优惠券的面值
├─ namestring非必须优惠券名称
├─ nicknamestring非必须用户昵称
├─ primaryKeystring必须主键id 商品id/分类id
├─ startTimestring非必须开始使用时间

format: date-time

├─ statusinteger非必须状态(0:未使用,1:已使用, 2:已失效)

format: int32

├─ typestring非必须获取方式
├─ uidinteger非必须领取人id

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ useTimestring非必须使用时间

format: date-time

├─ useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 领券 + +### 基本信息 + +**Path:** /api/admin/marketing/coupon/user/receive + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| couponId | 否 | | 优惠券发布id | +| uid | 否 | | 领取人id, 多个id逗号分割 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +# 订单 + +## 修改订单 + +### 基本信息 + +**Path:** /api/admin/store/order/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
gainIntegralnumber非必须消费赚取积分
payPostagenumber非必须支付邮费
payPricenumber非必须实际支付金额
totalPostagenumber非必须邮费
totalPricenumber非必须订单总价
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store/order/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isDel | 否 | | 是否删除 | +| limit | 否 | | 每页数量 | +| orderId | 否 | | 订单号 | +| page | 否 | | 页码 | +| status | 否 | | 订单状态(all 总数; 未支付 unPaid; 未发货 notShipped;待收货 spike;待评价 bargain;已完成 complete;待核销 toBeWrittenOff;退款中:refunding;已退款:refunded;已删除:deleted | +| timeRage | 否 | | 创建时间区间 | +| uid | 否 | | 用户id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须订单数量
├─ listobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ backIntegralnumber非必须给用户退了多少积分
├─ clerkNamestring非必须店员名称
├─ createTimestring非必须创建时间

format: date-time

├─ gainIntegralnumber非必须消费赚取积分
├─ idinteger非必须订单ID

format: int32

├─ isDelboolean非必须是否删除
├─ isSystemDelboolean非必须后台是否删除
├─ markstring非必须用户备注
├─ orderIdstring非必须订单号
├─ paidboolean非必须支付状态
├─ payPostagenumber非必须支付邮费
├─ payPricenumber非必须实际支付金额
├─ payTimestring非必须支付时间

format: date-time

├─ payTypestring非必须支付方式
├─ payTypeStrstring非必须支付方式
├─ productListobject []非必须商品信息

item 类型: object

├─ infoobject非必须购物车ListResponse
├─ addTimestring非必须
├─ attrStatusboolean非必须商品是否有效
├─ bargainIdinteger非必须砍价id

format: int32

├─ brokeragenumber非必须一级分佣
├─ brokerageTwonumber非必须二级分佣
├─ cartNuminteger非必须商品数量

format: int32

├─ combinationIdinteger非必须拼团id

format: int32

├─ costPricenumber非必须
├─ idinteger非必须购物车表ID

format: int64

├─ isNewboolean非必须是否为立即购买
├─ isReplyinteger非必须

format: int32

├─ productAttrUniquestring非必须商品属性
├─ productIdinteger非必须商品ID

format: int32

├─ productInfoobject非必须商品信息,购物车列表使用
├─ attrInfoobject非必须商品属性值表
├─ attrValuestring非必须产品属性值和属性名对应关系
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ idinteger非必须attrId

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

├─ uniquestring非必须唯一值
├─ volumenumber非必须体积
├─ weightnumber非必须重量
├─ barCodestring非必须商品条码(一维码)
├─ cateIdstring非必须分类id
├─ costnumber非必须成本价
├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isPostageboolean非必须是否包邮
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ vipPricenumber非必须会员价格
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ truePricenumber非必须
├─ trueStockinteger非必须

format: int32

├─ typestring非必须类型
├─ uidinteger非必须用户ID

format: int32

├─ vipTruePricenumber非必须
├─ orderIdinteger非必须订单id

format: int32

├─ productIdinteger非必须商品ID

format: int32

├─ uniquestring非必须唯一id
├─ realNamestring非必须用户姓名
├─ refundPricenumber非必须退款金额
├─ refundReasonstring非必须不退款的理由
├─ refundReasonTimestring非必须退款时间

format: date-time

├─ refundReasonWapstring非必须前台退款原因
├─ refundReasonWapExplainstring非必须退款用户说明
├─ refundReasonWapImgstring非必须退款图片
├─ remarkstring非必须管理员备注
├─ spreadInfoobject非必须推广人信息
├─ idinteger非必须推广人id

format: int32

├─ namestring非必须推广人姓名
├─ statusboolean非必须订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)
├─ statusStrobject非必须订单状态
├─ storeNamestring非必须门店名称
├─ totalPostagenumber非必须邮费
├─ totalPricenumber非必须订单总价
├─ uidinteger非必须用户id

format: int32

├─ useIntegralnumber非必须使用积分
├─ userPhonestring非必须用户电话
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

├─ statusobject非必须订单状态数量
├─ allinteger非必须总数

format: int32

├─ bargaininteger非必须待评价

format: int32

├─ completeinteger非必须交易完成

format: int32

├─ deletedinteger非必须已删除

format: int32

├─ notShippedinteger非必须未发货

format: int32

├─ refundedinteger非必须已退款

format: int32

├─ refundinginteger非必须退款中

format: int32

├─ spikeinteger非必须待收货

format: int32

├─ toBeWrittenOffinteger非必须待核销

format: int32

├─ unPaidinteger非必须未支付

format: int32

├─ topobject非必须订单九宫格数据
├─ amountnumber非必须订单金额
├─ countinteger非必须订单数量

format: int32

├─ weChatAmountnumber非必须微信支付金额
├─ yueAmountnumber非必须余额支付
messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/store/order/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 发送货 + +### 基本信息 + +**Path:** /api/admin/store/order/send + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| expressCode | 否 | | 快递单号 | +| expressId | 否 | | 快递公司 | +| id | 否 | | 订单ID | +| type | 否 | | 类型, 1,2,3 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 备注 + +### 基本信息 + +**Path:** /api/admin/store/order/mark + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| mark | 是 | | mark | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 快递查询 + +### 基本信息 + +**Path:** /api/admin/store/order/getLogisticsInfo + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须快递接口返回数据
├─ courierstring非必须快递员 或 快递站(没有则为空
├─ courierPhonestring非必须快递员电话 (没有则为空)
├─ deliverystatusstring非必须快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 */
├─ expNamestring非必须快递公司名称
├─ expPhonestring非必须快递公司电话
├─ expSitestring非必须快递公司官网
├─ issignstring非必须是否签收
├─ listobject []非必须快递运送轨迹

item 类型: object

├─ statusstring非必须日志
├─ timestring非必须时间
├─ logostring非必须快递公司LOGO
├─ numberstring非必须快递单号
├─ takeTimestring非必须发货到收货消耗时长 (截止最新轨迹)
├─ typestring非必须快递简写
├─ updateTimestring非必须快递轨迹信息最新时间
messagestring非必须
+ +## 拒绝退款 + +### 基本信息 + +**Path:** /api/admin/store/order/refund/refuse + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| reason | 是 | | reason | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/store/order/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须订单详情
├─ backIntegralnumber非必须给用户退了多少积分
├─ bargainIdinteger非必须砍价id

format: int32

├─ clerkIdinteger非必须店员id

format: int32

├─ combinationIdinteger非必须拼团商品id0一般商品

format: int32

├─ costnumber非必须成本价
├─ couponIdinteger非必须优惠券id

format: int32

├─ couponPricenumber非必须优惠券金额
├─ createTimestring非必须创建时间

format: date-time

├─ deductionPricenumber非必须抵扣金额
├─ deliveryIdstring非必须快递单号/手机号
├─ deliveryNamestring非必须快递名称/送货人姓名
├─ deliveryTypestring非必须发货类型
├─ freightPricenumber非必须运费金额
├─ gainIntegralnumber非必须消费赚取积分
├─ idinteger非必须订单ID

format: int32

├─ isChannelboolean非必须支付渠道(0微信公众号1微信小程序)
├─ isDelboolean非必须是否删除
├─ isMerCheckinteger非必须

format: int32

├─ isRemindboolean非必须消息提醒
├─ isSystemDelboolean非必须后台是否删除
├─ markstring非必须备注
├─ merIdinteger非必须商户ID

format: int32

├─ orderIdstring非必须订单号
├─ paidboolean非必须支付状态
├─ payPostagenumber非必须支付邮费
├─ payPricenumber非必须实际支付金额
├─ payTimestring非必须支付时间

format: date-time

├─ payTypestring非必须支付方式
├─ payTypeStrstring非必须支付方式
├─ pinkIdinteger非必须拼团id 0没有拼团

format: int32

├─ realNamestring非必须用户姓名
├─ refundPricenumber非必须退款金额
├─ refundReasonstring非必须不退款的理由
├─ refundReasonTimestring非必须退款时间

format: date-time

├─ refundReasonWapstring非必须前台退款原因
├─ refundReasonWapExplainstring非必须退款用户说明
├─ refundReasonWapImgstring非必须退款图片
├─ refundStatusinteger非必须0 未退款 1 申请中 2 已退款

format: int32

├─ remarkstring非必须管理员备注
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ shippingTypeinteger非必须配送方式 1=快递 ,2=门店自提

format: int32

├─ spreadInfoobject非必须推广人信息
├─ idinteger非必须推广人id

format: int32

├─ namestring非必须推广人姓名
├─ statusinteger非必须订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)

format: int32

├─ statusStrobject非必须订单状态
├─ storeIdinteger非必须门店id

format: int32

├─ totalNuminteger非必须订单商品总数

format: int32

├─ totalPostagenumber非必须邮费
├─ totalPricenumber非必须订单总价
├─ uidinteger非必须用户id

format: int32

├─ uniquestring非必须唯一id(md5加密)类似id
├─ useIntegralnumber非必须使用积分
├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
├─ userAddressstring非必须详细地址
├─ userPhonestring非必须用户电话
├─ verifyCodestring非必须核销码
messagestring非必须
+ +## 退款 + +### 基本信息 + +**Path:** /api/admin/store/order/refund + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| amount | 否 | | 退款金额 | +| orderId | 否 | | 订单id | +| type | 否 | | status 1 = 直接退款, 2 = 退款后,返回原状态 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +# 订单 -- 操作记录 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/store/order/status/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| changeMessage | 否 | | 操作备注 | +| changeTime | 否 | | 操作时间 | +| changeType | 否 | | 操作类型 | +| id | 是 | | id | +| oid | 否 | | 订单id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/store/order/status/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| changeMessage | 否 | | 操作备注 | +| changeTime | 否 | | 操作时间 | +| changeType | 否 | | 操作类型 | +| limit | 否 | | 每页数量 | +| oid | 否 | | 订单id | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ changeMessagestring非必须操作备注
├─ changeTypestring非必须操作类型
├─ createTimestring非必须操作时间

format: date-time

├─ oidinteger非必须订单id

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/store/order/status/delete + +**Method:** DELETE + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/store/order/status/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| changeMessage | 否 | | 操作备注 | +| changeTime | 否 | | 操作时间 | +| changeType | 否 | | 操作类型 | +| oid | 否 | | 订单id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/store/order/status/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须订单操作记录表
├─ changeMessagestring非必须操作备注
├─ changeTypestring非必须操作类型
├─ createTimestring非必须操作时间

format: date-time

├─ oidinteger非必须订单id

format: int32

messagestring非必须
+ +# 设置 -- Config + +## 整体保存表单数据 + +### 基本信息 + +**Path:** /api/admin/system/config/save/form + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
fieldsobject []必须字段值列表

item 类型: object

├─ namestring必须字段名称
├─ titlestring必须字段显示文字
├─ valuestring必须字段值
idinteger必须表单名称

format: int32

sortinteger必须排序

format: int32

statusboolean非必须状态(1:开启;0:关闭;)
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 检测表单name是否存在 + +### 基本信息 + +**Path:** /api/admin/system/config/check + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| name | 是 | | name | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 表单配置中仅仅存储 + +### 基本信息 + +**Path:** /api/admin/system/config/saveuniq + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| key | 是 | | key | +| value | 是 | | value | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 表单配置根据key获取 + +### 基本信息 + +**Path:** /api/admin/system/config/getuniq + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| key | 是 | | key | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/config/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| formId | 是 | | formId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 设置 -- 会员等级 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/user/level/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
discountnumber非必须享受折扣
experienceinteger非必须达到多少升级经验

format: int32

gradeinteger非必须会员等级

format: int32

iconstring非必须会员图标
imagestring非必须会员卡背景
isShowboolean非必须是否显示 1=显示,0=隐藏
memostring非必须说明
namestring非必须会员名称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/user/level/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isDel | 否 | | 是否删除.1=删除,0=未删除 | +| isShow | 否 | | 是否显示 1=显示,0=隐藏 | +| limit | 否 | | 每页数量 | +| name | 否 | | 会员名称 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ discountnumber非必须享受折扣
├─ experienceinteger非必须购买金额|经验达到

format: int32

├─ gradeinteger非必须会员等级

format: int32

├─ iconstring非必须会员图标
├─ idinteger非必须

format: int32

├─ imagestring非必须会员卡背景
├─ isDelboolean非必须是否删除.1=删除,0=未删除
├─ isShowboolean非必须是否显示 1=显示,0=隐藏
├─ memostring非必须说明
├─ namestring非必须会员名称
├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/user/level/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/user/level/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
discountnumber非必须享受折扣
experienceinteger非必须达到多少升级经验

format: int32

gradeinteger非必须会员等级

format: int32

iconstring非必须会员图标
imagestring非必须会员卡背景
isShowboolean非必须是否显示 1=显示,0=隐藏
memostring非必须说明
namestring非必须会员名称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 是否使用 + +### 基本信息 + +**Path:** /api/admin/system/user/level/use + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| value | 是 | | 是否使用, 1=是,0=否 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/user/level/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须设置用户等级表
├─ createTimestring非必须创建时间

format: date-time

├─ discountnumber非必须享受折扣
├─ experienceinteger非必须购买金额|经验达到

format: int32

├─ gradeinteger非必须会员等级

format: int32

├─ iconstring非必须会员图标
├─ idinteger非必须

format: int32

├─ imagestring非必须会员卡背景
├─ isDelboolean非必须是否删除.1=删除,0=未删除
├─ isShowboolean非必须是否显示 1=显示,0=隐藏
├─ memostring非必须说明
├─ namestring非必须会员名称
├─ updateTimestring非必须创建时间

format: date-time

messagestring非必须
+ +# 设置 -- 会员等级 -- 等级任务 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/user/task/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 新增时间 | +| id | 是 | | id | +| id | 否 | | | +| illustrate | 否 | | 任务说明 | +| isMust | 否 | | 是否务必达成任务,1务必达成,0=满足其一 | +| isShow | 否 | | 是否显示 | +| levelId | 否 | | 等级id | +| name | 否 | | 任务名称 | +| number | 否 | | 限定数 | +| realName | 否 | | 配置原名 | +| sort | 否 | | 排序 | +| taskType | 否 | | 任务类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/user/task/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 新增时间 | +| id | 否 | | | +| illustrate | 否 | | 任务说明 | +| isMust | 否 | | 是否务必达成任务,1务必达成,0=满足其一 | +| isShow | 否 | | 是否显示 | +| levelId | 否 | | 等级id | +| limit | 否 | | 每页数量 | +| name | 否 | | 任务名称 | +| number | 否 | | 限定数 | +| page | 否 | | 页码 | +| realName | 否 | | 配置原名 | +| sort | 否 | | 排序 | +| taskType | 否 | | 任务类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ addTimeinteger非必须新增时间

format: int32

├─ idinteger非必须

format: int32

├─ illustratestring非必须任务说明
├─ isMustboolean非必须是否务必达成任务,1务必达成,0=满足其一
├─ isShowboolean非必须是否显示
├─ levelIdinteger非必须等级id

format: int32

├─ namestring非必须任务名称
├─ numberinteger非必须限定数

format: int32

├─ realNamestring非必须配置原名
├─ sortinteger非必须排序

format: int32

├─ taskTypestring非必须任务类型
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/user/task/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/user/task/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 新增时间 | +| id | 否 | | | +| illustrate | 否 | | 任务说明 | +| isMust | 否 | | 是否务必达成任务,1务必达成,0=满足其一 | +| isShow | 否 | | 是否显示 | +| levelId | 否 | | 等级id | +| name | 否 | | 任务名称 | +| number | 否 | | 限定数 | +| realName | 否 | | 配置原名 | +| sort | 否 | | 排序 | +| taskType | 否 | | 任务类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/user/task/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须等级任务设置
├─ addTimeinteger非必须新增时间

format: int32

├─ idinteger非必须

format: int32

├─ illustratestring非必须任务说明
├─ isMustboolean非必须是否务必达成任务,1务必达成,0=满足其一
├─ isShowboolean非必须是否显示
├─ levelIdinteger非必须等级id

format: int32

├─ namestring非必须任务名称
├─ numberinteger非必须限定数

format: int32

├─ realNamestring非必须配置原名
├─ sortinteger非必须排序

format: int32

├─ taskTypestring非必须任务类型
messagestring非必须
+ +# 设置 -- 提货点 -- 提货点 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/store/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
addressstring非必须提货点地址省市区
dayTimestring非必须每日营业开关时间
detailedAddressstring非必须详细地址
imagestring非必须门店logo
introductionstring非必须简介
latitudestring非必须纬度
longitudestring非必须经度
namestring非必须门店名称
phonestring非必须手机号码
validTimestring非必须核销有效日期
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 修改门店显示状态 + +### 基本信息 + +**Path:** /api/admin/system/store/update/status + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| status | 是 | | status | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/store/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| keywords | 否 | | 搜索关键字,支持 门店名称|简介|手机号码||省市区|详细地址 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| status | 否 | | 状态,0隐藏,1显示,2回收站 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ addressstring非必须省市区
├─ createTimestring非必须创建时间

format: date-time

├─ dayTimestring非必须每日营业开关时间
├─ detailedAddressstring非必须详细地址
├─ idinteger非必须

format: int32

├─ imagestring非必须门店logo
├─ introductionstring非必须简介
├─ isDelboolean非必须是否删除
├─ isShowboolean非必须是否显示
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ namestring非必须门店名称
├─ phonestring非必须手机号码
├─ updateTimestring非必须修改时间

format: date-time

├─ validTimestring非必须核销有效日期
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/store/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 数量 + +### 基本信息 + +**Path:** /api/admin/system/store/getCount + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/store/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
addressstring非必须提货点地址省市区
dayTimestring非必须每日营业开关时间
detailedAddressstring非必须详细地址
imagestring非必须门店logo
introductionstring非必须简介
latitudestring非必须纬度
longitudestring非必须经度
namestring非必须门店名称
phonestring非必须手机号码
validTimestring非必须核销有效日期
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/store/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须门店自提
├─ addressstring非必须省市区
├─ createTimestring非必须创建时间

format: date-time

├─ dayTimestring非必须每日营业开关时间
├─ detailedAddressstring非必须详细地址
├─ idinteger非必须

format: int32

├─ imagestring非必须门店logo
├─ introductionstring非必须简介
├─ isDelboolean非必须是否删除
├─ isShowboolean非必须是否显示
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ namestring非必须门店名称
├─ phonestring非必须手机号码
├─ updateTimestring非必须修改时间

format: date-time

├─ validTimestring非必须核销有效日期
messagestring非必须
+ +# 设置 -- 提货点 -- 核销员 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/store/staff/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring非必须店员头像
createTimestring非必须创建时间

format: date-time

idinteger非必须

format: int32

phonestring非必须手机号码
staffNamestring非必须店员名称
statusinteger非必须状态

format: int32

storeIdinteger非必须门店id

format: int32

uidinteger非必须微信用户id

format: int32

updateTimestring非必须更新时间

format: date-time

verifyStatusinteger非必须核销开关

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 修改状态 + +### 基本信息 + +**Path:** /api/admin/system/store/staff/update/status + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| status | 是 | | status | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/store/staff/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| storeId | 否 | | storeId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ avatarstring非必须店员头像
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须

format: int32

├─ phonestring非必须手机号码
├─ staffNamestring非必须店员名称
├─ statusinteger非必须状态

format: int32

├─ storeIdinteger非必须门店id

format: int32

├─ systemStoreobject非必须门店自提
├─ addressstring非必须省市区
├─ createTimestring非必须创建时间

format: date-time

├─ dayTimestring非必须每日营业开关时间
├─ detailedAddressstring非必须详细地址
├─ idinteger非必须

format: int32

├─ imagestring非必须门店logo
├─ introductionstring非必须简介
├─ isDelboolean非必须是否删除
├─ isShowboolean非必须是否显示
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ namestring非必须门店名称
├─ phonestring非必须手机号码
├─ updateTimestring非必须修改时间

format: date-time

├─ validTimestring非必须核销有效日期
├─ uidinteger非必须微信用户id

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
├─ verifyStatusinteger非必须核销开关

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/store/staff/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/store/staff/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring非必须店员头像
createTimestring非必须创建时间

format: date-time

idinteger非必须

format: int32

phonestring非必须手机号码
staffNamestring非必须店员名称
statusinteger非必须状态

format: int32

storeIdinteger非必须门店id

format: int32

uidinteger非必须微信用户id

format: int32

updateTimestring非必须更新时间

format: date-time

verifyStatusinteger非必须核销开关

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/store/staff/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须门店店员表
├─ avatarstring非必须店员头像
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须

format: int32

├─ phonestring非必须手机号码
├─ staffNamestring非必须店员名称
├─ statusinteger非必须状态

format: int32

├─ storeIdinteger非必须门店id

format: int32

├─ uidinteger非必须微信用户id

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ verifyStatusinteger非必须核销开关

format: int32

messagestring非必须
+ +# 设置 -- 提货点 -- 核销订单 + +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/store/order/list + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| data | 否 | | 时间 | +| keywords | 否 | | 关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| storeId | 否 | | 核销点ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须核销订单
├─ listobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ backIntegralnumber非必须给用户退了多少积分
├─ clerkNamestring非必须店员名称
├─ createTimestring非必须创建时间

format: date-time

├─ gainIntegralnumber非必须消费赚取积分
├─ idinteger非必须订单ID

format: int32

├─ isDelboolean非必须是否删除
├─ isSystemDelboolean非必须后台是否删除
├─ markstring非必须用户备注
├─ orderIdstring非必须订单号
├─ paidboolean非必须支付状态
├─ payPostagenumber非必须支付邮费
├─ payPricenumber非必须实际支付金额
├─ payTimestring非必须支付时间

format: date-time

├─ payTypestring非必须支付方式
├─ payTypeStrstring非必须支付方式
├─ productListobject []非必须商品信息

item 类型: object

├─ infoobject非必须购物车ListResponse
├─ addTimestring非必须
├─ attrStatusboolean非必须商品是否有效
├─ bargainIdinteger非必须砍价id

format: int32

├─ brokeragenumber非必须一级分佣
├─ brokerageTwonumber非必须二级分佣
├─ cartNuminteger非必须商品数量

format: int32

├─ combinationIdinteger非必须拼团id

format: int32

├─ costPricenumber非必须
├─ idinteger非必须购物车表ID

format: int64

├─ isNewboolean非必须是否为立即购买
├─ isReplyinteger非必须

format: int32

├─ productAttrUniquestring非必须商品属性
├─ productIdinteger非必须商品ID

format: int32

├─ productInfoobject非必须商品信息,购物车列表使用
├─ attrInfoobject非必须商品属性值表
├─ attrValuestring非必须产品属性值和属性名对应关系
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ idinteger非必须attrId

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

├─ uniquestring非必须唯一值
├─ volumenumber非必须体积
├─ weightnumber非必须重量
├─ barCodestring非必须商品条码(一维码)
├─ cateIdstring非必须分类id
├─ costnumber非必须成本价
├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isPostageboolean非必须是否包邮
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ vipPricenumber非必须会员价格
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ truePricenumber非必须
├─ trueStockinteger非必须

format: int32

├─ typestring非必须类型
├─ uidinteger非必须用户ID

format: int32

├─ vipTruePricenumber非必须
├─ orderIdinteger非必须订单id

format: int32

├─ productIdinteger非必须商品ID

format: int32

├─ uniquestring非必须唯一id
├─ realNamestring非必须用户姓名
├─ refundPricenumber非必须退款金额
├─ refundReasonstring非必须不退款的理由
├─ refundReasonTimestring非必须退款时间

format: date-time

├─ refundReasonWapstring非必须前台退款原因
├─ refundReasonWapExplainstring非必须退款用户说明
├─ refundReasonWapImgstring非必须退款图片
├─ remarkstring非必须管理员备注
├─ spreadInfoobject非必须推广人信息
├─ idinteger非必须推广人id

format: int32

├─ namestring非必须推广人姓名
├─ statusboolean非必须订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)
├─ statusStrobject非必须订单状态
├─ storeNamestring非必须门店名称
├─ totalPostagenumber非必须邮费
├─ totalPricenumber非必须订单总价
├─ uidinteger非必须用户id

format: int32

├─ useIntegralnumber非必须使用积分
├─ userPhonestring非必须用户电话
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

├─ orderTotalPricenumber非必须订单总金额
├─ refundTotalinteger非必须退款总单数

format: int32

├─ refundTotalPricenumber非必须退款总金额
├─ totalinteger非必须订单总数量

format: int64

messagestring非必须
+ +# 设置 -- 权限管理 -- 身份管理 + +## TestMenu + +### 基本信息 + +**Path:** /api/admin/system/role/testMenu + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/role/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| level | 是 | | 身份管理名称 | +| roleName | 是 | | 身份管理名称 | +| rules | 是 | | 身份管理权限(menus_id) | +| status | 是 | | 状态 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/role/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| createTime | 否 | | 创建时间 | +| level | 否 | | 身份管理名称 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| roleName | 否 | | 身份管理名称 | +| rules | 否 | | 身份管理权限(menus_id) | +| status | 否 | | 状态 | +| updateTime | 否 | | 修改时间 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须身份管理id

format: int32

├─ levelinteger非必须

format: int32

├─ roleNamestring非必须身份管理名称
├─ rulesstring非必须身份管理权限(menus_id)
├─ statusboolean非必须状态
├─ updateTimestring非必须修改时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/role/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/role/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| level | 是 | | 身份管理名称 | +| roleName | 是 | | 身份管理名称 | +| rules | 是 | | 身份管理权限(menus_id) | +| status | 是 | | 状态 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 菜单 + +### 基本信息 + +**Path:** /api/admin/system/role/menu + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ child []非必须
├─ 非必须
├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/role/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须身份管理表
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须身份管理id

format: int32

├─ levelinteger非必须

format: int32

├─ roleNamestring非必须身份管理名称
├─ rulesstring非必须身份管理权限(menus_id)
├─ statusboolean非必须状态
├─ updateTimestring非必须修改时间

format: date-time

messagestring非必须
+ +# 设置 -- 物流 -- 付费 + +## 根据模板id查询数据 + +### 基本信息 + +**Path:** /api/admin/express/shipping/region/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| tempId | 是 | | tempId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ cityIdstring必须城市ID, 多个逗号分割。全国 all
├─ firstnumber必须首件
├─ firstPricenumber必须首件运费
├─ renewalnumber必须续件
├─ renewalPricenumber必须续件运费
├─ titlestring非必须城市名称描述
├─ uniqidstring非必须分组唯一值
messagestring非必须
+ +# 设置 -- 物流 -- 免费 + +## 根据模板id查询数据 + +### 基本信息 + +**Path:** /api/admin/express/shipping/free/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| tempId | 是 | | tempId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ cityIdstring必须城市ID, 多个逗号分割。 全国 all
├─ numberinteger必须包邮件数

format: int32

├─ pricenumber必须包邮金额
├─ titlestring非必须城市名称描述
messagestring非必须
+ +# 设置 -- 物流 -- 公司 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/express/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| code | 是 | | 快递公司简称 | +| id | 否 | | 快递ID | +| isShow | 是 | | 是否显示 | +| name | 是 | | 快递公司全称 | +| sort | 否 | | 排序 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/express/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isShow | 是 | | 是否显示 | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ codestring非必须快递公司简称
├─ idinteger非必须快递公司id

format: int32

├─ isShowboolean非必须是否显示
├─ namestring非必须快递公司全称
├─ sortinteger非必须排序

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/express/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 快递ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/express/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| code | 是 | | 快递公司简称 | +| isShow | 是 | | 是否显示 | +| name | 是 | | 快递公司全称 | +| sort | 否 | | 排序 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/express/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 快递ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须快递公司表
├─ codestring非必须快递公司简称
├─ idinteger非必须快递公司id

format: int32

├─ isShowboolean非必须是否显示
├─ namestring非必须快递公司全称
├─ sortinteger非必须排序

format: int32

messagestring非必须
+ +# 设置 -- 物流 -- 模板 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/express/shipping/templates/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
appointboolean必须指定包邮
namestring必须模板名称
shippingTemplatesFreeRequestListobject []必须指定包邮设置

item 类型: object

├─ cityIdstring必须城市ID, 多个逗号分割。 全国 all
├─ numberinteger必须包邮件数

format: int32

├─ pricenumber必须包邮金额
├─ titlestring非必须城市名称描述
shippingTemplatesRegionRequestListobject []必须配送区域及运费

item 类型: object

├─ cityIdstring必须城市ID, 多个逗号分割。全国 all
├─ firstnumber必须首件
├─ firstPricenumber必须首件运费
├─ renewalnumber必须续件
├─ renewalPricenumber必须续件运费
├─ titlestring非必须城市名称描述
├─ uniqidstring非必须分组唯一值
sortinteger非必须排序

format: int32

typeinteger必须计费方式 1(按件数), 2(按重量),3(按体积)

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/express/shipping/templates/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| name | 否 | | 模板名称 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ appointboolean非必须指定包邮
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须编号

format: int32

├─ namestring非必须模板名称
├─ sortinteger非必须排序

format: int32

├─ typeinteger非必须计费方式

format: int32

├─ updateTimestring非必须修改时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/express/shipping/templates/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/express/shipping/templates/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
appointboolean必须指定包邮
namestring必须模板名称
shippingTemplatesFreeRequestListobject []必须指定包邮设置

item 类型: object

├─ cityIdstring必须城市ID, 多个逗号分割。 全国 all
├─ numberinteger必须包邮件数

format: int32

├─ pricenumber必须包邮金额
├─ titlestring非必须城市名称描述
shippingTemplatesRegionRequestListobject []必须配送区域及运费

item 类型: object

├─ cityIdstring必须城市ID, 多个逗号分割。全国 all
├─ firstnumber必须首件
├─ firstPricenumber必须首件运费
├─ renewalnumber必须续件
├─ renewalPricenumber必须续件运费
├─ titlestring非必须城市名称描述
├─ uniqidstring非必须分组唯一值
sortinteger非必须排序

format: int32

typeinteger必须计费方式 1(按件数), 2(按重量),3(按体积)

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/express/shipping/templates/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ appointboolean非必须指定包邮
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须编号

format: int32

├─ namestring非必须模板名称
├─ sortinteger非必须排序

format: int32

├─ typeinteger非必须计费方式

format: int32

├─ updateTimestring非必须修改时间

format: date-time

messagestring非必须
+ +# 设置 -- 管理员操作记录 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/log/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 操作时间 | +| adminId | 否 | | 管理员id | +| adminName | 否 | | 管理员姓名 | +| id | 是 | | id | +| id | 否 | | 管理员操作记录ID | +| ip | 否 | | 登录IP | +| merchantId | 否 | | 商户id | +| method | 否 | | 访问类型 | +| page | 否 | | 行为 | +| path | 否 | | 链接 | +| type | 否 | | 类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/log/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 操作时间 | +| adminId | 否 | | 管理员id | +| adminName | 否 | | 管理员姓名 | +| id | 否 | | 管理员操作记录ID | +| ip | 否 | | 登录IP | +| limit | 否 | | 每页数量 | +| merchantId | 否 | | 商户id | +| method | 否 | | 访问类型 | +| page | 否 | | 行为 | +| page | 否 | | 页码 | +| path | 否 | | 链接 | +| type | 否 | | 类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ addTimeinteger非必须操作时间

format: int32

├─ adminIdinteger非必须管理员id

format: int32

├─ adminNamestring非必须管理员姓名
├─ idinteger非必须管理员操作记录ID

format: int32

├─ ipstring非必须登录IP
├─ merchantIdinteger非必须商户id

format: int32

├─ methodstring非必须访问类型
├─ pagestring非必须行为
├─ pathstring非必须链接
├─ typestring非必须类型
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/log/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/log/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| addTime | 否 | | 操作时间 | +| adminId | 否 | | 管理员id | +| adminName | 否 | | 管理员姓名 | +| id | 否 | | 管理员操作记录ID | +| ip | 否 | | 登录IP | +| merchantId | 否 | | 商户id | +| method | 否 | | 访问类型 | +| page | 否 | | 行为 | +| path | 否 | | 链接 | +| type | 否 | | 类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/log/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须管理员操作记录表
├─ addTimeinteger非必须操作时间

format: int32

├─ adminIdinteger非必须管理员id

format: int32

├─ adminNamestring非必须管理员姓名
├─ idinteger非必须管理员操作记录ID

format: int32

├─ ipstring非必须登录IP
├─ merchantIdinteger非必须商户id

format: int32

├─ methodstring非必须访问类型
├─ pagestring非必须行为
├─ pathstring非必须链接
├─ typestring非必须类型
messagestring非必须
+ +# 设置 -- 组合数据 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/group/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| formId | 否 | | form 表单 id | +| id | 是 | | id | +| info | 否 | | 简介 | +| name | 否 | | 数据组名称 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/group/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| keywords | 否 | | 关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ formIdinteger非必须form 表单 id

format: int32

├─ idinteger非必须组合数据ID

format: int32

├─ infostring非必须简介
├─ namestring非必须数据组名称
├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/group/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/group/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| formId | 否 | | form 表单 id | +| info | 否 | | 简介 | +| name | 否 | | 数据组名称 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/group/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须组合数据表
├─ createTimestring非必须创建时间

format: date-time

├─ formIdinteger非必须form 表单 id

format: int32

├─ idinteger非必须组合数据ID

format: int32

├─ infostring非必须简介
├─ namestring非必须数据组名称
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 设置 -- 组合数据 -- 详情 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/group/data/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
formobject非必须整体保存表单数据
├─ fieldsobject []必须字段值列表

item 类型: object

├─ namestring必须字段名称
├─ titlestring必须字段显示文字
├─ valuestring必须字段值
├─ idinteger必须表单名称

format: int32

├─ sortinteger必须排序

format: int32

├─ statusboolean非必须状态(1:开启;0:关闭;)
gidinteger非必须对应的数据组id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/group/data/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| gid | 否 | | 分组id | +| keywords | 否 | | 关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| status | 否 | | 状态(1:开启;2:关闭;) | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ gidinteger非必须对应的数据组id

format: int32

├─ idinteger非必须组合数据详情ID

format: int32

├─ sortinteger非必须数据排序

format: int32

├─ statusboolean非必须状态(1:开启;0:关闭;)
├─ updateTimestring非必须更新时间

format: date-time

├─ valuestring非必须数据组对应的数据值(json数据)
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/group/data/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/group/data/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
formobject非必须整体保存表单数据
├─ fieldsobject []必须字段值列表

item 类型: object

├─ namestring必须字段名称
├─ titlestring必须字段显示文字
├─ valuestring必须字段值
├─ idinteger必须表单名称

format: int32

├─ sortinteger必须排序

format: int32

├─ statusboolean非必须状态(1:开启;0:关闭;)
gidinteger非必须对应的数据组id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/group/data/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须组合数据详情表
├─ createTimestring非必须创建时间

format: date-time

├─ gidinteger非必须对应的数据组id

format: int32

├─ idinteger非必须组合数据详情ID

format: int32

├─ sortinteger非必须数据排序

format: int32

├─ statusboolean非必须状态(1:开启;0:关闭;)
├─ updateTimestring非必须更新时间

format: date-time

├─ valuestring非必须数据组对应的数据值(json数据)
messagestring非必须
+ +# 设置 -- 表单模板 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/form/temp/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
contentstring必须表单内容
infostring必须表单简介
namestring必须表单名称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/form/temp/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ contentstring非必须表单内容
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须表单模板id

format: int32

├─ infostring非必须表单简介
├─ namestring非必须表单名称
├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/form/temp/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
contentstring必须表单内容
infostring必须表单简介
namestring必须表单名称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/form/temp/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须表单模板
├─ contentstring非必须表单内容
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须表单模板id

format: int32

├─ infostring非必须表单简介
├─ namestring非必须表单名称
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 设置 -- 通知记录 -- 通知模板 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/notice/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| icon | 否 | | 图标 | +| id | 是 | | id | +| id | 否 | | 通知模板id | +| pushAdmin | 否 | | 通知管理员id | +| status | 否 | | 状态 | +| tableTitle | 否 | | 通知数据 | +| template | 否 | | 通知模板 | +| title | 否 | | 通知标题 | +| type | 否 | | 通知类型 | +| url | 否 | | 链接 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/notice/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| icon | 否 | | 图标 | +| id | 否 | | 通知模板id | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| pushAdmin | 否 | | 通知管理员id | +| status | 否 | | 状态 | +| tableTitle | 否 | | 通知数据 | +| template | 否 | | 通知模板 | +| title | 否 | | 通知标题 | +| type | 否 | | 通知类型 | +| url | 否 | | 链接 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ iconstring非必须图标
├─ idinteger非必须通知模板id

format: int32

├─ pushAdminstring非必须通知管理员id
├─ statusboolean非必须状态
├─ tableTitlestring非必须通知数据
├─ templatestring非必须通知模板
├─ titlestring非必须通知标题
├─ typestring非必须通知类型
├─ urlstring非必须链接
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/notice/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/notice/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| icon | 否 | | 图标 | +| id | 否 | | 通知模板id | +| pushAdmin | 否 | | 通知管理员id | +| status | 否 | | 状态 | +| tableTitle | 否 | | 通知数据 | +| template | 否 | | 通知模板 | +| title | 否 | | 通知标题 | +| type | 否 | | 通知类型 | +| url | 否 | | 链接 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/notice/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须通知模板表
├─ iconstring非必须图标
├─ idinteger非必须通知模板id

format: int32

├─ pushAdminstring非必须通知管理员id
├─ statusboolean非必须状态
├─ tableTitlestring非必须通知数据
├─ templatestring非必须通知模板
├─ titlestring非必须通知标题
├─ typestring非必须通知类型
├─ urlstring非必须链接
messagestring非必须
+ +# 财务 -- 充值 + +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/user/topUpLog/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| endTime | 否 | | 结束时间 | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| paid | 否 | | 是否充值 | +| startTime | 否 | | 添加时间 | +| status | 否 | | -1 未通过 0 审核中 1 已提现 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须充值时间

format: date-time

├─ givePricenumber非必须购买赠送金额
├─ idinteger非必须

format: int32

├─ orderIdstring非必须订单号
├─ paidboolean非必须是否充值
├─ payTimestring非必须充值支付时间

format: date-time

├─ pricenumber非必须充值金额
├─ rechargeTypestring非必须充值类型
├─ refundPricenumber非必须退款金额
├─ uidinteger非必须充值用户UID

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/user/topUpLog/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 提现总金额 + +### 基本信息 + +**Path:** /api/admin/user/topUpLog/balance + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 财务 -- 提现申请 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/finance/apply/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| alipayCode | 否 | | 支付宝账号 | +| bankCode | 否 | | 银行卡 | +| bankname | 否 | | 提现银行名称 | +| extractPrice | 否 | | 提现金额 | +| extractType | 否 | | 提现方式| alipay=支付宝,bank=银行卡,weixin=微信 | +| id | 是 | | id | +| realName | 否 | | 姓名 | +| wechat | 否 | | 微信号 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/finance/apply/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| endTime | 否 | | 结束时间 | +| extractType | 否 | | bank = 银行卡 alipay = 支付宝wx=微信 | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| startTime | 否 | | 添加时间 | +| status | 否 | | -1 未通过 0 审核中 1 已提现 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ alipayCodestring非必须支付宝账号
├─ balancenumber非必须金额
├─ bankAddressstring非必须开户地址
├─ bankCodestring非必须银行卡
├─ createTimestring非必须创建时间

format: date-time

├─ extractPricenumber非必须提现金额
├─ extractTypestring非必须bank = 银行卡 alipay = 支付宝wx=微信
├─ failMsgstring非必须无效原因
├─ failTimestring非必须失败时间

format: date-time

├─ idinteger非必须

format: int32

├─ markstring非必须备注
├─ realNamestring非必须名称
├─ statusinteger非必须-1 未通过 0 审核中 1 已提现

format: int32

├─ uidinteger非必须

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ wechatstring非必须微信号
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 提现总金额 + +### 基本信息 + +**Path:** /api/admin/finance/apply/balance + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须提现金额
├─ commissionTotalnumber非必须佣金总金额
├─ toBeWithdrawnnumber非必须
├─ unDrawnnumber非必须未提现
├─ withdrawnnumber非必须已提现
messagestring非必须
+ +# 财务 -- 资金监控 + +## 佣金记录 + +### 基本信息 + +**Path:** /api/admin/finance/founds/monitor/list/user + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| endTime | 否 | | | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| max | 否 | | 最大佣金 | +| min | 否 | | 最小佣金 | +| page | 否 | | 页码 | +| sort | 否 | | 排序 asc/desc | +| type | 否 | | 类型 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ brokeragenumber非必须账户佣金
├─ nicknamestring非必须昵称
├─ nowMoneynumber非必须账户余额
├─ totalBrokeragenumber非必须账户总佣金
├─ totalExtractnumber非必须提现总金额
├─ uidinteger非必须充值用户UID

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 资金监控 + +### 基本信息 + +**Path:** /api/admin/finance/founds/monitor/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| category | 否 | | 类型 | +| dateLimit | 否 | | 添加时间 | +| keywords | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| linkId | 否 | | 关联id | +| max | 否 | | 最大佣金 | +| min | 否 | | 最小佣金 | +| page | 否 | | 页码 | +| pm | 否 | | 操作类型 | +| sort | 否 | | 排序 asc/desc | +| type | 否 | | 类型 | +| uid | 否 | | 用户id list | +| userIdList | 否 | | 用户id list | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ add_timestring非必须创建时间

format: date-time

├─ balancenumber非必须剩余
├─ categorystring非必须明细种类
├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须用户账单id

format: int32

├─ linkIdstring非必须关联id
├─ markstring非必须备注
├─ nickNamestring非必须用户呢成
├─ numbernumber非必须明细数字
├─ pminteger非必须0 = 支出 1 = 获得

format: int32

├─ statusinteger非必须0 = 带确定 1 = 有效 -1 = 无效

format: int32

├─ titlestring非必须账单标题
├─ typestring非必须明细类型
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 附件管理 + +## 修改 + +### 基本信息 + +**Path:** /api/admin/system/attachment/update + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
attDirstring非必须附件路径
attIdinteger非必须

format: int32

attSizestring非必须附件大小
attTypestring非必须附件类型
createTimestring非必须创建时间

format: date-time

imageTypeinteger非必须图片上传类型 1本地 2七牛云 3OSS 4COS

format: int32

modelstring非必须模块,store
moduleTypeinteger非必须图片上传模块类型 1 后台上传 2 用户生成

format: int32

namestring非必须附件名称
rootDirstring非必须服务器上存储的绝对地址
sattDirstring非必须压缩图片路径
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/admin/system/attachment/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| pid | 是 | | pid | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ attDirstring非必须附件路径
├─ attIdinteger非必须

format: int32

├─ attSizestring非必须附件大小
├─ attTypestring非必须附件类型
├─ createTimestring非必须创建时间

format: date-time

├─ imageTypeinteger非必须图片上传类型 1本地 2七牛云 3OSS 4COS

format: int32

├─ namestring非必须附件名称
├─ pidinteger非必须分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列

format: int32

├─ sattDirstring非必须压缩图片路径
├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/admin/system/attachment/delete/{ids} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| ids | | ids | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/admin/system/attachment/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
attDirstring非必须附件路径
attIdinteger非必须

format: int32

attSizestring非必须附件大小
attTypestring非必须附件类型
createTimestring非必须创建时间

format: date-time

imageTypeinteger非必须图片上传类型 1本地 2七牛云 3OSS 4COS

format: int32

modelstring非必须模块,store
moduleTypeinteger非必须图片上传模块类型 1 后台上传 2 用户生成

format: int32

namestring非必须附件名称
rootDirstring非必须服务器上存储的绝对地址
sattDirstring非必须压缩图片路径
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 更改图片目录 + +### 基本信息 + +**Path:** /api/admin/system/attachment/move + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
attrIdinteger非必须

format: int32

pidinteger非必须

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/admin/system/attachment/info/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须附件管理表
├─ attDirstring非必须附件路径
├─ attIdinteger非必须

format: int32

├─ attSizestring非必须附件大小
├─ attTypestring非必须附件类型
├─ createTimestring非必须创建时间

format: date-time

├─ imageTypeinteger非必须图片上传类型 1本地 2七牛云 3OSS 4COS

format: int32

├─ namestring非必须附件名称
├─ pidinteger非必须分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列

format: int32

├─ sattDirstring非必须压缩图片路径
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 验证码服务 + +## 检测验证码 + +### 基本信息 + +**Path:** /api/admin/validate/code/check + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| code | 是 | | code | +| key | 是 | | key | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 获取验证码 + +### 基本信息 + +**Path:** /api/admin/validate/code/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须验证码类
├─ codestring必须code
├─ keystring必须key
messagestring非必须
+ \ No newline at end of file diff --git a/接口文档/admin/admin_swaggerApi.json b/接口文档/admin/admin_swaggerApi.json new file mode 100644 index 00000000..7212e699 --- /dev/null +++ b/接口文档/admin/admin_swaggerApi.json @@ -0,0 +1,29066 @@ +{ + "swagger": "2.0", + "info": { + "title": "crmeb_java_admin", + "version": "last", + "description": "crmeb_java_admin" + }, + "basePath": "/", + "tags": [ + { + "name": "Admin 平台用户", + "description": "admin User" + }, + { + "name": "上传文件", + "description": "Upload Controller" + }, + { + "name": "会员 -- 分组", + "description": "User Group Controller" + }, + { + "name": "会员 -- 标签", + "description": "User Tag Controller" + }, + { + "name": "会员 -- 等级", + "description": "User Level Controller" + }, + { + "name": "会员管理", + "description": "User Controller" + }, + { + "name": "会员管理 -- 用户账单", + "description": "User Bill Controller" + }, + { + "name": "分类服务", + "description": "Category Controller" + }, + { + "name": "分销", + "description": "Retail Shop Controller" + }, + { + "name": "后台用户服务", + "description": "System Admin Controller" + }, + { + "name": "商品", + "description": "Store Product Controller" + }, + { + "name": "商品 -- 规则值(规格)", + "description": "Store Product Rule Controller" + }, + { + "name": "商品 -- 评论", + "description": "Store Product Reply Controller" + }, + { + "name": "城市管理", + "description": "System City Controller" + }, + { + "name": "客服用户对话记录表", + "description": "Store Service Log Controller" + }, + { + "name": "客服表", + "description": "Store Service Controller" + }, + { + "name": "导出 -- Excel", + "description": "Excel Controller" + }, + { + "name": "微信 -- 消息模版", + "description": "Template Message Controller" + }, + { + "name": "微信开放平台 -- 小程序access_token", + "description": "Routine Access Token Controller" + }, + { + "name": "微信开放平台 -- 小程序二维码管理", + "description": "Routine Qrcode Controller" + }, + { + "name": "微信开放平台 -- 微信二维码管理", + "description": "Wechat Qrcode Controller" + }, + { + "name": "微信开放平台 -- 微信关键字回复", + "description": "Wechat Reply Controller" + }, + { + "name": "微信开放平台 -- 微信用户", + "description": "Wechat User Controller" + }, + { + "name": "微信开放平台 -- 微信用户标签", + "description": "We Chat User Tags Controller" + }, + { + "name": "微信开放平台 -- 用户行为记录", + "description": "Wechat Message Controller" + }, + { + "name": "微信开放平台 -- 素材", + "description": "Wechat Media Controller" + }, + { + "name": "微信开放平台 -- 菜单管理", + "description": "We Chat Controller" + }, + { + "name": "微信开放平台 -- 表单id表记录", + "description": "Routine Form Id Controller" + }, + { + "name": "支付回调", + "description": "Callback Controller" + }, + { + "name": "文章管理", + "description": "Article Controller" + }, + { + "name": "短信服务", + "description": "Sms Record Controller" + }, + { + "name": "统计 -- 主页", + "description": "Home Controller" + }, + { + "name": "营销 -- 优惠券", + "description": "Store Coupon Controller" + }, + { + "name": "营销 -- 优惠券 -- 领取记录", + "description": "Store Coupon User Controller" + }, + { + "name": "订单", + "description": "Store Order Controller" + }, + { + "name": "订单 -- 操作记录", + "description": "Store Order Status Controller" + }, + { + "name": "设置 -- Config", + "description": "System Config Controller" + }, + { + "name": "设置 -- 会员等级", + "description": "System User Level Controller" + }, + { + "name": "设置 -- 会员等级 -- 等级任务", + "description": "System User Task Controller" + }, + { + "name": "设置 -- 提货点 -- 提货点", + "description": "System Store Controller" + }, + { + "name": "设置 -- 提货点 -- 核销员", + "description": "System Store Staff Controller" + }, + { + "name": "设置 -- 提货点 -- 核销订单", + "description": "System Write Off Order Controller" + }, + { + "name": "设置 -- 权限管理 -- 身份管理", + "description": "System Role Controller" + }, + { + "name": "设置 -- 物流 -- 付费", + "description": "Shipping Templates Region Controller" + }, + { + "name": "设置 -- 物流 -- 免费", + "description": "Shipping Templates Free Controller" + }, + { + "name": "设置 -- 物流 -- 公司", + "description": "Express Controller" + }, + { + "name": "设置 -- 物流 -- 模板", + "description": "Shipping Templates Controller" + }, + { + "name": "设置 -- 管理员操作记录", + "description": "System Log Controller" + }, + { + "name": "设置 -- 组合数据", + "description": "System Group Controller" + }, + { + "name": "设置 -- 组合数据 -- 详情", + "description": "System Group Data Controller" + }, + { + "name": "设置 -- 表单模板", + "description": "System Form Temp Controller" + }, + { + "name": "设置 -- 通知记录 -- 通知模板", + "description": "System Notice Controller" + }, + { + "name": "财务 -- 充值", + "description": "User Recharge Controller" + }, + { + "name": "财务 -- 提现申请", + "description": "User Extract Controller" + }, + { + "name": "财务 -- 资金监控", + "description": "Funds Monitor Controller" + }, + { + "name": "附件管理", + "description": "System Attachment Controller" + }, + { + "name": "验证码服务", + "description": "Validate Code Controller" + } + ], + "schemes": [ + "http" + ], + "paths": { + "/api/admin/login": { + "post": { + "tags": [ + "Admin 平台用户" + ], + "summary": "AdminUserLogin", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "required": [ + "code", + "key" + ], + "properties": { + "account": { + "type": "string", + "example": "admin", + "description": "后台管理员账号" + }, + "code": { + "type": "string", + "description": "code" + }, + "key": { + "type": "string", + "description": "key" + }, + "pwd": { + "type": "string", + "example": 123456, + "description": "后台管理员密码" + } + }, + "title": "SystemAdminLoginRequest", + "$$ref": "#/definitions/SystemAdminLoginRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "addTime": { + "type": "integer", + "format": "int32" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "lastIp": { + "type": "string" + }, + "lastTime": { + "type": "integer", + "format": "int32" + }, + "level": { + "type": "integer", + "format": "int32" + }, + "loginCount": { + "type": "integer", + "format": "int32" + }, + "realName": { + "type": "string" + }, + "roles": { + "type": "string" + }, + "status": { + "type": "boolean" + }, + "token": { + "type": "string" + } + }, + "title": "SystemAdminResponse", + "$$ref": "#/definitions/SystemAdminResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemAdminResponse»", + "$$ref": "#/definitions/CommonResult«SystemAdminResponse»" + } + } + } + } + }, + "/api/admin/logout": { + "get": { + "tags": [ + "Admin 平台用户" + ], + "summary": "AdminUserLogout", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "addTime": { + "type": "integer", + "format": "int32" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "lastIp": { + "type": "string" + }, + "lastTime": { + "type": "integer", + "format": "int32" + }, + "level": { + "type": "integer", + "format": "int32" + }, + "loginCount": { + "type": "integer", + "format": "int32" + }, + "realName": { + "type": "string" + }, + "roles": { + "type": "string" + }, + "status": { + "type": "boolean" + }, + "token": { + "type": "string" + } + }, + "title": "SystemAdminResponse", + "$$ref": "#/definitions/SystemAdminResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemAdminResponse»", + "$$ref": "#/definitions/CommonResult«SystemAdminResponse»" + } + } + } + } + }, + "/api/admin/getAdminInfoByToken": { + "get": { + "tags": [ + "Admin 平台用户" + ], + "summary": "GetAdminUserByToken", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "addTime": { + "type": "integer", + "format": "int32" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "lastIp": { + "type": "string" + }, + "lastTime": { + "type": "integer", + "format": "int32" + }, + "level": { + "type": "integer", + "format": "int32" + }, + "loginCount": { + "type": "integer", + "format": "int32" + }, + "realName": { + "type": "string" + }, + "roles": { + "type": "string" + }, + "status": { + "type": "boolean" + }, + "token": { + "type": "string" + } + }, + "title": "SystemAdminResponse", + "$$ref": "#/definitions/SystemAdminResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemAdminResponse»", + "$$ref": "#/definitions/CommonResult«SystemAdminResponse»" + } + } + } + } + }, + "/api/admin/getLoginPic": { + "get": { + "tags": [ + "Admin 平台用户" + ], + "summary": "获取登录页图片", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/admin/upload/async": { + "post": { + "tags": [ + "上传文件" + ], + "summary": "同步到云服务", + "consumes": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "extName": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64" + }, + "serverPath": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "title": "FileResultVo", + "$$ref": "#/definitions/FileResultVo" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«FileResultVo»", + "$$ref": "#/definitions/CommonResult«FileResultVo»" + } + } + } + } + }, + "/api/admin/upload/image": { + "post": { + "tags": [ + "上传文件" + ], + "summary": "图片上传", + "consumes": [ + "multipart/form-data" + ], + "parameters": [ + { + "name": "model", + "in": "query", + "required": false, + "description": "模块 用户user,商品product,微信wechat,news文章", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ", + "type": "string" + }, + { + "name": "multipart", + "in": "formData", + "required": false, + "description": "multipart", + "type": "file" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "extName": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64" + }, + "serverPath": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "title": "FileResultVo", + "$$ref": "#/definitions/FileResultVo" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«FileResultVo»", + "$$ref": "#/definitions/CommonResult«FileResultVo»" + } + } + } + } + }, + "/api/admin/upload/file": { + "post": { + "tags": [ + "上传文件" + ], + "summary": "文件上传", + "consumes": [ + "multipart/form-data" + ], + "parameters": [ + { + "name": "model", + "in": "query", + "required": false, + "description": "模块 用户user,商品product,微信wechat,news文章", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ", + "type": "string" + }, + { + "name": "multipart", + "in": "formData", + "required": false, + "description": "multipart", + "type": "file" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "extName": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64" + }, + "serverPath": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "title": "FileResultVo", + "$$ref": "#/definitions/FileResultVo" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«FileResultVo»", + "$$ref": "#/definitions/CommonResult«FileResultVo»" + } + } + } + } + }, + "/api/admin/user/group/update": { + "post": { + "tags": [ + "会员 -- 分组" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "用户分组表", + "schema": { + "type": "object", + "properties": { + "groupName": { + "type": "string", + "description": "用户分组名称" + }, + "id": { + "type": "integer", + "format": "int32" + } + }, + "title": "UserGroup对象", + "description": "用户分组表", + "$$ref": "#/definitions/UserGroup对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/group/list": { + "get": { + "tags": [ + "会员 -- 分组" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "groupName": { + "type": "string", + "description": "用户分组名称" + }, + "id": { + "type": "integer", + "format": "int32" + } + }, + "title": "UserGroup对象", + "description": "用户分组表", + "$$ref": "#/definitions/UserGroup对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserGroup对象»", + "$$ref": "#/definitions/CommonPage«UserGroup对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserGroup对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserGroup对象»»" + } + } + } + } + }, + "/api/admin/user/group/delete": { + "get": { + "tags": [ + "会员 -- 分组" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/group/save": { + "post": { + "tags": [ + "会员 -- 分组" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户分组表", + "schema": { + "type": "object", + "properties": { + "groupName": { + "type": "string", + "description": "用户分组名称" + }, + "id": { + "type": "integer", + "format": "int32" + } + }, + "title": "UserGroup对象", + "description": "用户分组表", + "$$ref": "#/definitions/UserGroup对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/group/info": { + "get": { + "tags": [ + "会员 -- 分组" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "groupName": { + "type": "string", + "description": "用户分组名称" + }, + "id": { + "type": "integer", + "format": "int32" + } + }, + "title": "UserGroup对象", + "description": "用户分组表", + "$$ref": "#/definitions/UserGroup对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserGroup对象»", + "$$ref": "#/definitions/CommonResult«UserGroup对象»" + } + } + } + } + }, + "/api/admin/user/tag/update": { + "post": { + "tags": [ + "会员 -- 标签" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "会员标签", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "标签名称" + } + }, + "title": "UserTagRequest对象", + "description": "会员标签", + "$$ref": "#/definitions/UserTagRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/tag/list": { + "get": { + "tags": [ + "会员 -- 标签" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "标签名称" + } + }, + "title": "UserTag对象", + "description": "用户标签表", + "$$ref": "#/definitions/UserTag对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserTag对象»", + "$$ref": "#/definitions/CommonPage«UserTag对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserTag对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserTag对象»»" + } + } + } + } + }, + "/api/admin/user/tag/delete": { + "get": { + "tags": [ + "会员 -- 标签" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/tag/save": { + "post": { + "tags": [ + "会员 -- 标签" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "会员标签", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "标签名称" + } + }, + "title": "UserTagRequest对象", + "description": "会员标签", + "$$ref": "#/definitions/UserTagRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/tag/info": { + "get": { + "tags": [ + "会员 -- 标签" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "标签名称" + } + }, + "title": "UserTag对象", + "description": "用户标签表", + "$$ref": "#/definitions/UserTag对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserTag对象»", + "$$ref": "#/definitions/CommonResult«UserTag对象»" + } + } + } + } + }, + "/api/admin/user/level/level": { + "post": { + "tags": [ + "会员 -- 等级" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "levelId", + "in": "query", + "required": false, + "description": "等级ID", + "type": "string" + }, + { + "name": "userId", + "in": "query", + "required": false, + "description": "会员ID", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/level/list": { + "get": { + "tags": [ + "会员 -- 等级" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "discount", + "in": "query", + "required": false, + "description": "享受折扣", + "type": "string" + }, + { + "name": "grade", + "in": "query", + "required": false, + "description": "会员等级", + "type": "string" + }, + { + "name": "isDel", + "in": "query", + "required": false, + "description": "是否删除,0=未删除,1=删除", + "type": "string" + }, + { + "name": "isForever", + "in": "query", + "required": false, + "description": "是否永久", + "type": "string" + }, + { + "name": "levelId", + "in": "query", + "required": false, + "description": "等级vip", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "mark", + "in": "query", + "required": false, + "description": "备注", + "type": "string" + }, + { + "name": "merId", + "in": "query", + "required": false, + "description": "商户id", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "remind", + "in": "query", + "required": false, + "description": "是否已通知", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "0:禁止,1:正常", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户uid", + "type": "string" + }, + { + "name": "validTime", + "in": "query", + "required": false, + "description": "过期时间", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "discount": { + "type": "number", + "description": "享受折扣" + }, + "grade": { + "type": "integer", + "format": "int32", + "description": "会员等级" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "isDel": { + "type": "boolean", + "description": "是否删除,0=未删除,1=删除" + }, + "levelId": { + "type": "integer", + "format": "int32", + "description": "等级vip" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "remind": { + "type": "boolean", + "description": "是否已通知" + }, + "status": { + "type": "boolean", + "description": "0:禁止,1:正常" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserLevel对象", + "description": "用户等级记录表", + "$$ref": "#/definitions/UserLevel对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserLevel对象»", + "$$ref": "#/definitions/CommonPage«UserLevel对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserLevel对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserLevel对象»»" + } + } + } + } + }, + "/api/admin/user/level/clean": { + "post": { + "tags": [ + "会员 -- 等级" + ], + "summary": "清除会员等级", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "userId", + "in": "query", + "required": false, + "description": "会员ID", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/infobycondition": { + "get": { + "tags": [ + "会员管理" + ], + "summary": "会员详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "0=消费记录,1=积分明细,2=签到记录,3=持有优惠券,4=余额变动,5=好友关系", + "type": "string" + }, + { + "name": "userId", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "title": "T", + "$$ref": "#/definitions/T" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«T»", + "$$ref": "#/definitions/CommonPage«T»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«T»»", + "$$ref": "#/definitions/CommonResult«CommonPage«T»»" + } + } + } + } + }, + "/api/admin/user/topdetail": { + "get": { + "tags": [ + "会员管理" + ], + "summary": "会员详情页Top数据", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "userId", + "in": "query", + "required": false, + "description": "userId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "allConsumeCount": { + "type": "number" + }, + "allOrderCount": { + "type": "integer", + "format": "int32" + }, + "balance": { + "type": "number" + }, + "integralCount": { + "type": "number" + }, + "mothConsumeCount": { + "type": "number" + }, + "mothOrderCount": { + "type": "integer", + "format": "int32" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "title": "TopDetail", + "$$ref": "#/definitions/TopDetail" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«TopDetail»", + "$$ref": "#/definitions/CommonResult«TopDetail»" + } + } + } + } + }, + "/api/admin/user/update": { + "post": { + "tags": [ + "会员管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "用户表", + "schema": { + "type": "object", + "properties": { + "addres": { + "type": "string", + "description": "详细地址" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "status": { + "type": "boolean", + "description": "状态是否正常, 0 = 禁止, 1 = 正常" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + } + }, + "title": "UserRequest对象", + "description": "用户表", + "$$ref": "#/definitions/UserRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/group": { + "post": { + "tags": [ + "会员管理" + ], + "summary": "分组", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "groupId", + "in": "query", + "required": false, + "description": "groupId", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/list": { + "get": { + "tags": [ + "会员管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "accessType", + "in": "query", + "required": false, + "description": "访问情况, 0 = 全部, 1 = 首次, 2 = 访问过, 3 = 未访问", + "type": "string" + }, + { + "name": "city", + "in": "query", + "required": false, + "description": "城市", + "type": "string" + }, + { + "name": "country", + "in": "query", + "required": false, + "description": "国家", + "type": "string" + }, + { + "name": "data", + "in": "query", + "required": false, + "description": "时间", + "type": "string" + }, + { + "name": "groupId", + "in": "query", + "required": false, + "description": "用户分组", + "type": "string" + }, + { + "name": "isPromoter", + "in": "query", + "required": false, + "description": "是否为推广员, 0 = 禁止, 1 = 正常", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字", + "type": "string" + }, + { + "name": "labelId", + "in": "query", + "required": false, + "description": "用户标签", + "type": "string" + }, + { + "name": "level", + "in": "query", + "required": false, + "description": "等级", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "loginType", + "in": "query", + "required": false, + "description": "用户登陆类型,h5 = h5, wechat = wechat,routine = routine", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "payCount", + "in": "query", + "required": false, + "description": "消费情况", + "type": "string" + }, + { + "name": "province", + "in": "query", + "required": false, + "description": "省份", + "type": "string" + }, + { + "name": "sex", + "in": "query", + "required": false, + "description": "性别", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态是否正常, 0 = 禁止, 1 = 正常", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "清除时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "integer", + "format": "int32", + "description": "用户分组id" + }, + "groupName": { + "type": "string", + "description": "分组名称" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadNickname": { + "type": "string", + "description": "推广员名称" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "tagName": { + "type": "string", + "description": "标签名称" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "UserResponse", + "$$ref": "#/definitions/UserResponse" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserResponse»", + "$$ref": "#/definitions/CommonPage«UserResponse»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserResponse»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserResponse»»" + } + } + } + } + }, + "/api/admin/user/delete": { + "get": { + "tags": [ + "会员管理" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/tag": { + "post": { + "tags": [ + "会员管理" + ], + "summary": "标签", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "tagId", + "in": "query", + "required": false, + "description": "tagId", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/operate/founds": { + "get": { + "tags": [ + "会员管理" + ], + "summary": "积分余额", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "integralType", + "in": "query", + "required": false, + "description": "积分类型, 1 = 增加, 2 = 减少", + "type": "string" + }, + { + "name": "integralValue", + "in": "query", + "required": false, + "description": "积分", + "type": "string" + }, + { + "name": "moneyType", + "in": "query", + "required": false, + "description": "余额类型, 1 = 增加, 2 = 减少", + "type": "string" + }, + { + "name": "moneyValue", + "in": "query", + "required": false, + "description": "余额", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "uid", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/user/info": { + "get": { + "tags": [ + "会员管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«User对象»", + "$$ref": "#/definitions/CommonResult«User对象»" + } + } + } + } + }, + "/api/admin/user/bill/update": { + "post": { + "tags": [ + "会员管理 -- 用户账单" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "balance", + "in": "query", + "required": false, + "description": "剩余", + "type": "string" + }, + { + "name": "category", + "in": "query", + "required": false, + "description": "明细种类", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "linkId", + "in": "query", + "required": false, + "description": "关联id", + "type": "string" + }, + { + "name": "mark", + "in": "query", + "required": false, + "description": "备注", + "type": "string" + }, + { + "name": "number", + "in": "query", + "required": false, + "description": "明细数字", + "type": "string" + }, + { + "name": "pm", + "in": "query", + "required": false, + "description": "0 = 支出 1 = 获得", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "0 = 带确定 1 = 有效 -1 = 无效", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "账单标题", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "明细类型", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户uid", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/bill/list": { + "post": { + "tags": [ + "会员管理 -- 用户账单" + ], + "summary": "分页列表", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "资金监控", + "schema": { + "type": "object", + "properties": { + "category": { + "type": "string", + "description": "类型" + }, + "dateLimit": { + "type": "string", + "description": "添加时间" + }, + "keywords": { + "type": "string", + "description": "搜索关键字" + }, + "max": { + "type": "number", + "description": "最大佣金" + }, + "min": { + "type": "number", + "description": "最小佣金" + }, + "sort": { + "type": "string", + "description": "排序 asc/desc" + }, + "type": { + "type": "string", + "description": "类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id list" + }, + "userIdList": { + "type": "array", + "description": "用户id list", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "title": "FundsMonitorSearchRequest对象", + "description": "资金监控", + "$$ref": "#/definitions/FundsMonitorSearchRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "add_time": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "balance": { + "type": "number", + "description": "剩余" + }, + "category": { + "type": "string", + "description": "明细种类" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户账单id" + }, + "linkId": { + "type": "string", + "description": "关联id" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "nickName": { + "type": "string", + "description": "用户呢成" + }, + "number": { + "type": "number", + "description": "明细数字" + }, + "pm": { + "type": "integer", + "format": "int32", + "description": "0 = 支出 1 = 获得" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "0 = 带确定 1 = 有效 -1 = 无效" + }, + "title": { + "type": "string", + "description": "账单标题" + }, + "type": { + "type": "string", + "description": "明细类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserBill对象", + "description": "用户账单表", + "$$ref": "#/definitions/UserBill对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserBill对象»", + "$$ref": "#/definitions/CommonPage«UserBill对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserBill对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»" + } + } + } + } + }, + "/api/admin/user/bill/delete": { + "get": { + "tags": [ + "会员管理 -- 用户账单" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/bill/save": { + "post": { + "tags": [ + "会员管理 -- 用户账单" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "balance", + "in": "query", + "required": false, + "description": "剩余", + "type": "string" + }, + { + "name": "category", + "in": "query", + "required": false, + "description": "明细种类", + "type": "string" + }, + { + "name": "linkId", + "in": "query", + "required": false, + "description": "关联id", + "type": "string" + }, + { + "name": "mark", + "in": "query", + "required": false, + "description": "备注", + "type": "string" + }, + { + "name": "number", + "in": "query", + "required": false, + "description": "明细数字", + "type": "string" + }, + { + "name": "pm", + "in": "query", + "required": false, + "description": "0 = 支出 1 = 获得", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "0 = 带确定 1 = 有效 -1 = 无效", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "账单标题", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "明细类型", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户uid", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/bill/info": { + "get": { + "tags": [ + "会员管理 -- 用户账单" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "add_time": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "balance": { + "type": "number", + "description": "剩余" + }, + "category": { + "type": "string", + "description": "明细种类" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户账单id" + }, + "linkId": { + "type": "string", + "description": "关联id" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "nickName": { + "type": "string", + "description": "用户呢成" + }, + "number": { + "type": "number", + "description": "明细数字" + }, + "pm": { + "type": "integer", + "format": "int32", + "description": "0 = 支出 1 = 获得" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "0 = 带确定 1 = 有效 -1 = 无效" + }, + "title": { + "type": "string", + "description": "账单标题" + }, + "type": { + "type": "string", + "description": "明细类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserBill对象", + "description": "用户账单表", + "$$ref": "#/definitions/UserBill对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserBill对象»", + "$$ref": "#/definitions/CommonResult«UserBill对象»" + } + } + } + } + }, + "/api/admin/category/update": { + "post": { + "tags": [ + "分类服务" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "extra", + "in": "query", + "required": false, + "description": "扩展字段", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "分类ID", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "分类名称", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "父级ID", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态, 0正常,1失效", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "地址", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/category/list": { + "get": { + "tags": [ + "分类服务" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "分类名称", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "父级ID", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态, 0正常,1失效", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 " + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "Category对象", + "description": "分类表", + "$$ref": "#/definitions/Category对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«Category对象»", + "$$ref": "#/definitions/CommonPage«Category对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«Category对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«Category对象»»" + } + } + } + } + }, + "/api/admin/category/delete": { + "get": { + "tags": [ + "分类服务" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "分类ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/category/save": { + "post": { + "tags": [ + "分类服务" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "extra", + "in": "query", + "required": false, + "description": "扩展字段", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "分类名称", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "父级ID", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态, 0正常,1失效", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "地址", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/category/list/ids": { + "get": { + "tags": [ + "分类服务" + ], + "summary": "根据id集合获取分类列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "ids", + "in": "query", + "required": false, + "description": "分类id集合", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 " + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "Category对象", + "description": "分类表", + "$$ref": "#/definitions/Category对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«Category对象»»", + "$$ref": "#/definitions/CommonResult«List«Category对象»»" + } + } + } + } + }, + "/api/admin/category/list/tree": { + "get": { + "tags": [ + "分类服务" + ], + "summary": "获取tree结构的列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "status", + "in": "query", + "required": false, + "description": "-1=全部,0=未生效,1=已生效", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "child": { + "type": "array", + "items": { + "originalRef": "CategoryTreeVo", + "$ref": "#/definitions/CategoryTreeVo" + } + }, + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "CategoryTreeVo", + "$$ref": "#/definitions/CategoryTreeVo" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«CategoryTreeVo»»", + "$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»" + } + } + } + } + }, + "/api/admin/category/info": { + "get": { + "tags": [ + "分类服务" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "分类ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 " + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "Category对象", + "description": "分类表", + "$$ref": "#/definitions/Category对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Category对象»", + "$$ref": "#/definitions/CommonResult«Category对象»" + } + } + } + } + }, + "/api/admin/store/retail/list": { + "get": { + "tags": [ + "分销" + ], + "summary": "分销列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "dateLimit", + "in": "query", + "required": false, + "description": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字[身份证,手机,昵称,备注等]", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokerageMoney": { + "type": "number", + "description": "佣金数据" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "清除时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "integer", + "format": "int32", + "description": "用户分组id" + }, + "groupName": { + "type": "string", + "description": "分组名称" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "retailShopOrderDataResponse": { + "type": "object", + "properties": { + "orderCount": { + "type": "integer", + "format": "int32", + "description": "订单数量" + }, + "orderPrice": { + "type": "number", + "description": "订单总价" + } + }, + "title": "RetailShopOrderDataResponse", + "$$ref": "#/definitions/RetailShopOrderDataResponse" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadNickname": { + "type": "string", + "description": "推广员名称" + }, + "spreadPeopleCount": { + "type": "integer", + "format": "int32", + "description": "推广用户数量" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "tagName": { + "type": "string", + "description": "标签名称" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userExtractResponse": { + "type": "object", + "properties": { + "extractCountNum": { + "type": "integer", + "format": "int32", + "description": "提现次数" + }, + "extractCountPrice": { + "type": "number", + "description": "体现数据总额" + } + }, + "title": "UserExtractResponse", + "$$ref": "#/definitions/UserExtractResponse" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "RetailShopUserResponse", + "$$ref": "#/definitions/RetailShopUserResponse" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«RetailShopUserResponse»", + "$$ref": "#/definitions/CommonPage«RetailShopUserResponse»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«RetailShopUserResponse»»", + "$$ref": "#/definitions/CommonResult«CommonPage«RetailShopUserResponse»»" + } + } + } + } + }, + "/api/admin/store/retail/statistics": { + "get": { + "tags": [ + "分销" + ], + "summary": "分销头部数据", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "dateLimit", + "in": "query", + "required": false, + "description": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/", + "type": "string" + }, + { + "name": "nickName", + "in": "query", + "required": false, + "description": "昵称", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/store/retail/spread/manage/set": { + "post": { + "tags": [ + "分销" + ], + "summary": "分销管理信息保存", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "brokerageBindind": { + "type": "string", + "description": "分销关系绑定" + }, + "brokerageFuncStatus": { + "type": "string", + "description": "是否启用分销" + }, + "extractTime": { + "type": "string", + "description": "冻结时间" + }, + "storeBrokeragePrice": { + "type": "string", + "description": "人人分销满足金额" + }, + "storeBrokerageRatio": { + "type": "string", + "description": "一级返佣比例" + }, + "storeBrokerageStatus": { + "type": "string", + "description": "分销模式" + }, + "storeBrokerageTwo": { + "type": "string", + "description": "二级返佣比例" + }, + "userExtractBank": { + "type": "string", + "description": "提现银行" + }, + "userExtractMinPrice": { + "type": "string", + "description": "用户提现最低金额" + } + }, + "title": "RetailShopRequest", + "$$ref": "#/definitions/RetailShopRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/store/retail/spread/manage/get": { + "get": { + "tags": [ + "分销" + ], + "summary": "分销配置信息获取", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/store/retail/spread/userlist": { + "post": { + "tags": [ + "分销" + ], + "summary": "根据条件获取推广人列表", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "推广等级参数", + "schema": { + "type": "object", + "properties": { + "dateLimit": { + "type": "string", + "description": "时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/" + }, + "nickName": { + "type": "string", + "description": "搜索关键字" + }, + "orderPriceId": { + "type": "string" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型 null = 全部 1=一级推广人 2=二级推广人" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + } + }, + "title": "RetailShopStairUserRequest对象", + "description": "推广等级参数", + "$$ref": "#/definitions/RetailShopStairUserRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«User对象»", + "$$ref": "#/definitions/CommonPage«User对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«User对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«User对象»»" + } + } + } + } + }, + "/api/admin/store/retail/spread/orderlist": { + "post": { + "tags": [ + "分销" + ], + "summary": "根据条件获取推广人订单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "推广等级参数", + "schema": { + "type": "object", + "properties": { + "dateLimit": { + "type": "string", + "description": "时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/" + }, + "nickName": { + "type": "string", + "description": "搜索关键字" + }, + "orderPriceId": { + "type": "string" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型 null = 全部 1=一级推广人 2=二级推广人" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + } + }, + "title": "RetailShopStairUserRequest对象", + "description": "推广等级参数", + "$$ref": "#/definitions/RetailShopStairUserRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "backIntegral": { + "type": "number", + "description": "给用户退了多少积分" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "clerkId": { + "type": "integer", + "format": "int32", + "description": "店员id" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团商品id0一般商品" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券id" + }, + "couponPrice": { + "type": "number", + "description": "优惠券金额" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "deductionPrice": { + "type": "number", + "description": "抵扣金额" + }, + "deliveryId": { + "type": "string", + "description": "快递单号/手机号" + }, + "deliveryName": { + "type": "string", + "description": "快递名称/送货人姓名" + }, + "deliveryType": { + "type": "string", + "description": "发货类型" + }, + "freightPrice": { + "type": "number", + "description": "运费金额" + }, + "gainIntegral": { + "type": "number", + "description": "消费赚取积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "isChannel": { + "type": "integer", + "format": "int32", + "description": "支付渠道(0微信公众号1微信小程序)" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isMerCheck": { + "type": "integer", + "format": "int32" + }, + "isRemind": { + "type": "boolean", + "description": "消息提醒" + }, + "isSystemDel": { + "type": "boolean", + "description": "后台是否删除" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户ID" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "paid": { + "type": "boolean", + "description": "支付状态" + }, + "payPostage": { + "type": "number", + "description": "支付邮费" + }, + "payPrice": { + "type": "number", + "description": "实际支付金额" + }, + "payTime": { + "type": "string", + "format": "date-time", + "description": "支付时间" + }, + "payType": { + "type": "string", + "description": "支付方式" + }, + "pinkId": { + "type": "integer", + "format": "int32", + "description": "拼团id 0没有拼团" + }, + "realName": { + "type": "string", + "description": "用户姓名" + }, + "refundPrice": { + "type": "number", + "description": "退款金额" + }, + "refundReason": { + "type": "string", + "description": "不退款的理由" + }, + "refundReasonTime": { + "type": "string", + "format": "date-time", + "description": "退款时间" + }, + "refundReasonWap": { + "type": "string", + "description": "前台退款原因" + }, + "refundReasonWapExplain": { + "type": "string", + "description": "退款用户说明" + }, + "refundReasonWapImg": { + "type": "string", + "description": "退款图片" + }, + "refundStatus": { + "type": "integer", + "format": "int32", + "description": "0 未退款 1 申请中 2 已退款" + }, + "remark": { + "type": "string", + "description": "管理员备注" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "shippingType": { + "type": "integer", + "format": "int32", + "description": "配送方式 1=快递 ,2=门店自提" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)" + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "totalNum": { + "type": "integer", + "format": "int32", + "description": "订单商品总数" + }, + "totalPostage": { + "type": "number", + "description": "邮费" + }, + "totalPrice": { + "type": "number", + "description": "订单总价" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "unique": { + "type": "string", + "description": "唯一id(md5加密)类似id" + }, + "useIntegral": { + "type": "number", + "description": "使用积分" + }, + "userAddress": { + "type": "string", + "description": "详细地址" + }, + "userPhone": { + "type": "string", + "description": "用户电话" + }, + "verifyCode": { + "type": "string", + "description": "核销码" + } + }, + "title": "StoreOrder对象", + "description": "订单表", + "$$ref": "#/definitions/StoreOrder对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreOrder对象»", + "$$ref": "#/definitions/CommonPage«StoreOrder对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreOrder对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreOrder对象»»" + } + } + } + } + }, + "/api/admin/store/retail/spread/save": { + "get": { + "tags": [ + "分销" + ], + "summary": "添加推广关系", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "currentUserId", + "in": "query", + "required": false, + "description": "当前用户id", + "type": "string" + }, + { + "name": "spreadUserId", + "in": "query", + "required": false, + "description": "推广人id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/store/retail/spread/clean/{id}": { + "get": { + "tags": [ + "分销" + ], + "summary": "清除上级推广人", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/system/admin/update": { + "post": { + "tags": [ + "后台用户服务" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "后台管理员账号", + "type": "string" + }, + { + "name": "addTime", + "in": "query", + "required": false, + "description": "后台管理员添加时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "后台管理员表ID", + "type": "string" + }, + { + "name": "isDel", + "in": "query", + "required": false, + "description": "是否删除 1删除 0未删除", + "type": "string" + }, + { + "name": "lastIp", + "in": "query", + "required": false, + "description": "后台管理员最后一次登录ip", + "type": "string" + }, + { + "name": "lastTime", + "in": "query", + "required": false, + "description": "后台管理员最后一次登录时间", + "type": "string" + }, + { + "name": "level", + "in": "query", + "required": false, + "description": "后台管理员级别", + "type": "string" + }, + { + "name": "loginCount", + "in": "query", + "required": false, + "description": "登录次数", + "type": "string" + }, + { + "name": "pwd", + "in": "query", + "required": false, + "description": "后台管理员密码", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "后台管理员姓名", + "type": "string" + }, + { + "name": "roles", + "in": "query", + "required": false, + "description": "后台管理员权限(menus_id)", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "后台管理员状态 1有效0无效", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/admin/list": { + "get": { + "tags": [ + "后台用户服务" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "后台管理员账号", + "type": "string" + }, + { + "name": "addTime", + "in": "query", + "required": false, + "description": "后台管理员添加时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "后台管理员表ID", + "type": "string" + }, + { + "name": "isDel", + "in": "query", + "required": false, + "description": "是否删除 1删除 0未删除", + "type": "string" + }, + { + "name": "lastIp", + "in": "query", + "required": false, + "description": "后台管理员最后一次登录ip", + "type": "string" + }, + { + "name": "lastTime", + "in": "query", + "required": false, + "description": "后台管理员最后一次登录时间", + "type": "string" + }, + { + "name": "level", + "in": "query", + "required": false, + "description": "后台管理员级别", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "loginCount", + "in": "query", + "required": false, + "description": "登录次数", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "pwd", + "in": "query", + "required": false, + "description": "后台管理员密码", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "后台管理员姓名", + "type": "string" + }, + { + "name": "roles", + "in": "query", + "required": false, + "description": "后台管理员权限(menus_id)", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "后台管理员状态 1有效0无效", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "后台管理员账号" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "后台管理员添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "后台管理员表ID" + }, + "isDel": { + "type": "boolean" + }, + "lastIp": { + "type": "string", + "description": "后台管理员最后一次登录ip" + }, + "lastTime": { + "type": "integer", + "format": "int32", + "description": "后台管理员最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "后台管理员级别" + }, + "loginCount": { + "type": "integer", + "format": "int32", + "description": "登录次数" + }, + "pwd": { + "type": "string", + "description": "后台管理员密码" + }, + "realName": { + "type": "string", + "description": "后台管理员姓名" + }, + "roles": { + "type": "string", + "description": "后台管理员权限(menus_id)" + }, + "status": { + "type": "boolean", + "description": "后台管理员状态 1有效0无效" + } + }, + "title": "SystemAdmin对象", + "description": "后台管理员表", + "$$ref": "#/definitions/SystemAdmin对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemAdmin对象»", + "$$ref": "#/definitions/CommonPage«SystemAdmin对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemAdmin对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemAdmin对象»»" + } + } + } + } + }, + "/api/admin/system/admin/delete": { + "get": { + "tags": [ + "后台用户服务" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/admin/save": { + "post": { + "tags": [ + "后台用户服务" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "后台管理员账号", + "type": "string" + }, + { + "name": "level", + "in": "query", + "required": false, + "description": "后台管理员级别", + "type": "string" + }, + { + "name": "pwd", + "in": "query", + "required": false, + "description": "后台管理员密码", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "后台管理员姓名", + "type": "string" + }, + { + "name": "roles", + "in": "query", + "required": false, + "description": "后台管理员权限(menus_id)", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "后台管理员状态 1有效0无效", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "addTime": { + "type": "integer", + "format": "int32" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "lastIp": { + "type": "string" + }, + "lastTime": { + "type": "integer", + "format": "int32" + }, + "level": { + "type": "integer", + "format": "int32" + }, + "loginCount": { + "type": "integer", + "format": "int32" + }, + "realName": { + "type": "string" + }, + "roles": { + "type": "string" + }, + "status": { + "type": "boolean" + }, + "token": { + "type": "string" + } + }, + "title": "SystemAdminResponse", + "$$ref": "#/definitions/SystemAdminResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemAdminResponse»", + "$$ref": "#/definitions/CommonResult«SystemAdminResponse»" + } + } + } + } + }, + "/api/admin/system/admin/info": { + "get": { + "tags": [ + "后台用户服务" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "后台管理员账号" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "后台管理员添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "后台管理员表ID" + }, + "isDel": { + "type": "boolean" + }, + "lastIp": { + "type": "string", + "description": "后台管理员最后一次登录ip" + }, + "lastTime": { + "type": "integer", + "format": "int32", + "description": "后台管理员最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "后台管理员级别" + }, + "loginCount": { + "type": "integer", + "format": "int32", + "description": "登录次数" + }, + "pwd": { + "type": "string", + "description": "后台管理员密码" + }, + "realName": { + "type": "string", + "description": "后台管理员姓名" + }, + "roles": { + "type": "string", + "description": "后台管理员权限(menus_id)" + }, + "status": { + "type": "boolean", + "description": "后台管理员状态 1有效0无效" + } + }, + "title": "SystemAdmin对象", + "description": "后台管理员表", + "$$ref": "#/definitions/SystemAdmin对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemAdmin对象»", + "$$ref": "#/definitions/CommonResult«SystemAdmin对象»" + } + } + } + } + }, + "/api/admin/store/product/putOnShell/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "上架", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/offShell/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "下架", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/update": { + "post": { + "tags": [ + "商品" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品表", + "schema": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "attr": { + "type": "array", + "description": "商品属性", + "items": { + "type": "object", + "properties": { + "attrName": { + "type": "string", + "description": "属性名" + }, + "attrValues": { + "type": "string", + "description": "属性值" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + } + }, + "title": "StoreProductAttr对象", + "description": "商品属性表", + "$$ref": "#/definitions/StoreProductAttr对象" + } + }, + "attrValue": { + "type": "array", + "description": "商品属性详情", + "items": { + "type": "object", + "properties": { + "attrValue": { + "type": "object", + "description": "attrValue字段,前端传递后用作sku字段", + "additionalProperties": { + "type": "string" + } + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "ID" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "boolean", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValueRequest对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValueRequest对象" + } + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cateIds": { + "type": "array", + "description": "商品分类", + "items": { + "type": "integer", + "format": "int32" + } + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "content": { + "type": "string", + "description": "商品描述" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "couponIds": { + "type": "array", + "description": "优惠券id集合", + "items": { + "type": "integer", + "format": "int32" + } + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductRequest对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProductRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/list": { + "get": { + "tags": [ + "商品" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "cateId", + "in": "query", + "required": false, + "description": "分类ID, 多个逗号分隔", + "type": "string" + }, + { + "name": "isBenefit", + "in": "query", + "required": false, + "description": "是否优惠", + "type": "string" + }, + { + "name": "isBest", + "in": "query", + "required": false, + "description": "是否精品", + "type": "string" + }, + { + "name": "isGood", + "in": "query", + "required": false, + "description": "是否推荐", + "type": "string" + }, + { + "name": "isHot", + "in": "query", + "required": false, + "description": "是否热卖", + "type": "string" + }, + { + "name": "isNew", + "in": "query", + "required": false, + "description": "是否新品", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "状态(0:未上架,1:上架)", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProduct对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProduct对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreProduct对象»", + "$$ref": "#/definitions/CommonPage«StoreProduct对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreProduct对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreProduct对象»»" + } + } + } + } + }, + "/api/admin/store/product/delete/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/tabs/headers": { + "get": { + "tags": [ + "商品" + ], + "summary": "商品表头数量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "type": { + "type": "integer", + "format": "int32" + } + }, + "title": "StoreProductTabsHeader", + "$$ref": "#/definitions/StoreProductTabsHeader" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«StoreProductTabsHeader»»", + "$$ref": "#/definitions/CommonResult«List«StoreProductTabsHeader»»" + } + } + } + } + }, + "/api/admin/store/product/importProduct": { + "post": { + "tags": [ + "商品" + ], + "summary": "导入商品", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "form", + "in": "query", + "required": false, + "description": "导入平台1=淘宝,2=京东,3=苏宁,4=拼多多, 5=天猫", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "URL", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "attr": { + "type": "array", + "description": "商品属性", + "items": { + "type": "object", + "properties": { + "attrName": { + "type": "string", + "description": "属性名" + }, + "attrValues": { + "type": "string", + "description": "属性值" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + } + }, + "title": "StoreProductAttr对象", + "description": "商品属性表", + "$$ref": "#/definitions/StoreProductAttr对象" + } + }, + "attrValue": { + "type": "array", + "description": "商品属性详情", + "items": { + "type": "object", + "properties": { + "attrValue": { + "type": "object", + "description": "attrValue字段,前端传递后用作sku字段", + "additionalProperties": { + "type": "string" + } + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "ID" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "boolean", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValueRequest对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValueRequest对象" + } + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cateIds": { + "type": "array", + "description": "商品分类", + "items": { + "type": "integer", + "format": "int32" + } + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "content": { + "type": "string", + "description": "商品描述" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "couponIds": { + "type": "array", + "description": "优惠券id集合", + "items": { + "type": "integer", + "format": "int32" + } + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductRequest对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProductRequest对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreProductRequest对象»", + "$$ref": "#/definitions/CommonResult«StoreProductRequest对象»" + } + } + } + } + }, + "/api/admin/store/product/stock": { + "get": { + "tags": [ + "商品" + ], + "summary": "库存变动", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "idList", + "in": "query", + "required": false, + "description": "商品ID, 多个逗号分割,如果是修改所有的,参数值为 all", + "type": "string" + }, + { + "name": "num", + "in": "query", + "required": false, + "description": "数量", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型, 增加 add | 修改 update | 减少 diff", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/save": { + "post": { + "tags": [ + "商品" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品表", + "schema": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "attr": { + "type": "array", + "description": "商品属性", + "items": { + "type": "object", + "properties": { + "attrName": { + "type": "string", + "description": "属性名" + }, + "attrValues": { + "type": "string", + "description": "属性值" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + } + }, + "title": "StoreProductAttr对象", + "description": "商品属性表", + "$$ref": "#/definitions/StoreProductAttr对象" + } + }, + "attrValue": { + "type": "array", + "description": "商品属性详情", + "items": { + "type": "object", + "properties": { + "attrValue": { + "type": "object", + "description": "attrValue字段,前端传递后用作sku字段", + "additionalProperties": { + "type": "string" + } + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "ID" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "boolean", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValueRequest对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValueRequest对象" + } + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cateIds": { + "type": "array", + "description": "商品分类", + "items": { + "type": "integer", + "format": "int32" + } + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "content": { + "type": "string", + "description": "商品描述" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "couponIds": { + "type": "array", + "description": "优惠券id集合", + "items": { + "type": "integer", + "format": "int32" + } + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductRequest对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProductRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/ficti/{id}/{num}": { + "get": { + "tags": [ + "商品" + ], + "summary": "虚拟销量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "num", + "in": "path", + "description": "数值", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/info/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProduct对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProduct对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreProduct对象»", + "$$ref": "#/definitions/CommonResult«StoreProduct对象»" + } + } + } + } + }, + "/api/admin/store/product/rule/update": { + "post": { + "tags": [ + "商品 -- 规则值(规格)" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品规则值(规格)表", + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "规则id" + }, + "ruleName": { + "type": "string", + "description": "规格名称" + }, + "ruleValue": { + "type": "string", + "description": "规格值【JSON字符串】 [{\\\"detail\\\": [\\\"string\\\"],\\\"title\\\": \\\"string\\\"}]" + } + }, + "title": "StoreProductRuleRequest对象", + "description": "商品规则值(规格)表", + "$$ref": "#/definitions/StoreProductRuleRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/rule/list": { + "get": { + "tags": [ + "商品 -- 规则值(规格)" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "ruleName": { + "type": "string", + "description": "规格名称" + }, + "ruleValue": { + "type": "string", + "description": "规格值" + } + }, + "title": "StoreProductRule对象", + "description": "商品规则值(规格)表", + "$$ref": "#/definitions/StoreProductRule对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreProductRule对象»", + "$$ref": "#/definitions/CommonPage«StoreProductRule对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreProductRule对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreProductRule对象»»" + } + } + } + } + }, + "/api/admin/store/product/rule/delete/{ids}": { + "get": { + "tags": [ + "商品 -- 规则值(规格)" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "ids", + "in": "path", + "description": "ids", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/rule/save": { + "post": { + "tags": [ + "商品 -- 规则值(规格)" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品规则值(规格)表", + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "规则id" + }, + "ruleName": { + "type": "string", + "description": "规格名称" + }, + "ruleValue": { + "type": "string", + "description": "规格值【JSON字符串】 [{\\\"detail\\\": [\\\"string\\\"],\\\"title\\\": \\\"string\\\"}]" + } + }, + "title": "StoreProductRuleRequest对象", + "description": "商品规则值(规格)表", + "$$ref": "#/definitions/StoreProductRuleRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/rule/info/{id}": { + "get": { + "tags": [ + "商品 -- 规则值(规格)" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "ruleName": { + "type": "string", + "description": "规格名称" + }, + "ruleValue": { + "type": "string", + "description": "规格值" + } + }, + "title": "StoreProductRule对象", + "description": "商品规则值(规格)表", + "$$ref": "#/definitions/StoreProductRule对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreProductRule对象»", + "$$ref": "#/definitions/CommonResult«StoreProductRule对象»" + } + } + } + } + }, + "/api/admin/store/product/reply/update": { + "post": { + "tags": [ + "商品 -- 评论" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "评论表", + "schema": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "comment": { + "type": "string", + "description": "评论内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "评论时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "评论ID" + }, + "isDel": { + "type": "boolean", + "description": "0未删除1已删除" + }, + "isReply": { + "type": "boolean", + "description": "0未回复1已回复" + }, + "merchantReplyContent": { + "type": "string", + "description": "管理员回复内容" + }, + "merchantReplyTime": { + "type": "integer", + "format": "int32", + "description": "管理员回复时间" + }, + "nickname": { + "type": "string", + "description": "用户名称" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "pics": { + "type": "string", + "description": "评论图片" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "productScore": { + "type": "integer", + "format": "int32", + "description": "商品分数" + }, + "replyType": { + "type": "string", + "description": "某种商品类型(普通商品、秒杀商品)" + }, + "serviceScore": { + "type": "integer", + "format": "int32", + "description": "服务分数" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "unique": { + "type": "string", + "description": "商品 属性id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreProductReply对象", + "description": "评论表", + "$$ref": "#/definitions/StoreProductReply对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/reply/list": { + "get": { + "tags": [ + "商品 -- 评论" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "dateLimit", + "in": "query", + "required": false, + "description": "时间区间", + "type": "string" + }, + { + "name": "isDel", + "in": "query", + "required": false, + "description": "0未删除1已删除", + "type": "string" + }, + { + "name": "isReply", + "in": "query", + "required": false, + "description": "0未回复1已回复", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "nickname", + "in": "query", + "required": false, + "description": "用户名称(支持模糊搜索)", + "type": "string" + }, + { + "name": "oid", + "in": "query", + "required": false, + "description": "订单ID", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "productId", + "in": "query", + "required": false, + "description": "商品id, 多个逗号分割", + "type": "string" + }, + { + "name": "star", + "in": "query", + "required": false, + "description": "星数", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户ID, 多个逗号分割", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "comment": { + "type": "string", + "description": "评论内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "评论时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "评论ID" + }, + "isDel": { + "type": "boolean", + "description": "0未删除1已删除" + }, + "isReply": { + "type": "boolean", + "description": "0未回复1已回复" + }, + "merchantReplyContent": { + "type": "string", + "description": "管理员回复内容" + }, + "merchantReplyTime": { + "type": "integer", + "format": "int32", + "description": "管理员回复时间" + }, + "nickname": { + "type": "string", + "description": "用户名称" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "pics": { + "type": "array", + "description": "评论图片", + "items": { + "type": "string" + } + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "productScore": { + "type": "integer", + "format": "int32", + "description": "商品分数" + }, + "replyType": { + "type": "string", + "description": "某种商品类型(普通商品、秒杀商品)" + }, + "serviceScore": { + "type": "integer", + "format": "int32", + "description": "服务分数" + }, + "storeProduct": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProduct对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProduct对象" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreProductReplyResponse", + "$$ref": "#/definitions/StoreProductReplyResponse" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreProductReplyResponse»", + "$$ref": "#/definitions/CommonPage«StoreProductReplyResponse»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreProductReplyResponse»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»" + } + } + } + } + }, + "/api/admin/store/product/reply/delete/{id}": { + "get": { + "tags": [ + "商品 -- 评论" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/reply/comment": { + "post": { + "tags": [ + "商品 -- 评论" + ], + "summary": "回复", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "评论表", + "schema": { + "type": "object", + "required": [ + "ids", + "merchantReplyContent" + ], + "properties": { + "ids": { + "type": "string", + "description": "管理员回复内容" + }, + "merchantReplyContent": { + "type": "string", + "description": "管理员回复内容" + } + }, + "title": "StoreProductReplyCommentRequest对象", + "description": "评论表", + "$$ref": "#/definitions/StoreProductReplyCommentRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/reply/save": { + "post": { + "tags": [ + "商品 -- 评论" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "评论表", + "schema": { + "type": "object", + "required": [ + "comment", + "pics", + "productId", + "productScore", + "serviceScore" + ], + "properties": { + "comment": { + "type": "string", + "description": "评论内容" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单ID, 移动端必须传递此参数" + }, + "pics": { + "type": "string", + "description": "评论图片" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "productScore": { + "type": "integer", + "format": "int32", + "example": 5, + "description": "商品分数" + }, + "serviceScore": { + "type": "integer", + "format": "int32", + "example": 5, + "description": "服务分数" + }, + "unique": { + "type": "string", + "description": "商品 属性id" + }, + "userId": { + "type": "integer", + "format": "int32", + "description": "用户id, 后端必须传递此参数" + } + }, + "title": "StoreProductReplyAddRequest对象", + "description": "评论表", + "$$ref": "#/definitions/StoreProductReplyAddRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/product/reply/info/{id}": { + "get": { + "tags": [ + "商品 -- 评论" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "comment": { + "type": "string", + "description": "评论内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "评论时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "评论ID" + }, + "isDel": { + "type": "boolean", + "description": "0未删除1已删除" + }, + "isReply": { + "type": "boolean", + "description": "0未回复1已回复" + }, + "merchantReplyContent": { + "type": "string", + "description": "管理员回复内容" + }, + "merchantReplyTime": { + "type": "integer", + "format": "int32", + "description": "管理员回复时间" + }, + "nickname": { + "type": "string", + "description": "用户名称" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "pics": { + "type": "string", + "description": "评论图片" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "productScore": { + "type": "integer", + "format": "int32", + "description": "商品分数" + }, + "replyType": { + "type": "string", + "description": "某种商品类型(普通商品、秒杀商品)" + }, + "serviceScore": { + "type": "integer", + "format": "int32", + "description": "服务分数" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "unique": { + "type": "string", + "description": "商品 属性id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreProductReply对象", + "description": "评论表", + "$$ref": "#/definitions/StoreProductReply对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreProductReply对象»", + "$$ref": "#/definitions/CommonResult«StoreProductReply对象»" + } + } + } + } + }, + "/api/admin/system/city/update": { + "post": { + "tags": [ + "城市管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "名称", + "type": "string" + }, + { + "name": "parentId", + "in": "query", + "required": false, + "description": "父级id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/city/update/status": { + "post": { + "tags": [ + "城市管理" + ], + "summary": "修改状态", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "status", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/city/list": { + "get": { + "tags": [ + "城市管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "parentId", + "in": "query", + "required": false, + "description": "父级id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/system/city/list/tree": { + "get": { + "tags": [ + "城市管理" + ], + "summary": "获取tree结构的列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/system/city/info": { + "get": { + "tags": [ + "城市管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "areaCode": { + "type": "string", + "description": "区号" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "isShow": { + "type": "boolean", + "description": "是否展示" + }, + "lat": { + "type": "string", + "description": "纬度" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "省市级别" + }, + "lng": { + "type": "string", + "description": "经度" + }, + "mergerName": { + "type": "string", + "description": "合并名称" + }, + "name": { + "type": "string", + "description": "名称" + }, + "parentId": { + "type": "integer", + "format": "int32", + "description": "父级id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "SystemCity对象", + "description": "城市表", + "$$ref": "#/definitions/SystemCity对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemCity对象»", + "$$ref": "#/definitions/CommonResult«SystemCity对象»" + } + } + } + } + }, + "/api/admin/store-service-log/list": { + "get": { + "tags": [ + "客服用户对话记录表" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "toUid", + "in": "query", + "required": false, + "description": "接收人uid", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "发送人uid", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服用户对话记录表ID" + }, + "msn": { + "type": "string", + "description": "消息内容" + }, + "msnType": { + "type": "boolean", + "description": "消息类型 1=文字 2=表情 3=图片 4=语音" + }, + "remind": { + "type": "boolean", + "description": "是否提醒过" + }, + "toUid": { + "type": "integer", + "format": "int32", + "description": "接收人uid" + }, + "type": { + "type": "boolean", + "description": "是否已读(0:否;1:是;)" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "发送人uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreServiceLog对象", + "description": "客服用户对话记录表", + "$$ref": "#/definitions/StoreServiceLog对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreServiceLog对象»", + "$$ref": "#/definitions/CommonPage«StoreServiceLog对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreServiceLog对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»" + } + } + } + } + }, + "/api/admin/store-service/update": { + "post": { + "tags": [ + "客服表" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "客服表", + "schema": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "客服头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "customer": { + "type": "boolean", + "description": "是否展示统计管理" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服id" + }, + "nickname": { + "type": "string", + "description": "代理名称" + }, + "notify": { + "type": "integer", + "format": "int32", + "description": "订单通知1开启0关闭" + }, + "status": { + "type": "boolean", + "description": "0隐藏1显示" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "客服uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreService对象", + "description": "客服表", + "$$ref": "#/definitions/StoreService对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store-service/list": { + "get": { + "tags": [ + "客服表" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "客服头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "customer": { + "type": "boolean", + "description": "是否展示统计管理" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服id" + }, + "nickname": { + "type": "string", + "description": "代理名称" + }, + "notify": { + "type": "integer", + "format": "int32", + "description": "订单通知1开启0关闭" + }, + "status": { + "type": "boolean", + "description": "0隐藏1显示" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "客服uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreService对象", + "description": "客服表", + "$$ref": "#/definitions/StoreService对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreService对象»", + "$$ref": "#/definitions/CommonPage«StoreService对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreService对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreService对象»»" + } + } + } + } + }, + "/api/admin/store-service/delete": { + "get": { + "tags": [ + "客服表" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store-service/save": { + "post": { + "tags": [ + "客服表" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "客服表", + "schema": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "客服头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "customer": { + "type": "boolean", + "description": "是否展示统计管理" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服id" + }, + "nickname": { + "type": "string", + "description": "代理名称" + }, + "notify": { + "type": "integer", + "format": "int32", + "description": "订单通知1开启0关闭" + }, + "status": { + "type": "boolean", + "description": "0隐藏1显示" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "客服uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreService对象", + "description": "客服表", + "$$ref": "#/definitions/StoreService对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store-service/info": { + "get": { + "tags": [ + "客服表" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "客服头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "customer": { + "type": "boolean", + "description": "是否展示统计管理" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服id" + }, + "nickname": { + "type": "string", + "description": "代理名称" + }, + "notify": { + "type": "integer", + "format": "int32", + "description": "订单通知1开启0关闭" + }, + "status": { + "type": "boolean", + "description": "0隐藏1显示" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "客服uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreService对象", + "description": "客服表", + "$$ref": "#/definitions/StoreService对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreService对象»", + "$$ref": "#/definitions/CommonResult«StoreService对象»" + } + } + } + } + }, + "/api/admin/export/excel/product": { + "get": { + "tags": [ + "导出 -- Excel" + ], + "summary": "产品", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "cateId", + "in": "query", + "required": false, + "description": "分类ID, 多个逗号分隔", + "type": "string" + }, + { + "name": "isBenefit", + "in": "query", + "required": false, + "description": "是否优惠", + "type": "string" + }, + { + "name": "isBest", + "in": "query", + "required": false, + "description": "是否精品", + "type": "string" + }, + { + "name": "isGood", + "in": "query", + "required": false, + "description": "是否推荐", + "type": "string" + }, + { + "name": "isHot", + "in": "query", + "required": false, + "description": "是否热卖", + "type": "string" + }, + { + "name": "isNew", + "in": "query", + "required": false, + "description": "是否新品", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "状态(0:未上架,1:上架)", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "string", + "format": "binary", + "default": "OK" + } + } + } + } + }, + "/api/admin/wechat/template/update/status/{id}": { + "post": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "status", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/template/update/{id}": { + "post": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "微信模板", + "schema": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "回复内容" + }, + "name": { + "type": "string", + "description": "模板名" + }, + "tempId": { + "type": "string", + "description": "模板ID" + }, + "tempKey": { + "type": "string", + "description": "模板编号" + }, + "type": { + "type": "boolean", + "description": "0=订阅消息,1=微信模板消息" + } + }, + "title": "TemplateMessageRequest对象", + "description": "微信模板", + "$$ref": "#/definitions/TemplateMessageRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/template/list": { + "get": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "模板名", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态, 0 正常,1 禁用", + "type": "string" + }, + { + "name": "tempId", + "in": "query", + "required": false, + "description": "模板ID", + "type": "string" + }, + { + "name": "tempKey", + "in": "query", + "required": false, + "description": "模板编号", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型, 0 订阅消息, 1 模板消息", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "回复内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "模板id" + }, + "name": { + "type": "string", + "description": "模板名" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "tempId": { + "type": "string", + "description": "模板ID" + }, + "tempKey": { + "type": "string", + "description": "模板编号" + }, + "type": { + "type": "boolean", + "description": "0=订阅消息,1=微信模板消息" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "TemplateMessage对象", + "description": "微信模板", + "$$ref": "#/definitions/TemplateMessage对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«TemplateMessage对象»", + "$$ref": "#/definitions/CommonPage«TemplateMessage对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«TemplateMessage对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«TemplateMessage对象»»" + } + } + } + } + }, + "/api/admin/wechat/template/delete/{id}": { + "get": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/template/save": { + "post": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "微信模板", + "schema": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "回复内容" + }, + "name": { + "type": "string", + "description": "模板名" + }, + "tempId": { + "type": "string", + "description": "模板ID" + }, + "tempKey": { + "type": "string", + "description": "模板编号" + }, + "type": { + "type": "boolean", + "description": "0=订阅消息,1=微信模板消息" + } + }, + "title": "TemplateMessageRequest对象", + "description": "微信模板", + "$$ref": "#/definitions/TemplateMessageRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/template/industry": { + "get": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "行业信息", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "primaryIndustry": { + "type": "object", + "properties": { + "firstClass": { + "type": "string", + "description": "主行业" + }, + "secondClass": { + "type": "string", + "description": "副行业" + } + }, + "title": "TemplateMessageIndustryItemVo对象", + "description": "微信模板所属行业详情", + "$$ref": "#/definitions/TemplateMessageIndustryItemVo对象" + }, + "secondaryIndustry": { + "type": "object", + "properties": { + "firstClass": { + "type": "string", + "description": "主行业" + }, + "secondClass": { + "type": "string", + "description": "副行业" + } + }, + "title": "TemplateMessageIndustryItemVo对象", + "description": "微信模板所属行业详情", + "$$ref": "#/definitions/TemplateMessageIndustryItemVo对象" + } + }, + "title": "TemplateMessageIndustryVo对象", + "description": "微信模板所属行业", + "$$ref": "#/definitions/TemplateMessageIndustryVo对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«TemplateMessageIndustryVo对象»", + "$$ref": "#/definitions/CommonResult«TemplateMessageIndustryVo对象»" + } + } + } + } + }, + "/api/admin/wechat/template/info/{id}": { + "get": { + "tags": [ + "微信 -- 消息模版" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "回复内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "模板id" + }, + "name": { + "type": "string", + "description": "模板名" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "tempId": { + "type": "string", + "description": "模板ID" + }, + "tempKey": { + "type": "string", + "description": "模板编号" + }, + "type": { + "type": "boolean", + "description": "0=订阅消息,1=微信模板消息" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "TemplateMessage对象", + "description": "微信模板", + "$$ref": "#/definitions/TemplateMessage对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«TemplateMessage对象»", + "$$ref": "#/definitions/CommonResult«TemplateMessage对象»" + } + } + } + } + }, + "/api/admin/wechat/routine/access/token/update": { + "post": { + "tags": [ + "微信开放平台 -- 小程序access_token" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "accessToken", + "in": "query", + "required": false, + "description": "openid", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "stopTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/access/token/list": { + "get": { + "tags": [ + "微信开放平台 -- 小程序access_token" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "accessToken", + "in": "query", + "required": false, + "description": "openid", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "accessToken": { + "type": "string", + "description": "openid" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "小程序access_token表ID" + }, + "stopTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "RoutineAccessToken对象", + "description": "小程序access_token表", + "$$ref": "#/definitions/RoutineAccessToken对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«RoutineAccessToken对象»", + "$$ref": "#/definitions/CommonPage«RoutineAccessToken对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«RoutineAccessToken对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«RoutineAccessToken对象»»" + } + } + } + } + }, + "/api/admin/wechat/routine/access/token/delete": { + "get": { + "tags": [ + "微信开放平台 -- 小程序access_token" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/access/token/save": { + "post": { + "tags": [ + "微信开放平台 -- 小程序access_token" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "accessToken", + "in": "query", + "required": false, + "description": "openid", + "type": "string" + }, + { + "name": "stopTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/access/token/info": { + "get": { + "tags": [ + "微信开放平台 -- 小程序access_token" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "accessToken": { + "type": "string", + "description": "openid" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "小程序access_token表ID" + }, + "stopTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "RoutineAccessToken对象", + "description": "小程序access_token表", + "$$ref": "#/definitions/RoutineAccessToken对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«RoutineAccessToken对象»", + "$$ref": "#/definitions/CommonResult«RoutineAccessToken对象»" + } + } + } + } + }, + "/api/admin/wechat/routine/qrcode/update": { + "post": { + "tags": [ + "微信开放平台 -- 小程序二维码管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "小程序页面路径带参数", + "type": "string" + }, + { + "name": "qrcodeUrl", + "in": "query", + "required": false, + "description": "小程序二维码路径", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态 0不可用 1可用", + "type": "string" + }, + { + "name": "thirdId", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "thirdType", + "in": "query", + "required": false, + "description": "二维码类型 spread(用户推广) product_spread(商品推广)", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/qrcode/list": { + "get": { + "tags": [ + "微信开放平台 -- 小程序二维码管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "微信二维码ID", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "小程序页面路径带参数", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "qrcodeUrl", + "in": "query", + "required": false, + "description": "小程序二维码路径", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态 0不可用 1可用", + "type": "string" + }, + { + "name": "thirdId", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "thirdType", + "in": "query", + "required": false, + "description": "二维码类型 spread(用户推广) product_spread(商品推广)", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addTime": { + "type": "string", + "description": "添加时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信二维码ID" + }, + "page": { + "type": "string", + "description": "小程序页面路径带参数" + }, + "qrcodeUrl": { + "type": "string", + "description": "小程序二维码路径" + }, + "status": { + "type": "boolean", + "description": "状态 0不可用 1可用" + }, + "thirdId": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "thirdType": { + "type": "string", + "description": "二维码类型 spread(用户推广) product_spread(商品推广)" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "RoutineQrcode对象", + "description": "小程序二维码管理表", + "$$ref": "#/definitions/RoutineQrcode对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«RoutineQrcode对象»", + "$$ref": "#/definitions/CommonPage«RoutineQrcode对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«RoutineQrcode对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«RoutineQrcode对象»»" + } + } + } + } + }, + "/api/admin/wechat/routine/qrcode/delete": { + "get": { + "tags": [ + "微信开放平台 -- 小程序二维码管理" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/qrcode/save": { + "post": { + "tags": [ + "微信开放平台 -- 小程序二维码管理" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "page", + "in": "query", + "required": false, + "description": "小程序页面路径带参数", + "type": "string" + }, + { + "name": "qrcodeUrl", + "in": "query", + "required": false, + "description": "小程序二维码路径", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态 0不可用 1可用", + "type": "string" + }, + { + "name": "thirdId", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "thirdType", + "in": "query", + "required": false, + "description": "二维码类型 spread(用户推广) product_spread(商品推广)", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/qrcode/info": { + "get": { + "tags": [ + "微信开放平台 -- 小程序二维码管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "addTime": { + "type": "string", + "description": "添加时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信二维码ID" + }, + "page": { + "type": "string", + "description": "小程序页面路径带参数" + }, + "qrcodeUrl": { + "type": "string", + "description": "小程序二维码路径" + }, + "status": { + "type": "boolean", + "description": "状态 0不可用 1可用" + }, + "thirdId": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "thirdType": { + "type": "string", + "description": "二维码类型 spread(用户推广) product_spread(商品推广)" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "RoutineQrcode对象", + "description": "小程序二维码管理表", + "$$ref": "#/definitions/RoutineQrcode对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«RoutineQrcode对象»", + "$$ref": "#/definitions/CommonResult«RoutineQrcode对象»" + } + } + } + } + }, + "/api/admin/wechat/qrcode/update": { + "post": { + "tags": [ + "微信开放平台 -- 微信二维码管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "expireSeconds", + "in": "query", + "required": false, + "description": "二维码有效时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "qrcodeUrl", + "in": "query", + "required": false, + "description": "微信二维码url", + "type": "string" + }, + { + "name": "scan", + "in": "query", + "required": false, + "description": "被扫的次数", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "thirdId", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "thirdType", + "in": "query", + "required": false, + "description": "二维码类型", + "type": "string" + }, + { + "name": "ticket", + "in": "query", + "required": false, + "description": "二维码参数", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "微信访问url", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/qrcode/list": { + "get": { + "tags": [ + "微信开放平台 -- 微信二维码管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "expireSeconds", + "in": "query", + "required": false, + "description": "二维码有效时间", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "qrcodeUrl", + "in": "query", + "required": false, + "description": "微信二维码url", + "type": "string" + }, + { + "name": "scan", + "in": "query", + "required": false, + "description": "被扫的次数", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "thirdId", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "thirdType", + "in": "query", + "required": false, + "description": "二维码类型", + "type": "string" + }, + { + "name": "ticket", + "in": "query", + "required": false, + "description": "二维码参数", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "微信访问url", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "expireSeconds": { + "type": "integer", + "format": "int32", + "description": "二维码有效时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信二维码ID" + }, + "qrcodeUrl": { + "type": "string", + "description": "微信二维码url" + }, + "scan": { + "type": "integer", + "format": "int32", + "description": "被扫的次数" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "thirdId": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "thirdType": { + "type": "string", + "description": "二维码类型" + }, + "ticket": { + "type": "string", + "description": "二维码参数" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + }, + "url": { + "type": "string", + "description": "微信访问url" + } + }, + "title": "WechatQrcode对象", + "description": "微信二维码管理表", + "$$ref": "#/definitions/WechatQrcode对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«WechatQrcode对象»", + "$$ref": "#/definitions/CommonPage«WechatQrcode对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«WechatQrcode对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«WechatQrcode对象»»" + } + } + } + } + }, + "/api/admin/wechat/qrcode/delete": { + "get": { + "tags": [ + "微信开放平台 -- 微信二维码管理" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/qrcode/save": { + "post": { + "tags": [ + "微信开放平台 -- 微信二维码管理" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "expireSeconds", + "in": "query", + "required": false, + "description": "二维码有效时间", + "type": "string" + }, + { + "name": "qrcodeUrl", + "in": "query", + "required": false, + "description": "微信二维码url", + "type": "string" + }, + { + "name": "scan", + "in": "query", + "required": false, + "description": "被扫的次数", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "thirdId", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "thirdType", + "in": "query", + "required": false, + "description": "二维码类型", + "type": "string" + }, + { + "name": "ticket", + "in": "query", + "required": false, + "description": "二维码参数", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "微信访问url", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/qrcode/info": { + "get": { + "tags": [ + "微信开放平台 -- 微信二维码管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "expireSeconds": { + "type": "integer", + "format": "int32", + "description": "二维码有效时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信二维码ID" + }, + "qrcodeUrl": { + "type": "string", + "description": "微信二维码url" + }, + "scan": { + "type": "integer", + "format": "int32", + "description": "被扫的次数" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "thirdId": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "thirdType": { + "type": "string", + "description": "二维码类型" + }, + "ticket": { + "type": "string", + "description": "二维码参数" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + }, + "url": { + "type": "string", + "description": "微信访问url" + } + }, + "title": "WechatQrcode对象", + "description": "微信二维码管理表", + "$$ref": "#/definitions/WechatQrcode对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«WechatQrcode对象»", + "$$ref": "#/definitions/CommonResult«WechatQrcode对象»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/update": { + "post": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "微信关键字回复表", + "schema": { + "type": "object", + "properties": { + "data": { + "type": "string", + "description": "回复数据" + }, + "keywords": { + "type": "string", + "description": "关键字" + }, + "status": { + "type": "boolean", + "example": false, + "description": "回复状态 0=不可用 1 =可用" + }, + "type": { + "type": "string", + "example": "text", + "description": "回复类型 text=文本 image =图片 news =图文 voice =音频" + } + }, + "title": "WechatReplyRequest对象", + "description": "微信关键字回复表", + "$$ref": "#/definitions/WechatReplyRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/list": { + "get": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "回复类型 text=文本 image =图片 news =图文 voice =音频", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "data": { + "type": "string", + "description": "回复数据" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信关键字回复id" + }, + "keywords": { + "type": "string", + "description": "关键字" + }, + "status": { + "type": "boolean", + "description": "0=不可用 1 =可用" + }, + "type": { + "type": "string", + "description": "回复类型" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "WechatReply对象", + "description": "微信关键字回复表", + "$$ref": "#/definitions/WechatReply对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«WechatReply对象»", + "$$ref": "#/definitions/CommonPage«WechatReply对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«WechatReply对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«WechatReply对象»»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/delete": { + "get": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/save": { + "post": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "微信关键字回复表", + "schema": { + "type": "object", + "properties": { + "data": { + "type": "string", + "description": "回复数据" + }, + "keywords": { + "type": "string", + "description": "关键字" + }, + "status": { + "type": "boolean", + "example": false, + "description": "回复状态 0=不可用 1 =可用" + }, + "type": { + "type": "string", + "example": "text", + "description": "回复类型 text=文本 image =图片 news =图文 voice =音频" + } + }, + "title": "WechatReplyRequest对象", + "description": "微信关键字回复表", + "$$ref": "#/definitions/WechatReplyRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/info/keywords": { + "get": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "根据关键字查询数据", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "keywords", + "in": "query", + "required": false, + "description": "keywords", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "data": { + "type": "string", + "description": "回复数据" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信关键字回复id" + }, + "keywords": { + "type": "string", + "description": "关键字" + }, + "status": { + "type": "boolean", + "description": "0=不可用 1 =可用" + }, + "type": { + "type": "string", + "description": "回复类型" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "WechatReply对象", + "description": "微信关键字回复表", + "$$ref": "#/definitions/WechatReply对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«WechatReply对象»", + "$$ref": "#/definitions/CommonResult«WechatReply对象»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/status": { + "post": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "状态", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "status", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/keywords/reply/info": { + "get": { + "tags": [ + "微信开放平台 -- 微信关键字回复" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "data": { + "type": "string", + "description": "回复数据" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "微信关键字回复id" + }, + "keywords": { + "type": "string", + "description": "关键字" + }, + "status": { + "type": "boolean", + "description": "0=不可用 1 =可用" + }, + "type": { + "type": "string", + "description": "回复类型" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "WechatReply对象", + "description": "微信关键字回复表", + "$$ref": "#/definitions/WechatReply对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«WechatReply对象»", + "$$ref": "#/definitions/CommonResult«WechatReply对象»" + } + } + } + } + }, + "/api/admin/wechat/user/push": { + "get": { + "tags": [ + "微信开放平台 -- 微信用户" + ], + "summary": "消息推送", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "newsId", + "in": "query", + "required": false, + "description": "newsId", + "type": "string" + }, + { + "name": "userId", + "in": "query", + "required": false, + "description": "userId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/update": { + "post": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "标签ID", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "标签名称", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/list": { + "get": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isAsync", + "in": "query", + "required": false, + "description": "是否同步微信数据, true是,false否", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/create": { + "post": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "创建", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "name", + "in": "query", + "required": false, + "description": "标签名称", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/delete": { + "get": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "标签ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/memberBatchUnTags": { + "post": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "批量为用户取消标签", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "标签ID", + "type": "string" + }, + { + "name": "openIdList", + "in": "query", + "required": false, + "description": "用户openId数组", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/memberBatchTags": { + "post": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "批量为用户打标签", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "标签ID", + "type": "string" + }, + { + "name": "openIdList", + "in": "query", + "required": false, + "description": "用户openId数组", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/getUserListById": { + "get": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "获取标签下粉丝列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "标签ID", + "type": "string" + }, + { + "name": "nextOpenId", + "in": "query", + "required": false, + "description": "第一个拉取的OPENID,不填默认从头开始拉取", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/user/tags/getTagsListByUserId": { + "get": { + "tags": [ + "微信开放平台 -- 微信用户标签" + ], + "summary": "获取用户身上的标签列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isAsync", + "in": "query", + "required": false, + "description": "是否同步微信数据, true是,false否", + "type": "string" + }, + { + "name": "openId", + "in": "query", + "required": false, + "description": "用户openId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/wechat/user/log/update": { + "post": { + "tags": [ + "微信开放平台 -- 用户行为记录" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "openid", + "in": "query", + "required": false, + "description": "用户openid", + "type": "string" + }, + { + "name": "result", + "in": "query", + "required": false, + "description": "操作详细记录", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/user/log/list": { + "get": { + "tags": [ + "微信开放平台 -- 用户行为记录" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "openid", + "in": "query", + "required": false, + "description": "用户openid", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "result", + "in": "query", + "required": false, + "description": "操作详细记录", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户行为记录id" + }, + "openid": { + "type": "string", + "description": "用户openid" + }, + "result": { + "type": "string", + "description": "操作详细记录" + }, + "type": { + "type": "string", + "description": "操作类型" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "WechatMessage对象", + "description": "用户行为记录表", + "$$ref": "#/definitions/WechatMessage对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«WechatMessage对象»", + "$$ref": "#/definitions/CommonPage«WechatMessage对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«WechatMessage对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«WechatMessage对象»»" + } + } + } + } + }, + "/api/admin/wechat/user/log/delete": { + "get": { + "tags": [ + "微信开放平台 -- 用户行为记录" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/user/log/save": { + "post": { + "tags": [ + "微信开放平台 -- 用户行为记录" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "openid", + "in": "query", + "required": false, + "description": "用户openid", + "type": "string" + }, + { + "name": "result", + "in": "query", + "required": false, + "description": "操作详细记录", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/user/log/info": { + "get": { + "tags": [ + "微信开放平台 -- 用户行为记录" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户行为记录id" + }, + "openid": { + "type": "string", + "description": "用户openid" + }, + "result": { + "type": "string", + "description": "操作详细记录" + }, + "type": { + "type": "string", + "description": "操作类型" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "WechatMessage对象", + "description": "用户行为记录表", + "$$ref": "#/definitions/WechatMessage对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«WechatMessage对象»", + "$$ref": "#/definitions/CommonResult«WechatMessage对象»" + } + } + } + } + }, + "/api/admin/wechat/media/upload": { + "post": { + "tags": [ + "微信开放平台 -- 素材" + ], + "summary": "上传", + "consumes": [ + "multipart/form-data" + ], + "parameters": [ + { + "name": "type", + "in": "query", + "required": false, + "description": "媒体文件类型,分别有图片(image)、语音(voice", + "type": "string" + }, + { + "name": "media", + "in": "formData", + "required": false, + "description": "待上传素材图片文件", + "type": "file" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,string»»", + "$$ref": "#/definitions/CommonResult«Map«string,string»»" + } + } + } + } + }, + "/api/admin/wechat/media/get": { + "get": { + "tags": [ + "微信开放平台 -- 素材" + ], + "summary": "根据素材id查询素材", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "mediaId", + "in": "query", + "required": false, + "description": "mediaId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/admin/wechat/menu/public/self/create": { + "post": { + "tags": [ + "微信开放平台 -- 菜单管理" + ], + "summary": "保存个性化菜单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/menu/public/create": { + "post": { + "tags": [ + "微信开放平台 -- 菜单管理" + ], + "summary": "保存自定义菜单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/menu/public/self/delete": { + "get": { + "tags": [ + "微信开放平台 -- 菜单管理" + ], + "summary": "删除个性化菜单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "menuId", + "in": "query", + "required": false, + "description": "菜单ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/menu/public/delete": { + "get": { + "tags": [ + "微信开放平台 -- 菜单管理" + ], + "summary": "删除自定义菜单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/wechat/menu/public/self/get": { + "get": { + "tags": [ + "微信开放平台 -- 菜单管理" + ], + "summary": "获取个性化菜单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isAsync", + "in": "query", + "required": false, + "description": "是否同步微信数据, true是,false否", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/wechat/menu/public/get": { + "get": { + "tags": [ + "微信开放平台 -- 菜单管理" + ], + "summary": "获取自定义菜单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isAsync", + "in": "query", + "required": false, + "description": "是否同步微信数据, true是,false否", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/wechat/routine/form/update": { + "post": { + "tags": [ + "微信开放平台 -- 表单id表记录" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "formId", + "in": "query", + "required": false, + "description": "表单ID", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态1 未使用 2不能使用", + "type": "string" + }, + { + "name": "stopTime", + "in": "query", + "required": false, + "description": "表单ID失效时间", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户uid", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/form/list": { + "get": { + "tags": [ + "微信开放平台 -- 表单id表记录" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "formId", + "in": "query", + "required": false, + "description": "表单ID", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态1 未使用 2不能使用", + "type": "string" + }, + { + "name": "stopTime", + "in": "query", + "required": false, + "description": "表单ID失效时间", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户uid", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "formId": { + "type": "string", + "description": "表单ID" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单ID表ID" + }, + "status": { + "type": "boolean", + "description": "状态1 未使用 2不能使用" + }, + "stopTime": { + "type": "integer", + "format": "int32", + "description": "表单ID失效时间" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "RoutineFormId对象", + "description": "表单id表记录表", + "$$ref": "#/definitions/RoutineFormId对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«RoutineFormId对象»", + "$$ref": "#/definitions/CommonPage«RoutineFormId对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«RoutineFormId对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«RoutineFormId对象»»" + } + } + } + } + }, + "/api/admin/wechat/routine/form/delete": { + "get": { + "tags": [ + "微信开放平台 -- 表单id表记录" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/form/save": { + "post": { + "tags": [ + "微信开放平台 -- 表单id表记录" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "formId", + "in": "query", + "required": false, + "description": "表单ID", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态1 未使用 2不能使用", + "type": "string" + }, + { + "name": "stopTime", + "in": "query", + "required": false, + "description": "表单ID失效时间", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户uid", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/wechat/routine/form/info": { + "get": { + "tags": [ + "微信开放平台 -- 表单id表记录" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "formId": { + "type": "string", + "description": "表单ID" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单ID表ID" + }, + "status": { + "type": "boolean", + "description": "状态1 未使用 2不能使用" + }, + "stopTime": { + "type": "integer", + "format": "int32", + "description": "表单ID失效时间" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "RoutineFormId对象", + "description": "表单id表记录表", + "$$ref": "#/definitions/RoutineFormId对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«RoutineFormId对象»", + "$$ref": "#/definitions/CommonResult«RoutineFormId对象»" + } + } + } + } + }, + "/api/admin/payment/callback/wechat": { + "post": { + "tags": [ + "支付回调" + ], + "summary": "微信支付回调", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "string", + "format": "binary", + "default": "OK" + } + } + } + } + }, + "/api/admin/payment/callback/alipay": { + "post": { + "tags": [ + "支付回调" + ], + "summary": "支付宝支付回调 ", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "string", + "format": "binary", + "default": "OK" + } + } + } + } + }, + "/api/admin/article/update": { + "post": { + "tags": [ + "文章管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "文章ID", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "文章管理表", + "schema": { + "type": "object", + "required": [ + "author", + "cid", + "content", + "imageInput", + "shareSynopsis", + "shareTitle", + "sort", + "synopsis", + "title" + ], + "properties": { + "author": { + "type": "string", + "description": "文章作者" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "imageInput": { + "type": "string", + "description": "文章图片" + }, + "isBanner": { + "type": "boolean", + "example": true, + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "example": false, + "description": "是否热门(小程序)" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "排序" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "url": { + "type": "string", + "description": "原文链接" + } + }, + "title": "ArticleRequest对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/article/list": { + "get": { + "tags": [ + "文章管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "cid", + "in": "query", + "required": false, + "description": "分类id", + "type": "string" + }, + { + "name": "hide", + "in": "query", + "required": false, + "description": "是否隐藏", + "type": "string" + }, + { + "name": "isBanner", + "in": "query", + "required": false, + "description": "是否轮播图(小程序)", + "type": "string" + }, + { + "name": "isHaveMediaId", + "in": "query", + "required": false, + "description": "是否有微信素材媒体id", + "type": "string" + }, + { + "name": "isHot", + "in": "query", + "required": false, + "description": "是否热门(小程序)", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "author": { + "type": "string", + "description": "文章作者" + }, + "categoryName": { + "type": "string", + "description": "分类" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "hide": { + "type": "boolean", + "description": "是否隐藏" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "文章管理ID" + }, + "imageInput": { + "type": "array", + "description": "文章图片 前端用", + "items": { + "type": "string" + } + }, + "imageInputs": { + "type": "string", + "description": "文章图片 后端用" + }, + "isBanner": { + "type": "boolean", + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "description": "是否热门(小程序)" + }, + "mediaId": { + "type": "string", + "description": "微信素材媒体id" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品关联id" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "url": { + "type": "string", + "description": "原文链接" + }, + "visit": { + "type": "string", + "description": "浏览次数" + } + }, + "title": "ArticleVo对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleVo对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ArticleVo对象»", + "$$ref": "#/definitions/CommonPage«ArticleVo对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ArticleVo对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»" + } + } + } + } + }, + "/api/admin/article/delete": { + "get": { + "tags": [ + "文章管理" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "文章ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/article/save": { + "post": { + "tags": [ + "文章管理" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "文章管理表", + "schema": { + "type": "object", + "required": [ + "author", + "cid", + "content", + "imageInput", + "shareSynopsis", + "shareTitle", + "sort", + "synopsis", + "title" + ], + "properties": { + "author": { + "type": "string", + "description": "文章作者" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "imageInput": { + "type": "string", + "description": "文章图片" + }, + "isBanner": { + "type": "boolean", + "example": true, + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "example": false, + "description": "是否热门(小程序)" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "排序" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "url": { + "type": "string", + "description": "原文链接" + } + }, + "title": "ArticleRequest对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/article/bind/product": { + "post": { + "tags": [ + "文章管理" + ], + "summary": "绑定产品", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "文章ID", + "type": "string" + }, + { + "name": "productId", + "in": "query", + "required": false, + "description": "产品id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/article/info": { + "get": { + "tags": [ + "文章管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "文章ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "author": { + "type": "string", + "description": "文章作者" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "hide": { + "type": "boolean", + "description": "是否隐藏" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "文章管理ID" + }, + "imageInput": { + "type": "string", + "description": "文章图片" + }, + "isBanner": { + "type": "boolean", + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "description": "是否热门(小程序)" + }, + "mediaId": { + "type": "string", + "description": "微信素材id" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品关联id" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "url": { + "type": "string", + "description": "原文链接" + }, + "visit": { + "type": "string", + "description": "浏览次数" + } + }, + "title": "Article对象", + "description": "文章管理表", + "$$ref": "#/definitions/Article对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Article对象»", + "$$ref": "#/definitions/CommonResult«Article对象»" + } + } + } + } + }, + "/api/admin/sms/sendCode": { + "post": { + "tags": [ + "短信服务" + ], + "summary": " 发送短信", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "phone", + "in": "query", + "required": false, + "description": "手机号码", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/sms/sendCodeForRegister/{phone}": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "sendCodeForRegister", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "phone", + "in": "path", + "description": "phone", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/sms/login": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "信息登录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "账号", + "type": "string" + }, + { + "name": "token", + "in": "query", + "required": false, + "description": "smsToken", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/islogin": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "是否已经登录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/logout": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "注销", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/temp/apply": { + "post": { + "tags": [ + "短信服务" + ], + "summary": "申请模板消息", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "content", + "in": "query", + "required": false, + "description": "内容", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "主题", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "type (1=验证码 2=通知 3=推广)", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/record/list": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "短信发送记录列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "phone", + "in": "query", + "required": false, + "description": "接受短信的手机号", + "type": "string" + }, + { + "name": "recordId", + "in": "query", + "required": false, + "description": "发送记录id", + "type": "string" + }, + { + "name": "resultCode", + "in": "query", + "required": false, + "description": "状态码 null=全部,100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态, 134=无状态, 400黑名单", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "短信平台账号", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addIp": { + "type": "string", + "description": "添加记录ip" + }, + "content": { + "type": "string", + "description": "短信内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "短信发送记录编号" + }, + "memo": { + "type": "string", + "description": "备注" + }, + "phone": { + "type": "string", + "description": "接受短信的手机号" + }, + "recordId": { + "type": "integer", + "format": "int32", + "description": "发送记录id" + }, + "resultcode": { + "type": "integer", + "format": "int32", + "description": "状态码 100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态" + }, + "template": { + "type": "string", + "description": "短信模板ID" + }, + "uid": { + "type": "string", + "description": "短信平台账号" + } + }, + "title": "SmsRecord对象", + "description": "短信发送记录表", + "$$ref": "#/definitions/SmsRecord对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SmsRecord对象»", + "$$ref": "#/definitions/CommonPage«SmsRecord对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SmsRecord对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SmsRecord对象»»" + } + } + } + } + }, + "/api/admin/sms/config/save": { + "post": { + "tags": [ + "短信服务" + ], + "summary": "短信提醒开关保存", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "adminConfirmTakeOverSwitch", + "in": "query", + "required": false, + "description": "用户发起退款管理员短信提醒", + "type": "string" + }, + { + "name": "adminLowerOrderSwitch", + "in": "query", + "required": false, + "description": "用户下单管理员短信提醒", + "type": "string" + }, + { + "name": "adminPaySuccessSwitch", + "in": "query", + "required": false, + "description": "支付成功管理员短信提醒", + "type": "string" + }, + { + "name": "adminRefundSwitch", + "in": "query", + "required": false, + "description": "用户确认收货管理员短信提醒", + "type": "string" + }, + { + "name": "confirmTakeOverSwitch", + "in": "query", + "required": false, + "description": "确认收货短信提醒", + "type": "string" + }, + { + "name": "deliverGoodsSwitch", + "in": "query", + "required": false, + "description": "发货短信提醒", + "type": "string" + }, + { + "name": "lowerOrderSwitch", + "in": "query", + "required": false, + "description": "支付成功短信提醒", + "type": "string" + }, + { + "name": "priceRevisionSwitch", + "in": "query", + "required": false, + "description": "改价短信提醒", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/sms/config/list": { + "post": { + "tags": [ + "短信服务" + ], + "summary": "短信提醒开关列表", + "consumes": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/sms/temp/list": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "短信模板列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "名称", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/info": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "短信用户信息", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/pay/list": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "获取支付套餐列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/pay/qrCode": { + "get": { + "tags": [ + "短信服务" + ], + "summary": "获取支付码", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "mealId", + "in": "query", + "required": false, + "description": "套餐id", + "type": "string" + }, + { + "name": "payType", + "in": "query", + "required": false, + "description": "支付类型 weixin:微信支付/alipay:支付宝支付", + "type": "string" + }, + { + "name": "price", + "in": "query", + "required": false, + "description": "价格", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/sms/register": { + "post": { + "tags": [ + "短信服务" + ], + "summary": "账号注册", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "账号", + "type": "string" + }, + { + "name": "code", + "in": "query", + "required": false, + "description": "验证码", + "type": "string" + }, + { + "name": "domain", + "in": "query", + "required": false, + "description": "域名", + "type": "string" + }, + { + "name": "password", + "in": "query", + "required": false, + "description": "密码", + "type": "string" + }, + { + "name": "phone", + "in": "query", + "required": false, + "description": "手机号", + "type": "string" + }, + { + "name": "sign", + "in": "query", + "required": false, + "description": "签名", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«JSONObject»", + "$$ref": "#/definitions/CommonResult«JSONObject»" + } + } + } + } + }, + "/api/admin/statistics/home/chart/order": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "30天订单量趋势", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/admin/statistics/home/chart/order/week": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "周订单量趋势", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/admin/statistics/home/chart/order/year": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "年订单量趋势", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/admin/statistics/home/user": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "新增用户", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "count": { + "type": "object", + "description": "昨日新增量" + }, + "dayRate": { + "type": "object", + "description": "日同比率" + }, + "total": { + "type": "object", + "description": "总数" + }, + "weekRate": { + "type": "object", + "description": "周同比率" + } + }, + "title": "HomeRateResponse对象", + "description": "主页用户新增统计", + "$$ref": "#/definitions/HomeRateResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HomeRateResponse对象»", + "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»" + } + } + } + } + }, + "/api/admin/statistics/home/chart/order/month": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "月订单量趋势", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/admin/statistics/home/chart/user": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "用户曲线图", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«object,object»»", + "$$ref": "#/definitions/CommonResult«Map«object,object»»" + } + } + } + } + }, + "/api/admin/statistics/home/views": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "用户访问量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "count": { + "type": "object", + "description": "昨日新增量" + }, + "dayRate": { + "type": "object", + "description": "日同比率" + }, + "total": { + "type": "object", + "description": "总数" + }, + "weekRate": { + "type": "object", + "description": "周同比率" + } + }, + "title": "HomeRateResponse对象", + "description": "主页用户新增统计", + "$$ref": "#/definitions/HomeRateResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HomeRateResponse对象»", + "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»" + } + } + } + } + }, + "/api/admin/statistics/home/chart/user/buy": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "用户购买统计", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int32" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,int»»", + "$$ref": "#/definitions/CommonResult«Map«string,int»»" + } + } + } + } + }, + "/api/admin/statistics/home/order": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "订单量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "count": { + "type": "object", + "description": "昨日新增量" + }, + "dayRate": { + "type": "object", + "description": "日同比率" + }, + "total": { + "type": "object", + "description": "总数" + }, + "weekRate": { + "type": "object", + "description": "周同比率" + } + }, + "title": "HomeRateResponse对象", + "description": "主页用户新增统计", + "$$ref": "#/definitions/HomeRateResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HomeRateResponse对象»", + "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»" + } + } + } + } + }, + "/api/admin/statistics/home/sales": { + "get": { + "tags": [ + "统计 -- 主页" + ], + "summary": "销售额", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "count": { + "type": "object", + "description": "昨日新增量" + }, + "dayRate": { + "type": "object", + "description": "日同比率" + }, + "total": { + "type": "object", + "description": "总数" + }, + "weekRate": { + "type": "object", + "description": "周同比率" + } + }, + "title": "HomeRateResponse对象", + "description": "主页用户新增统计", + "$$ref": "#/definitions/HomeRateResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HomeRateResponse对象»", + "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»" + } + } + } + } + }, + "/api/admin/marketing/coupon/update/status": { + "post": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "status", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/marketing/coupon/list": { + "get": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isDel", + "in": "query", + "required": false, + "description": "是否删除 状态(0:否,1:是)", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "优惠券名称", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "primaryKey", + "in": "query", + "required": false, + "description": "所属商品id / 分类id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态(0:关闭,1:开启)", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券", + "type": "string" + }, + { + "name": "useType", + "in": "query", + "required": false, + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "required": [ + "primaryKey" + ], + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "day": { + "type": "integer", + "format": "int32", + "description": "天数" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "优惠券表ID" + }, + "isDel": { + "type": "boolean", + "description": "是否删除 状态(0:否,1:是)" + }, + "isFixedTime": { + "type": "boolean", + "description": "是否固定使用时间, 默认0 否, 1是" + }, + "isLimited": { + "type": "boolean", + "description": "是否限量, 默认0 不限量, 1限量" + }, + "lastTotal": { + "type": "integer", + "format": "int32", + "description": "剩余数量" + }, + "minPrice": { + "type": "number", + "description": "最低消费,0代表不限制" + }, + "money": { + "type": "number", + "description": "兑换的优惠券面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "receiveEndTime": { + "type": "string", + "format": "date-time", + "description": "可领取结束时间" + }, + "receiveStartTime": { + "type": "string", + "format": "date-time", + "description": "可领取开始时间" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(0:关闭,1:开启)" + }, + "total": { + "type": "integer", + "format": "int32", + "description": "发放总数" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "useEndTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 结束时间" + }, + "useStartTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 开始时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCoupon对象", + "description": "优惠券表", + "$$ref": "#/definitions/StoreCoupon对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreCoupon对象»", + "$$ref": "#/definitions/CommonPage«StoreCoupon对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreCoupon对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreCoupon对象»»" + } + } + } + } + }, + "/api/admin/marketing/coupon/save": { + "post": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "优惠券表", + "schema": { + "type": "object", + "required": [ + "isFixedTime", + "isForever", + "isLimited", + "minPrice", + "money", + "name", + "primaryKey" + ], + "properties": { + "day": { + "type": "integer", + "format": "int32", + "description": "天数" + }, + "isFixedTime": { + "type": "boolean", + "description": "请设置是否固定使用时间, 默认0 否, 1是" + }, + "isForever": { + "type": "boolean", + "description": "是否固定领取时间, 默认0 否, 1是" + }, + "isLimited": { + "type": "boolean", + "description": "是否限量, 默认0 否, 1是" + }, + "minPrice": { + "type": "number", + "description": "最低消费,0代表不限制" + }, + "money": { + "type": "number", + "description": "兑换的优惠券面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "receiveEndTime": { + "type": "string", + "format": "date-time", + "description": "可领取结束时间" + }, + "receiveStartTime": { + "type": "string", + "format": "date-time", + "description": "可领取开始时间" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(0:关闭,1:开启)" + }, + "total": { + "type": "integer", + "format": "int32", + "description": "发放总数" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券" + }, + "useEndTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 结束时间" + }, + "useStartTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 开始时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCouponRequest对象", + "description": "优惠券表", + "$$ref": "#/definitions/StoreCouponRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/marketing/coupon/info": { + "post": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "详情", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "category": { + "type": "array", + "description": "分类信息", + "items": { + "type": "object", + "properties": { + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 " + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "Category对象", + "description": "分类表", + "$$ref": "#/definitions/Category对象" + } + }, + "coupon": { + "type": "object", + "required": [ + "isFixedTime", + "isForever", + "isLimited", + "minPrice", + "money", + "name", + "primaryKey" + ], + "properties": { + "day": { + "type": "integer", + "format": "int32", + "description": "天数" + }, + "isFixedTime": { + "type": "boolean", + "description": "请设置是否固定使用时间, 默认0 否, 1是" + }, + "isForever": { + "type": "boolean", + "description": "是否固定领取时间, 默认0 否, 1是" + }, + "isLimited": { + "type": "boolean", + "description": "是否限量, 默认0 否, 1是" + }, + "minPrice": { + "type": "number", + "description": "最低消费,0代表不限制" + }, + "money": { + "type": "number", + "description": "兑换的优惠券面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "receiveEndTime": { + "type": "string", + "format": "date-time", + "description": "可领取结束时间" + }, + "receiveStartTime": { + "type": "string", + "format": "date-time", + "description": "可领取开始时间" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(0:关闭,1:开启)" + }, + "total": { + "type": "integer", + "format": "int32", + "description": "发放总数" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券" + }, + "useEndTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 结束时间" + }, + "useStartTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 开始时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCouponRequest对象", + "description": "优惠券表", + "$$ref": "#/definitions/StoreCouponRequest对象" + }, + "product": { + "type": "array", + "description": "商品信息", + "items": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProduct对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProduct对象" + } + } + }, + "title": "StoreCouponInfoResponse对象", + "description": "优惠券详情", + "$$ref": "#/definitions/StoreCouponInfoResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreCouponInfoResponse对象»", + "$$ref": "#/definitions/CommonResult«StoreCouponInfoResponse对象»" + } + } + } + } + }, + "/api/admin/marketing/coupon/user/list": { + "get": { + "tags": [ + "营销 -- 优惠券 -- 领取记录" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "couponId", + "in": "query", + "required": false, + "description": "优惠券id", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "minPrice", + "in": "query", + "required": false, + "description": "最低消费多少金额可用优惠券", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "优惠券名称", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态(0:未使用,1:已使用, 2:已过期)", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "优惠券所属用户", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "required": [ + "primaryKey" + ], + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "cid": { + "type": "integer", + "format": "int32", + "description": "兑换的项目id" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券发布id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "过期时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "id" + }, + "isValid": { + "type": "boolean", + "description": "用户头像" + }, + "minPrice": { + "type": "number", + "description": "最低消费多少金额可用优惠券" + }, + "money": { + "type": "number", + "description": "优惠券的面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "开始使用时间" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态(0:未使用,1:已使用, 2:已失效)" + }, + "type": { + "type": "string", + "description": "获取方式" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "领取人id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "useTime": { + "type": "string", + "format": "date-time", + "description": "使用时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCouponUserResponse对象", + "description": "优惠券记录表", + "$$ref": "#/definitions/StoreCouponUserResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreCouponUserResponse对象»", + "$$ref": "#/definitions/CommonPage«StoreCouponUserResponse对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreCouponUserResponse对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreCouponUserResponse对象»»" + } + } + } + } + }, + "/api/admin/marketing/coupon/user/receive": { + "post": { + "tags": [ + "营销 -- 优惠券 -- 领取记录" + ], + "summary": "领券", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "couponId", + "in": "query", + "required": false, + "description": "优惠券发布id", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "领取人id, 多个id逗号分割", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/update": { + "post": { + "tags": [ + "订单" + ], + "summary": "修改订单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "订单修改", + "schema": { + "type": "object", + "properties": { + "gainIntegral": { + "type": "number", + "description": "消费赚取积分" + }, + "payPostage": { + "type": "number", + "description": "支付邮费" + }, + "payPrice": { + "type": "number", + "description": "实际支付金额" + }, + "totalPostage": { + "type": "number", + "description": "邮费" + }, + "totalPrice": { + "type": "number", + "description": "订单总价" + } + }, + "title": "StoreOrderRequest对象", + "description": "订单修改", + "$$ref": "#/definitions/StoreOrderRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/list": { + "get": { + "tags": [ + "订单" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isDel", + "in": "query", + "required": false, + "description": "是否删除", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "orderId", + "in": "query", + "required": false, + "description": "订单号", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "订单状态(all 总数; 未支付 unPaid; 未发货 notShipped;待收货 spike;待评价 bargain;已完成 complete;待核销 toBeWrittenOff;退款中:refunding;已退款:refunded;已删除:deleted", + "type": "string" + }, + { + "name": "timeRage", + "in": "query", + "required": false, + "description": "创建时间区间", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "list": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "backIntegral": { + "type": "number", + "description": "给用户退了多少积分" + }, + "clerkName": { + "type": "string", + "description": "店员名称" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "gainIntegral": { + "type": "number", + "description": "消费赚取积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isSystemDel": { + "type": "boolean", + "description": "后台是否删除" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "paid": { + "type": "boolean", + "description": "支付状态" + }, + "payPostage": { + "type": "number", + "description": "支付邮费" + }, + "payPrice": { + "type": "number", + "description": "实际支付金额" + }, + "payTime": { + "type": "string", + "format": "date-time", + "description": "支付时间" + }, + "payType": { + "type": "string", + "description": "支付方式" + }, + "payTypeStr": { + "type": "string", + "description": "支付方式" + }, + "productList": { + "type": "array", + "description": "商品信息", + "items": { + "type": "object", + "properties": { + "info": { + "type": "object", + "properties": { + "addTime": { + "type": "string" + }, + "attrStatus": { + "type": "boolean", + "description": "商品是否有效" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "brokerage": { + "type": "number", + "description": "一级分佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级分佣" + }, + "cartNum": { + "type": "integer", + "format": "int32", + "description": "商品数量" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团id" + }, + "costPrice": { + "type": "number" + }, + "id": { + "type": "integer", + "format": "int64", + "description": "购物车表ID" + }, + "isNew": { + "type": "boolean", + "description": "是否为立即购买" + }, + "isReply": { + "type": "integer", + "format": "int32" + }, + "productAttrUnique": { + "type": "string", + "description": "商品属性" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "productInfo": { + "type": "object", + "properties": { + "attrInfo": { + "type": "object", + "properties": { + "attrValue": { + "type": "string", + "description": "产品属性值和属性名对应关系" + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValue对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValue对象" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductCartProductInfoResponse对象", + "description": "商品信息,购物车列表使用", + "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "truePrice": { + "type": "number" + }, + "trueStock": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "description": "类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "vipTruePrice": { + "type": "number" + } + }, + "title": "StoreCartResponse", + "description": "购物车ListResponse", + "$$ref": "#/definitions/StoreCartResponse" + }, + "orderId": { + "type": "integer", + "format": "int32", + "description": "订单id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "unique": { + "type": "string", + "description": "唯一id" + } + }, + "title": "StoreOrderInfoVo对象", + "description": "订单购物详情表", + "$$ref": "#/definitions/StoreOrderInfoVo对象" + } + }, + "realName": { + "type": "string", + "description": "用户姓名" + }, + "refundPrice": { + "type": "number", + "description": "退款金额" + }, + "refundReason": { + "type": "string", + "description": "不退款的理由" + }, + "refundReasonTime": { + "type": "string", + "format": "date-time", + "description": "退款时间" + }, + "refundReasonWap": { + "type": "string", + "description": "前台退款原因" + }, + "refundReasonWapExplain": { + "type": "string", + "description": "退款用户说明" + }, + "refundReasonWapImg": { + "type": "string", + "description": "退款图片" + }, + "remark": { + "type": "string", + "description": "管理员备注" + }, + "spreadInfo": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "name": { + "type": "string", + "description": "推广人姓名" + } + }, + "title": "StoreOrderSpreadInfoResponse对象", + "description": "推广人信息", + "$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象" + }, + "status": { + "type": "boolean", + "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)" + }, + "statusStr": { + "type": "object", + "description": "订单状态", + "additionalProperties": { + "type": "string" + } + }, + "storeName": { + "type": "string", + "description": "门店名称" + }, + "totalPostage": { + "type": "number", + "description": "邮费" + }, + "totalPrice": { + "type": "number", + "description": "订单总价" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "useIntegral": { + "type": "number", + "description": "使用积分" + }, + "userPhone": { + "type": "string", + "description": "用户电话" + } + }, + "title": "StoreOrderItemResponse对象", + "description": "核销订单", + "$$ref": "#/definitions/StoreOrderItemResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreOrderItemResponse对象»", + "$$ref": "#/definitions/CommonPage«StoreOrderItemResponse对象»" + }, + "status": { + "type": "object", + "properties": { + "all": { + "type": "integer", + "format": "int32", + "description": "总数" + }, + "bargain": { + "type": "integer", + "format": "int32", + "description": "待评价" + }, + "complete": { + "type": "integer", + "format": "int32", + "description": "交易完成" + }, + "deleted": { + "type": "integer", + "format": "int32", + "description": "已删除" + }, + "notShipped": { + "type": "integer", + "format": "int32", + "description": "未发货" + }, + "refunded": { + "type": "integer", + "format": "int32", + "description": "已退款" + }, + "refunding": { + "type": "integer", + "format": "int32", + "description": "退款中" + }, + "spike": { + "type": "integer", + "format": "int32", + "description": "待收货" + }, + "toBeWrittenOff": { + "type": "integer", + "format": "int32", + "description": "待核销" + }, + "unPaid": { + "type": "integer", + "format": "int32", + "description": "未支付" + } + }, + "title": "StoreOrderCountItemResponse对象", + "description": "订单状态数量", + "$$ref": "#/definitions/StoreOrderCountItemResponse对象" + }, + "top": { + "type": "object", + "properties": { + "amount": { + "type": "number", + "description": "订单金额" + }, + "count": { + "type": "integer", + "format": "int32", + "description": "订单数量" + }, + "weChatAmount": { + "type": "number", + "description": "微信支付金额" + }, + "yueAmount": { + "type": "number", + "description": "余额支付" + } + }, + "title": "StoreOrderTopItemResponse对象", + "description": "订单九宫格数据", + "$$ref": "#/definitions/StoreOrderTopItemResponse对象" + } + }, + "title": "StoreOrderCountResponse对象", + "description": "订单数量", + "$$ref": "#/definitions/StoreOrderCountResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreOrderCountResponse对象»", + "$$ref": "#/definitions/CommonResult«StoreOrderCountResponse对象»" + } + } + } + } + }, + "/api/admin/store/order/delete": { + "get": { + "tags": [ + "订单" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/send": { + "get": { + "tags": [ + "订单" + ], + "summary": "发送货", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "expressCode", + "in": "query", + "required": false, + "description": "快递单号", + "type": "string" + }, + { + "name": "expressId", + "in": "query", + "required": false, + "description": "快递公司", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "订单ID", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型, 1,2,3", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/store/order/mark": { + "post": { + "tags": [ + "订单" + ], + "summary": "备注", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "mark", + "in": "query", + "required": false, + "description": "mark", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/getLogisticsInfo": { + "get": { + "tags": [ + "订单" + ], + "summary": "快递查询", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "courier": { + "type": "string", + "description": "快递员 或 快递站(没有则为空" + }, + "courierPhone": { + "type": "string", + "description": "快递员电话 (没有则为空)" + }, + "deliverystatus": { + "type": "string", + "description": "快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 */" + }, + "expName": { + "type": "string", + "description": "快递公司名称" + }, + "expPhone": { + "type": "string", + "description": "快递公司电话" + }, + "expSite": { + "type": "string", + "description": "快递公司官网" + }, + "issign": { + "type": "string", + "description": "是否签收" + }, + "list": { + "type": "array", + "description": "快递运送轨迹", + "items": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "日志" + }, + "time": { + "type": "string", + "description": "时间" + } + }, + "title": "LogisticsResultListVo对象", + "description": "快递轨迹", + "$$ref": "#/definitions/LogisticsResultListVo对象" + } + }, + "logo": { + "type": "string", + "description": "快递公司LOGO" + }, + "number": { + "type": "string", + "description": "快递单号" + }, + "takeTime": { + "type": "string", + "description": "发货到收货消耗时长 (截止最新轨迹)" + }, + "type": { + "type": "string", + "description": "快递简写" + }, + "updateTime": { + "type": "string", + "description": "快递轨迹信息最新时间 " + } + }, + "title": "LogisticsResultVo对象", + "description": "快递接口返回数据", + "$$ref": "#/definitions/LogisticsResultVo对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«LogisticsResultVo对象»", + "$$ref": "#/definitions/CommonResult«LogisticsResultVo对象»" + } + } + } + } + }, + "/api/admin/store/order/refund/refuse": { + "get": { + "tags": [ + "订单" + ], + "summary": "拒绝退款", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "reason", + "in": "query", + "required": false, + "description": "reason", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/store/order/info": { + "get": { + "tags": [ + "订单" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "backIntegral": { + "type": "number", + "description": "给用户退了多少积分" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "clerkId": { + "type": "integer", + "format": "int32", + "description": "店员id" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团商品id0一般商品" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券id" + }, + "couponPrice": { + "type": "number", + "description": "优惠券金额" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "deductionPrice": { + "type": "number", + "description": "抵扣金额" + }, + "deliveryId": { + "type": "string", + "description": "快递单号/手机号" + }, + "deliveryName": { + "type": "string", + "description": "快递名称/送货人姓名" + }, + "deliveryType": { + "type": "string", + "description": "发货类型" + }, + "freightPrice": { + "type": "number", + "description": "运费金额" + }, + "gainIntegral": { + "type": "number", + "description": "消费赚取积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "isChannel": { + "type": "boolean", + "description": "支付渠道(0微信公众号1微信小程序)" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isMerCheck": { + "type": "integer", + "format": "int32" + }, + "isRemind": { + "type": "boolean", + "description": "消息提醒" + }, + "isSystemDel": { + "type": "boolean", + "description": "后台是否删除" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户ID" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "paid": { + "type": "boolean", + "description": "支付状态" + }, + "payPostage": { + "type": "number", + "description": "支付邮费" + }, + "payPrice": { + "type": "number", + "description": "实际支付金额" + }, + "payTime": { + "type": "string", + "format": "date-time", + "description": "支付时间" + }, + "payType": { + "type": "string", + "description": "支付方式" + }, + "payTypeStr": { + "type": "string", + "description": "支付方式" + }, + "pinkId": { + "type": "integer", + "format": "int32", + "description": "拼团id 0没有拼团" + }, + "realName": { + "type": "string", + "description": "用户姓名" + }, + "refundPrice": { + "type": "number", + "description": "退款金额" + }, + "refundReason": { + "type": "string", + "description": "不退款的理由" + }, + "refundReasonTime": { + "type": "string", + "format": "date-time", + "description": "退款时间" + }, + "refundReasonWap": { + "type": "string", + "description": "前台退款原因" + }, + "refundReasonWapExplain": { + "type": "string", + "description": "退款用户说明" + }, + "refundReasonWapImg": { + "type": "string", + "description": "退款图片" + }, + "refundStatus": { + "type": "integer", + "format": "int32", + "description": "0 未退款 1 申请中 2 已退款" + }, + "remark": { + "type": "string", + "description": "管理员备注" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "shippingType": { + "type": "integer", + "format": "int32", + "description": "配送方式 1=快递 ,2=门店自提" + }, + "spreadInfo": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "name": { + "type": "string", + "description": "推广人姓名" + } + }, + "title": "StoreOrderSpreadInfoResponse对象", + "description": "推广人信息", + "$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)" + }, + "statusStr": { + "type": "object", + "description": "订单状态", + "additionalProperties": { + "type": "string" + } + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "totalNum": { + "type": "integer", + "format": "int32", + "description": "订单商品总数" + }, + "totalPostage": { + "type": "number", + "description": "邮费" + }, + "totalPrice": { + "type": "number", + "description": "订单总价" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "unique": { + "type": "string", + "description": "唯一id(md5加密)类似id" + }, + "useIntegral": { + "type": "number", + "description": "使用积分" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + }, + "userAddress": { + "type": "string", + "description": "详细地址" + }, + "userPhone": { + "type": "string", + "description": "用户电话" + }, + "verifyCode": { + "type": "string", + "description": "核销码" + } + }, + "title": "StoreOrderInfoResponse对象", + "description": "订单详情", + "$$ref": "#/definitions/StoreOrderInfoResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreOrderInfoResponse对象»", + "$$ref": "#/definitions/CommonResult«StoreOrderInfoResponse对象»" + } + } + } + } + }, + "/api/admin/store/order/refund": { + "get": { + "tags": [ + "订单" + ], + "summary": "退款", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "amount", + "in": "query", + "required": false, + "description": "退款金额", + "type": "string" + }, + { + "name": "orderId", + "in": "query", + "required": false, + "description": "订单id", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "status 1 = 直接退款, 2 = 退款后,返回原状态", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/store/order/status/update": { + "post": { + "tags": [ + "订单 -- 操作记录" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "changeMessage", + "in": "query", + "required": false, + "description": "操作备注", + "type": "string" + }, + { + "name": "changeTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "changeType", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "oid", + "in": "query", + "required": false, + "description": "订单id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/status/list": { + "get": { + "tags": [ + "订单 -- 操作记录" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "changeMessage", + "in": "query", + "required": false, + "description": "操作备注", + "type": "string" + }, + { + "name": "changeTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "changeType", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "oid", + "in": "query", + "required": false, + "description": "订单id", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "changeMessage": { + "type": "string", + "description": "操作备注" + }, + "changeType": { + "type": "string", + "description": "操作类型" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "操作时间" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单id" + } + }, + "title": "StoreOrderStatus对象", + "description": "订单操作记录表", + "$$ref": "#/definitions/StoreOrderStatus对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreOrderStatus对象»", + "$$ref": "#/definitions/CommonPage«StoreOrderStatus对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreOrderStatus对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreOrderStatus对象»»" + } + } + } + } + }, + "/api/admin/store/order/status/delete": { + "delete": { + "tags": [ + "订单 -- 操作记录" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/status/save": { + "post": { + "tags": [ + "订单 -- 操作记录" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "changeMessage", + "in": "query", + "required": false, + "description": "操作备注", + "type": "string" + }, + { + "name": "changeTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "changeType", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + }, + { + "name": "oid", + "in": "query", + "required": false, + "description": "订单id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/store/order/status/info": { + "get": { + "tags": [ + "订单 -- 操作记录" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "changeMessage": { + "type": "string", + "description": "操作备注" + }, + "changeType": { + "type": "string", + "description": "操作类型" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "操作时间" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单id" + } + }, + "title": "StoreOrderStatus对象", + "description": "订单操作记录表", + "$$ref": "#/definitions/StoreOrderStatus对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreOrderStatus对象»", + "$$ref": "#/definitions/CommonResult«StoreOrderStatus对象»" + } + } + } + } + }, + "/api/admin/system/config/save/form": { + "post": { + "tags": [ + "设置 -- Config" + ], + "summary": "整体保存表单数据", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "整体保存表单数据", + "schema": { + "type": "object", + "required": [ + "fields", + "id", + "sort" + ], + "properties": { + "fields": { + "type": "array", + "description": "字段值列表", + "items": { + "type": "object", + "required": [ + "name", + "title", + "value" + ], + "properties": { + "name": { + "type": "string", + "description": "字段名称" + }, + "title": { + "type": "string", + "description": "字段显示文字" + }, + "value": { + "type": "string", + "description": "字段值" + } + }, + "title": "SystemFormItemCheckRequest对象", + "description": "表单字段明细", + "$$ref": "#/definitions/SystemFormItemCheckRequest对象" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单名称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(1:开启;0:关闭;)" + } + }, + "title": "SystemFormCheckRequest对象", + "description": "整体保存表单数据", + "$$ref": "#/definitions/SystemFormCheckRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/config/check": { + "get": { + "tags": [ + "设置 -- Config" + ], + "summary": "检测表单name是否存在", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "name", + "in": "query", + "required": false, + "description": "name", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/system/config/saveuniq": { + "post": { + "tags": [ + "设置 -- Config" + ], + "summary": "表单配置中仅仅存储", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "key", + "in": "query", + "required": false, + "description": "key", + "type": "string" + }, + { + "name": "value", + "in": "query", + "required": false, + "description": "value", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/system/config/getuniq": { + "get": { + "tags": [ + "设置 -- Config" + ], + "summary": "表单配置根据key获取", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "key", + "in": "query", + "required": false, + "description": "key", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/admin/system/config/info": { + "get": { + "tags": [ + "设置 -- Config" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "formId", + "in": "query", + "required": false, + "description": "formId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,string»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,string»»" + } + } + } + } + }, + "/api/admin/system/user/level/update": { + "post": { + "tags": [ + "设置 -- 会员等级" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "设置用户等级表", + "schema": { + "type": "object", + "properties": { + "discount": { + "type": "number", + "description": "享受折扣" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "达到多少升级经验" + }, + "grade": { + "type": "integer", + "format": "int32", + "description": "会员等级" + }, + "icon": { + "type": "string", + "description": "会员图标" + }, + "image": { + "type": "string", + "description": "会员卡背景" + }, + "isShow": { + "type": "boolean", + "description": "是否显示 1=显示,0=隐藏" + }, + "memo": { + "type": "string", + "description": "说明" + }, + "name": { + "type": "string", + "description": "会员名称" + } + }, + "title": "SystemUserLevelRequest对象", + "description": "设置用户等级表", + "$$ref": "#/definitions/SystemUserLevelRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/level/list": { + "get": { + "tags": [ + "设置 -- 会员等级" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isDel", + "in": "query", + "required": false, + "description": "是否删除.1=删除,0=未删除", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示 1=显示,0=隐藏", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "会员名称", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "discount": { + "type": "number", + "description": "享受折扣" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "购买金额|经验达到" + }, + "grade": { + "type": "integer", + "format": "int32", + "description": "会员等级" + }, + "icon": { + "type": "string", + "description": "会员图标" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "会员卡背景" + }, + "isDel": { + "type": "boolean", + "description": "是否删除.1=删除,0=未删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示 1=显示,0=隐藏" + }, + "memo": { + "type": "string", + "description": "说明" + }, + "name": { + "type": "string", + "description": "会员名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "SystemUserLevel对象", + "description": "设置用户等级表", + "$$ref": "#/definitions/SystemUserLevel对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemUserLevel对象»", + "$$ref": "#/definitions/CommonPage«SystemUserLevel对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemUserLevel对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»" + } + } + } + } + }, + "/api/admin/system/user/level/delete": { + "get": { + "tags": [ + "设置 -- 会员等级" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/level/save": { + "post": { + "tags": [ + "设置 -- 会员等级" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "设置用户等级表", + "schema": { + "type": "object", + "properties": { + "discount": { + "type": "number", + "description": "享受折扣" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "达到多少升级经验" + }, + "grade": { + "type": "integer", + "format": "int32", + "description": "会员等级" + }, + "icon": { + "type": "string", + "description": "会员图标" + }, + "image": { + "type": "string", + "description": "会员卡背景" + }, + "isShow": { + "type": "boolean", + "description": "是否显示 1=显示,0=隐藏" + }, + "memo": { + "type": "string", + "description": "说明" + }, + "name": { + "type": "string", + "description": "会员名称" + } + }, + "title": "SystemUserLevelRequest对象", + "description": "设置用户等级表", + "$$ref": "#/definitions/SystemUserLevelRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/level/use": { + "get": { + "tags": [ + "设置 -- 会员等级" + ], + "summary": "是否使用", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "value", + "in": "query", + "required": false, + "description": "是否使用, 1=是,0=否", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/level/info": { + "get": { + "tags": [ + "设置 -- 会员等级" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "discount": { + "type": "number", + "description": "享受折扣" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "购买金额|经验达到" + }, + "grade": { + "type": "integer", + "format": "int32", + "description": "会员等级" + }, + "icon": { + "type": "string", + "description": "会员图标" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "会员卡背景" + }, + "isDel": { + "type": "boolean", + "description": "是否删除.1=删除,0=未删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示 1=显示,0=隐藏" + }, + "memo": { + "type": "string", + "description": "说明" + }, + "name": { + "type": "string", + "description": "会员名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "SystemUserLevel对象", + "description": "设置用户等级表", + "$$ref": "#/definitions/SystemUserLevel对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemUserLevel对象»", + "$$ref": "#/definitions/CommonResult«SystemUserLevel对象»" + } + } + } + } + }, + "/api/admin/system/user/task/update": { + "post": { + "tags": [ + "设置 -- 会员等级 -- 等级任务" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "新增时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "illustrate", + "in": "query", + "required": false, + "description": "任务说明", + "type": "string" + }, + { + "name": "isMust", + "in": "query", + "required": false, + "description": "是否务必达成任务,1务必达成,0=满足其一", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示", + "type": "string" + }, + { + "name": "levelId", + "in": "query", + "required": false, + "description": "等级id", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "任务名称", + "type": "string" + }, + { + "name": "number", + "in": "query", + "required": false, + "description": "限定数", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "配置原名", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + }, + { + "name": "taskType", + "in": "query", + "required": false, + "description": "任务类型", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/task/list": { + "get": { + "tags": [ + "设置 -- 会员等级 -- 等级任务" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "新增时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "illustrate", + "in": "query", + "required": false, + "description": "任务说明", + "type": "string" + }, + { + "name": "isMust", + "in": "query", + "required": false, + "description": "是否务必达成任务,1务必达成,0=满足其一", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示", + "type": "string" + }, + { + "name": "levelId", + "in": "query", + "required": false, + "description": "等级id", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "任务名称", + "type": "string" + }, + { + "name": "number", + "in": "query", + "required": false, + "description": "限定数", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "配置原名", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + }, + { + "name": "taskType", + "in": "query", + "required": false, + "description": "任务类型", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addTime": { + "type": "integer", + "format": "int32", + "description": "新增时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "illustrate": { + "type": "string", + "description": "任务说明" + }, + "isMust": { + "type": "boolean", + "description": "是否务必达成任务,1务必达成,0=满足其一" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "levelId": { + "type": "integer", + "format": "int32", + "description": "等级id" + }, + "name": { + "type": "string", + "description": "任务名称" + }, + "number": { + "type": "integer", + "format": "int32", + "description": "限定数" + }, + "realName": { + "type": "string", + "description": "配置原名" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "taskType": { + "type": "string", + "description": "任务类型" + } + }, + "title": "SystemUserTask对象", + "description": "等级任务设置", + "$$ref": "#/definitions/SystemUserTask对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemUserTask对象»", + "$$ref": "#/definitions/CommonPage«SystemUserTask对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemUserTask对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemUserTask对象»»" + } + } + } + } + }, + "/api/admin/system/user/task/delete": { + "get": { + "tags": [ + "设置 -- 会员等级 -- 等级任务" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/task/save": { + "post": { + "tags": [ + "设置 -- 会员等级 -- 等级任务" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "新增时间", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "illustrate", + "in": "query", + "required": false, + "description": "任务说明", + "type": "string" + }, + { + "name": "isMust", + "in": "query", + "required": false, + "description": "是否务必达成任务,1务必达成,0=满足其一", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示", + "type": "string" + }, + { + "name": "levelId", + "in": "query", + "required": false, + "description": "等级id", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "任务名称", + "type": "string" + }, + { + "name": "number", + "in": "query", + "required": false, + "description": "限定数", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "配置原名", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + }, + { + "name": "taskType", + "in": "query", + "required": false, + "description": "任务类型", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/user/task/info": { + "get": { + "tags": [ + "设置 -- 会员等级 -- 等级任务" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "addTime": { + "type": "integer", + "format": "int32", + "description": "新增时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "illustrate": { + "type": "string", + "description": "任务说明" + }, + "isMust": { + "type": "boolean", + "description": "是否务必达成任务,1务必达成,0=满足其一" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "levelId": { + "type": "integer", + "format": "int32", + "description": "等级id" + }, + "name": { + "type": "string", + "description": "任务名称" + }, + "number": { + "type": "integer", + "format": "int32", + "description": "限定数" + }, + "realName": { + "type": "string", + "description": "配置原名" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "taskType": { + "type": "string", + "description": "任务类型" + } + }, + "title": "SystemUserTask对象", + "description": "等级任务设置", + "$$ref": "#/definitions/SystemUserTask对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemUserTask对象»", + "$$ref": "#/definitions/CommonResult«SystemUserTask对象»" + } + } + } + } + }, + "/api/admin/system/store/update": { + "post": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "提货点", + "schema": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "提货点地址省市区" + }, + "dayTime": { + "type": "string", + "description": "每日营业开关时间" + }, + "detailedAddress": { + "type": "string", + "description": "详细地址" + }, + "image": { + "type": "string", + "description": "门店logo" + }, + "introduction": { + "type": "string", + "description": "简介" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "example": "1,2", + "description": "经度" + }, + "name": { + "type": "string", + "description": "门店名称" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "validTime": { + "type": "string", + "description": "核销有效日期" + } + }, + "title": "SystemStoreRequest对象", + "description": "提货点", + "$$ref": "#/definitions/SystemStoreRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/update/status": { + "get": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "修改门店显示状态", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "status", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/list": { + "get": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字,支持 门店名称|简介|手机号码||省市区|详细地址", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态,0隐藏,1显示,2回收站", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "省市区" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "dayTime": { + "type": "string", + "description": "每日营业开关时间" + }, + "detailedAddress": { + "type": "string", + "description": "详细地址" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "门店logo" + }, + "introduction": { + "type": "string", + "description": "简介" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "name": { + "type": "string", + "description": "门店名称" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + }, + "validTime": { + "type": "string", + "description": "核销有效日期" + } + }, + "title": "SystemStore对象", + "description": "门店自提", + "$$ref": "#/definitions/SystemStore对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemStore对象»", + "$$ref": "#/definitions/CommonPage«SystemStore对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemStore对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemStore对象»»" + } + } + } + } + }, + "/api/admin/system/store/delete": { + "get": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/getCount": { + "get": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "数量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int32" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,int»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,int»»" + } + } + } + } + }, + "/api/admin/system/store/save": { + "post": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "提货点", + "schema": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "提货点地址省市区" + }, + "dayTime": { + "type": "string", + "description": "每日营业开关时间" + }, + "detailedAddress": { + "type": "string", + "description": "详细地址" + }, + "image": { + "type": "string", + "description": "门店logo" + }, + "introduction": { + "type": "string", + "description": "简介" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "example": "1,2", + "description": "经度" + }, + "name": { + "type": "string", + "description": "门店名称" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "validTime": { + "type": "string", + "description": "核销有效日期" + } + }, + "title": "SystemStoreRequest对象", + "description": "提货点", + "$$ref": "#/definitions/SystemStoreRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/info": { + "get": { + "tags": [ + "设置 -- 提货点 -- 提货点" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "省市区" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "dayTime": { + "type": "string", + "description": "每日营业开关时间" + }, + "detailedAddress": { + "type": "string", + "description": "详细地址" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "门店logo" + }, + "introduction": { + "type": "string", + "description": "简介" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "name": { + "type": "string", + "description": "门店名称" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + }, + "validTime": { + "type": "string", + "description": "核销有效日期" + } + }, + "title": "SystemStore对象", + "description": "门店自提", + "$$ref": "#/definitions/SystemStore对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemStore对象»", + "$$ref": "#/definitions/CommonResult«SystemStore对象»" + } + } + } + } + }, + "/api/admin/system/store/staff/update": { + "post": { + "tags": [ + "设置 -- 提货点 -- 核销员" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "门店店员表", + "schema": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "店员头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "staffName": { + "type": "string", + "description": "店员名称" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "微信用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "verifyStatus": { + "type": "integer", + "format": "int32", + "description": "核销开关" + } + }, + "title": "SystemStoreStaff对象", + "description": "门店店员表", + "$$ref": "#/definitions/SystemStoreStaff对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/staff/update/status": { + "get": { + "tags": [ + "设置 -- 提货点 -- 核销员" + ], + "summary": "修改状态", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "status", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/staff/list": { + "get": { + "tags": [ + "设置 -- 提货点 -- 核销员" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "storeId", + "in": "query", + "required": false, + "description": "storeId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "店员头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "staffName": { + "type": "string", + "description": "店员名称" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "systemStore": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "省市区" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "dayTime": { + "type": "string", + "description": "每日营业开关时间" + }, + "detailedAddress": { + "type": "string", + "description": "详细地址" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "门店logo" + }, + "introduction": { + "type": "string", + "description": "简介" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "name": { + "type": "string", + "description": "门店名称" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + }, + "validTime": { + "type": "string", + "description": "核销有效日期" + } + }, + "title": "SystemStore对象", + "description": "门店自提", + "$$ref": "#/definitions/SystemStore对象" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "微信用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + }, + "verifyStatus": { + "type": "integer", + "format": "int32", + "description": "核销开关" + } + }, + "title": "SystemStoreStaffResponse对象", + "description": "门店店员表", + "$$ref": "#/definitions/SystemStoreStaffResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemStoreStaffResponse对象»", + "$$ref": "#/definitions/CommonPage«SystemStoreStaffResponse对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemStoreStaffResponse对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemStoreStaffResponse对象»»" + } + } + } + } + }, + "/api/admin/system/store/staff/delete": { + "get": { + "tags": [ + "设置 -- 提货点 -- 核销员" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/staff/save": { + "post": { + "tags": [ + "设置 -- 提货点 -- 核销员" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "门店店员表", + "schema": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "店员头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "staffName": { + "type": "string", + "description": "店员名称" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "微信用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "verifyStatus": { + "type": "integer", + "format": "int32", + "description": "核销开关" + } + }, + "title": "SystemStoreStaff对象", + "description": "门店店员表", + "$$ref": "#/definitions/SystemStoreStaff对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/store/staff/info": { + "get": { + "tags": [ + "设置 -- 提货点 -- 核销员" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "店员头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "staffName": { + "type": "string", + "description": "店员名称" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "微信用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "verifyStatus": { + "type": "integer", + "format": "int32", + "description": "核销开关" + } + }, + "title": "SystemStoreStaff对象", + "description": "门店店员表", + "$$ref": "#/definitions/SystemStoreStaff对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemStoreStaff对象»", + "$$ref": "#/definitions/CommonResult«SystemStoreStaff对象»" + } + } + } + } + }, + "/api/admin/system/store/order/list": { + "post": { + "tags": [ + "设置 -- 提货点 -- 核销订单" + ], + "summary": "分页列表", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "data", + "in": "query", + "required": false, + "description": "时间", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "storeId", + "in": "query", + "required": false, + "description": "核销点ID", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "list": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "backIntegral": { + "type": "number", + "description": "给用户退了多少积分" + }, + "clerkName": { + "type": "string", + "description": "店员名称" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "gainIntegral": { + "type": "number", + "description": "消费赚取积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isSystemDel": { + "type": "boolean", + "description": "后台是否删除" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "paid": { + "type": "boolean", + "description": "支付状态" + }, + "payPostage": { + "type": "number", + "description": "支付邮费" + }, + "payPrice": { + "type": "number", + "description": "实际支付金额" + }, + "payTime": { + "type": "string", + "format": "date-time", + "description": "支付时间" + }, + "payType": { + "type": "string", + "description": "支付方式" + }, + "payTypeStr": { + "type": "string", + "description": "支付方式" + }, + "productList": { + "type": "array", + "description": "商品信息", + "items": { + "type": "object", + "properties": { + "info": { + "type": "object", + "properties": { + "addTime": { + "type": "string" + }, + "attrStatus": { + "type": "boolean", + "description": "商品是否有效" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "brokerage": { + "type": "number", + "description": "一级分佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级分佣" + }, + "cartNum": { + "type": "integer", + "format": "int32", + "description": "商品数量" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团id" + }, + "costPrice": { + "type": "number" + }, + "id": { + "type": "integer", + "format": "int64", + "description": "购物车表ID" + }, + "isNew": { + "type": "boolean", + "description": "是否为立即购买" + }, + "isReply": { + "type": "integer", + "format": "int32" + }, + "productAttrUnique": { + "type": "string", + "description": "商品属性" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "productInfo": { + "type": "object", + "properties": { + "attrInfo": { + "type": "object", + "properties": { + "attrValue": { + "type": "string", + "description": "产品属性值和属性名对应关系" + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValue对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValue对象" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductCartProductInfoResponse对象", + "description": "商品信息,购物车列表使用", + "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "truePrice": { + "type": "number" + }, + "trueStock": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "description": "类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "vipTruePrice": { + "type": "number" + } + }, + "title": "StoreCartResponse", + "description": "购物车ListResponse", + "$$ref": "#/definitions/StoreCartResponse" + }, + "orderId": { + "type": "integer", + "format": "int32", + "description": "订单id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "unique": { + "type": "string", + "description": "唯一id" + } + }, + "title": "StoreOrderInfoVo对象", + "description": "订单购物详情表", + "$$ref": "#/definitions/StoreOrderInfoVo对象" + } + }, + "realName": { + "type": "string", + "description": "用户姓名" + }, + "refundPrice": { + "type": "number", + "description": "退款金额" + }, + "refundReason": { + "type": "string", + "description": "不退款的理由" + }, + "refundReasonTime": { + "type": "string", + "format": "date-time", + "description": "退款时间" + }, + "refundReasonWap": { + "type": "string", + "description": "前台退款原因" + }, + "refundReasonWapExplain": { + "type": "string", + "description": "退款用户说明" + }, + "refundReasonWapImg": { + "type": "string", + "description": "退款图片" + }, + "remark": { + "type": "string", + "description": "管理员备注" + }, + "spreadInfo": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "name": { + "type": "string", + "description": "推广人姓名" + } + }, + "title": "StoreOrderSpreadInfoResponse对象", + "description": "推广人信息", + "$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象" + }, + "status": { + "type": "boolean", + "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)" + }, + "statusStr": { + "type": "object", + "description": "订单状态", + "additionalProperties": { + "type": "string" + } + }, + "storeName": { + "type": "string", + "description": "门店名称" + }, + "totalPostage": { + "type": "number", + "description": "邮费" + }, + "totalPrice": { + "type": "number", + "description": "订单总价" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "useIntegral": { + "type": "number", + "description": "使用积分" + }, + "userPhone": { + "type": "string", + "description": "用户电话" + } + }, + "title": "StoreOrderItemResponse对象", + "description": "核销订单", + "$$ref": "#/definitions/StoreOrderItemResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreOrderItemResponse对象»", + "$$ref": "#/definitions/CommonPage«StoreOrderItemResponse对象»" + }, + "orderTotalPrice": { + "type": "number", + "description": "订单总金额" + }, + "refundTotal": { + "type": "integer", + "format": "int32", + "description": "退款总单数" + }, + "refundTotalPrice": { + "type": "number", + "description": "退款总金额" + }, + "total": { + "type": "integer", + "format": "int64", + "description": "订单总数量" + } + }, + "title": "SystemWriteOffOrderResponse对象", + "description": "核销订单", + "$$ref": "#/definitions/SystemWriteOffOrderResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemWriteOffOrderResponse对象»", + "$$ref": "#/definitions/CommonResult«SystemWriteOffOrderResponse对象»" + } + } + } + } + }, + "/api/admin/system/role/testMenu": { + "get": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "TestMenu", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult", + "$$ref": "#/definitions/CommonResult" + } + } + } + } + }, + "/api/admin/system/role/update": { + "post": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "level", + "in": "query", + "required": false, + "description": "身份管理名称", + "type": "string" + }, + { + "name": "roleName", + "in": "query", + "required": false, + "description": "身份管理名称", + "type": "string" + }, + { + "name": "rules", + "in": "query", + "required": false, + "description": "身份管理权限(menus_id)", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/role/list": { + "get": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "createTime", + "in": "query", + "required": false, + "description": "创建时间", + "type": "string" + }, + { + "name": "level", + "in": "query", + "required": false, + "description": "身份管理名称", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "roleName", + "in": "query", + "required": false, + "description": "身份管理名称", + "type": "string" + }, + { + "name": "rules", + "in": "query", + "required": false, + "description": "身份管理权限(menus_id)", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "updateTime", + "in": "query", + "required": false, + "description": "修改时间", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "身份管理id" + }, + "level": { + "type": "integer", + "format": "int32" + }, + "roleName": { + "type": "string", + "description": "身份管理名称" + }, + "rules": { + "type": "string", + "description": "身份管理权限(menus_id)" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "SystemRole对象", + "description": "身份管理表", + "$$ref": "#/definitions/SystemRole对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemRole对象»", + "$$ref": "#/definitions/CommonPage«SystemRole对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemRole对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemRole对象»»" + } + } + } + } + }, + "/api/admin/system/role/delete": { + "get": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/role/save": { + "post": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "level", + "in": "query", + "required": false, + "description": "身份管理名称", + "type": "string" + }, + { + "name": "roleName", + "in": "query", + "required": false, + "description": "身份管理名称", + "type": "string" + }, + { + "name": "rules", + "in": "query", + "required": false, + "description": "身份管理权限(menus_id)", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/role/menu": { + "get": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "菜单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "child": { + "type": "array", + "items": { + "originalRef": "CategoryTreeVo", + "$ref": "#/definitions/CategoryTreeVo" + } + }, + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "CategoryTreeVo", + "$$ref": "#/definitions/CategoryTreeVo" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«CategoryTreeVo»»", + "$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»" + } + } + } + } + }, + "/api/admin/system/role/info": { + "get": { + "tags": [ + "设置 -- 权限管理 -- 身份管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "身份管理id" + }, + "level": { + "type": "integer", + "format": "int32" + }, + "roleName": { + "type": "string", + "description": "身份管理名称" + }, + "rules": { + "type": "string", + "description": "身份管理权限(menus_id)" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "SystemRole对象", + "description": "身份管理表", + "$$ref": "#/definitions/SystemRole对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemRole对象»", + "$$ref": "#/definitions/CommonResult«SystemRole对象»" + } + } + } + } + }, + "/api/admin/express/shipping/region/list": { + "get": { + "tags": [ + "设置 -- 物流 -- 付费" + ], + "summary": "根据模板id查询数据", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "tempId", + "in": "query", + "required": false, + "description": "tempId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "cityId", + "first", + "firstPrice", + "renewal", + "renewalPrice" + ], + "properties": { + "cityId": { + "type": "string", + "example": "1,2,3,4", + "description": "城市ID, 多个逗号分割。全国 all" + }, + "first": { + "type": "number", + "example": 0.1, + "description": "首件" + }, + "firstPrice": { + "type": "number", + "example": 0.1, + "description": "首件运费" + }, + "renewal": { + "type": "number", + "example": 0.1, + "description": "续件" + }, + "renewalPrice": { + "type": "number", + "example": 0.1, + "description": "续件运费" + }, + "title": { + "type": "string", + "description": "城市名称描述" + }, + "uniqid": { + "type": "string", + "description": "分组唯一值" + } + }, + "title": "ShippingTemplatesRegionRequest对象", + "description": "付费", + "$$ref": "#/definitions/ShippingTemplatesRegionRequest对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«ShippingTemplatesRegionRequest对象»»", + "$$ref": "#/definitions/CommonResult«List«ShippingTemplatesRegionRequest对象»»" + } + } + } + } + }, + "/api/admin/express/shipping/free/list": { + "get": { + "tags": [ + "设置 -- 物流 -- 免费" + ], + "summary": "根据模板id查询数据", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "tempId", + "in": "query", + "required": false, + "description": "tempId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "cityId", + "number", + "price" + ], + "properties": { + "cityId": { + "type": "string", + "example": "1,2,3,4", + "description": "城市ID, 多个逗号分割。 全国 all" + }, + "number": { + "type": "integer", + "format": "int32", + "example": 1, + "description": "包邮件数" + }, + "price": { + "type": "number", + "example": 0.1, + "description": "包邮金额" + }, + "title": { + "type": "string", + "description": "城市名称描述" + } + }, + "title": "ShippingTemplatesFreeRequest对象", + "description": "免费", + "$$ref": "#/definitions/ShippingTemplatesFreeRequest对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«ShippingTemplatesFreeRequest对象»»", + "$$ref": "#/definitions/CommonResult«List«ShippingTemplatesFreeRequest对象»»" + } + } + } + } + }, + "/api/admin/express/update": { + "post": { + "tags": [ + "设置 -- 物流 -- 公司" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "code", + "in": "query", + "required": false, + "description": "快递公司简称", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "快递ID", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "快递公司全称", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/express/list": { + "get": { + "tags": [ + "设置 -- 物流 -- 公司" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "快递公司简称" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "快递公司id" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "name": { + "type": "string", + "description": "快递公司全称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + } + }, + "title": "Express对象", + "description": "快递公司表", + "$$ref": "#/definitions/Express对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«Express对象»", + "$$ref": "#/definitions/CommonPage«Express对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«Express对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«Express对象»»" + } + } + } + } + }, + "/api/admin/express/delete": { + "get": { + "tags": [ + "设置 -- 物流 -- 公司" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "快递ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/express/save": { + "post": { + "tags": [ + "设置 -- 物流 -- 公司" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "code", + "in": "query", + "required": false, + "description": "快递公司简称", + "type": "string" + }, + { + "name": "isShow", + "in": "query", + "required": false, + "description": "是否显示", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "快递公司全称", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/express/info": { + "get": { + "tags": [ + "设置 -- 物流 -- 公司" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "快递ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "快递公司简称" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "快递公司id" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "name": { + "type": "string", + "description": "快递公司全称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + } + }, + "title": "Express对象", + "description": "快递公司表", + "$$ref": "#/definitions/Express对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Express对象»", + "$$ref": "#/definitions/CommonResult«Express对象»" + } + } + } + } + }, + "/api/admin/express/shipping/templates/update": { + "post": { + "tags": [ + "设置 -- 物流 -- 模板" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "模板", + "schema": { + "type": "object", + "required": [ + "appoint", + "name", + "shippingTemplatesFreeRequestList", + "shippingTemplatesRegionRequestList", + "type" + ], + "properties": { + "appoint": { + "type": "boolean", + "example": false, + "description": "指定包邮" + }, + "name": { + "type": "string", + "description": "模板名称" + }, + "shippingTemplatesFreeRequestList": { + "type": "array", + "description": "指定包邮设置", + "items": { + "type": "object", + "required": [ + "cityId", + "number", + "price" + ], + "properties": { + "cityId": { + "type": "string", + "example": "1,2,3,4", + "description": "城市ID, 多个逗号分割。 全国 all" + }, + "number": { + "type": "integer", + "format": "int32", + "example": 1, + "description": "包邮件数" + }, + "price": { + "type": "number", + "example": 0.1, + "description": "包邮金额" + }, + "title": { + "type": "string", + "description": "城市名称描述" + } + }, + "title": "ShippingTemplatesFreeRequest对象", + "description": "免费", + "$$ref": "#/definitions/ShippingTemplatesFreeRequest对象" + } + }, + "shippingTemplatesRegionRequestList": { + "type": "array", + "description": "配送区域及运费", + "items": { + "type": "object", + "required": [ + "cityId", + "first", + "firstPrice", + "renewal", + "renewalPrice" + ], + "properties": { + "cityId": { + "type": "string", + "example": "1,2,3,4", + "description": "城市ID, 多个逗号分割。全国 all" + }, + "first": { + "type": "number", + "example": 0.1, + "description": "首件" + }, + "firstPrice": { + "type": "number", + "example": 0.1, + "description": "首件运费" + }, + "renewal": { + "type": "number", + "example": 0.1, + "description": "续件" + }, + "renewalPrice": { + "type": "number", + "example": 0.1, + "description": "续件运费" + }, + "title": { + "type": "string", + "description": "城市名称描述" + }, + "uniqid": { + "type": "string", + "description": "分组唯一值" + } + }, + "title": "ShippingTemplatesRegionRequest对象", + "description": "付费", + "$$ref": "#/definitions/ShippingTemplatesRegionRequest对象" + } + }, + "sort": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "排序" + }, + "type": { + "type": "integer", + "format": "int32", + "example": 1, + "description": "计费方式 1(按件数), 2(按重量),3(按体积)" + } + }, + "title": "ShippingTemplatesRequest对象", + "description": "模板", + "$$ref": "#/definitions/ShippingTemplatesRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/express/shipping/templates/list": { + "get": { + "tags": [ + "设置 -- 物流 -- 模板" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "模板名称", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "appoint": { + "type": "boolean", + "description": "指定包邮" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "编号" + }, + "name": { + "type": "string", + "description": "模板名称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "计费方式" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "ShippingTemplates对象", + "$$ref": "#/definitions/ShippingTemplates对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ShippingTemplates对象»", + "$$ref": "#/definitions/CommonPage«ShippingTemplates对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ShippingTemplates对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ShippingTemplates对象»»" + } + } + } + } + }, + "/api/admin/express/shipping/templates/delete": { + "get": { + "tags": [ + "设置 -- 物流 -- 模板" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/express/shipping/templates/save": { + "post": { + "tags": [ + "设置 -- 物流 -- 模板" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "模板", + "schema": { + "type": "object", + "required": [ + "appoint", + "name", + "shippingTemplatesFreeRequestList", + "shippingTemplatesRegionRequestList", + "type" + ], + "properties": { + "appoint": { + "type": "boolean", + "example": false, + "description": "指定包邮" + }, + "name": { + "type": "string", + "description": "模板名称" + }, + "shippingTemplatesFreeRequestList": { + "type": "array", + "description": "指定包邮设置", + "items": { + "type": "object", + "required": [ + "cityId", + "number", + "price" + ], + "properties": { + "cityId": { + "type": "string", + "example": "1,2,3,4", + "description": "城市ID, 多个逗号分割。 全国 all" + }, + "number": { + "type": "integer", + "format": "int32", + "example": 1, + "description": "包邮件数" + }, + "price": { + "type": "number", + "example": 0.1, + "description": "包邮金额" + }, + "title": { + "type": "string", + "description": "城市名称描述" + } + }, + "title": "ShippingTemplatesFreeRequest对象", + "description": "免费", + "$$ref": "#/definitions/ShippingTemplatesFreeRequest对象" + } + }, + "shippingTemplatesRegionRequestList": { + "type": "array", + "description": "配送区域及运费", + "items": { + "type": "object", + "required": [ + "cityId", + "first", + "firstPrice", + "renewal", + "renewalPrice" + ], + "properties": { + "cityId": { + "type": "string", + "example": "1,2,3,4", + "description": "城市ID, 多个逗号分割。全国 all" + }, + "first": { + "type": "number", + "example": 0.1, + "description": "首件" + }, + "firstPrice": { + "type": "number", + "example": 0.1, + "description": "首件运费" + }, + "renewal": { + "type": "number", + "example": 0.1, + "description": "续件" + }, + "renewalPrice": { + "type": "number", + "example": 0.1, + "description": "续件运费" + }, + "title": { + "type": "string", + "description": "城市名称描述" + }, + "uniqid": { + "type": "string", + "description": "分组唯一值" + } + }, + "title": "ShippingTemplatesRegionRequest对象", + "description": "付费", + "$$ref": "#/definitions/ShippingTemplatesRegionRequest对象" + } + }, + "sort": { + "type": "integer", + "format": "int32", + "example": 0, + "description": "排序" + }, + "type": { + "type": "integer", + "format": "int32", + "example": 1, + "description": "计费方式 1(按件数), 2(按重量),3(按体积)" + } + }, + "title": "ShippingTemplatesRequest对象", + "description": "模板", + "$$ref": "#/definitions/ShippingTemplatesRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/express/shipping/templates/info": { + "get": { + "tags": [ + "设置 -- 物流 -- 模板" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "appoint": { + "type": "boolean", + "description": "指定包邮" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "编号" + }, + "name": { + "type": "string", + "description": "模板名称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "计费方式" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + } + }, + "title": "ShippingTemplates对象", + "$$ref": "#/definitions/ShippingTemplates对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«ShippingTemplates对象»", + "$$ref": "#/definitions/CommonResult«ShippingTemplates对象»" + } + } + } + } + }, + "/api/admin/system/log/update": { + "post": { + "tags": [ + "设置 -- 管理员操作记录" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "adminId", + "in": "query", + "required": false, + "description": "管理员id", + "type": "string" + }, + { + "name": "adminName", + "in": "query", + "required": false, + "description": "管理员姓名", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "管理员操作记录ID", + "type": "string" + }, + { + "name": "ip", + "in": "query", + "required": false, + "description": "登录IP", + "type": "string" + }, + { + "name": "merchantId", + "in": "query", + "required": false, + "description": "商户id", + "type": "string" + }, + { + "name": "method", + "in": "query", + "required": false, + "description": "访问类型", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "行为", + "type": "string" + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "链接", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/log/list": { + "get": { + "tags": [ + "设置 -- 管理员操作记录" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "adminId", + "in": "query", + "required": false, + "description": "管理员id", + "type": "string" + }, + { + "name": "adminName", + "in": "query", + "required": false, + "description": "管理员姓名", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "管理员操作记录ID", + "type": "string" + }, + { + "name": "ip", + "in": "query", + "required": false, + "description": "登录IP", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "merchantId", + "in": "query", + "required": false, + "description": "商户id", + "type": "string" + }, + { + "name": "method", + "in": "query", + "required": false, + "description": "访问类型", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "行为", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "链接", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addTime": { + "type": "integer", + "format": "int32", + "description": "操作时间" + }, + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "adminName": { + "type": "string", + "description": "管理员姓名" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "管理员操作记录ID" + }, + "ip": { + "type": "string", + "description": "登录IP" + }, + "merchantId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "method": { + "type": "string", + "description": "访问类型" + }, + "page": { + "type": "string", + "description": "行为" + }, + "path": { + "type": "string", + "description": "链接" + }, + "type": { + "type": "string", + "description": "类型" + } + }, + "title": "SystemLog对象", + "description": "管理员操作记录表", + "$$ref": "#/definitions/SystemLog对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemLog对象»", + "$$ref": "#/definitions/CommonPage«SystemLog对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemLog对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemLog对象»»" + } + } + } + } + }, + "/api/admin/system/log/delete": { + "get": { + "tags": [ + "设置 -- 管理员操作记录" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/log/save": { + "post": { + "tags": [ + "设置 -- 管理员操作记录" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "addTime", + "in": "query", + "required": false, + "description": "操作时间", + "type": "string" + }, + { + "name": "adminId", + "in": "query", + "required": false, + "description": "管理员id", + "type": "string" + }, + { + "name": "adminName", + "in": "query", + "required": false, + "description": "管理员姓名", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "管理员操作记录ID", + "type": "string" + }, + { + "name": "ip", + "in": "query", + "required": false, + "description": "登录IP", + "type": "string" + }, + { + "name": "merchantId", + "in": "query", + "required": false, + "description": "商户id", + "type": "string" + }, + { + "name": "method", + "in": "query", + "required": false, + "description": "访问类型", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "行为", + "type": "string" + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "链接", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/log/info": { + "get": { + "tags": [ + "设置 -- 管理员操作记录" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "addTime": { + "type": "integer", + "format": "int32", + "description": "操作时间" + }, + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "adminName": { + "type": "string", + "description": "管理员姓名" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "管理员操作记录ID" + }, + "ip": { + "type": "string", + "description": "登录IP" + }, + "merchantId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "method": { + "type": "string", + "description": "访问类型" + }, + "page": { + "type": "string", + "description": "行为" + }, + "path": { + "type": "string", + "description": "链接" + }, + "type": { + "type": "string", + "description": "类型" + } + }, + "title": "SystemLog对象", + "description": "管理员操作记录表", + "$$ref": "#/definitions/SystemLog对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemLog对象»", + "$$ref": "#/definitions/CommonResult«SystemLog对象»" + } + } + } + } + }, + "/api/admin/system/group/update": { + "post": { + "tags": [ + "设置 -- 组合数据" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "formId", + "in": "query", + "required": false, + "description": "form 表单 id", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "info", + "in": "query", + "required": false, + "description": "简介", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "数据组名称", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/group/list": { + "get": { + "tags": [ + "设置 -- 组合数据" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "formId": { + "type": "integer", + "format": "int32", + "description": "form 表单 id" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "组合数据ID" + }, + "info": { + "type": "string", + "description": "简介" + }, + "name": { + "type": "string", + "description": "数据组名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "SystemGroup对象", + "description": "组合数据表", + "$$ref": "#/definitions/SystemGroup对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemGroup对象»", + "$$ref": "#/definitions/CommonPage«SystemGroup对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemGroup对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemGroup对象»»" + } + } + } + } + }, + "/api/admin/system/group/delete": { + "get": { + "tags": [ + "设置 -- 组合数据" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/group/save": { + "post": { + "tags": [ + "设置 -- 组合数据" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "formId", + "in": "query", + "required": false, + "description": "form 表单 id", + "type": "string" + }, + { + "name": "info", + "in": "query", + "required": false, + "description": "简介", + "type": "string" + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "数据组名称", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/group/info": { + "get": { + "tags": [ + "设置 -- 组合数据" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "formId": { + "type": "integer", + "format": "int32", + "description": "form 表单 id" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "组合数据ID" + }, + "info": { + "type": "string", + "description": "简介" + }, + "name": { + "type": "string", + "description": "数据组名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "SystemGroup对象", + "description": "组合数据表", + "$$ref": "#/definitions/SystemGroup对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemGroup对象»", + "$$ref": "#/definitions/CommonResult«SystemGroup对象»" + } + } + } + } + }, + "/api/admin/system/group/data/update": { + "post": { + "tags": [ + "设置 -- 组合数据 -- 详情" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "组合数据详情表", + "schema": { + "type": "object", + "properties": { + "form": { + "type": "object", + "required": [ + "fields", + "id", + "sort" + ], + "properties": { + "fields": { + "type": "array", + "description": "字段值列表", + "items": { + "type": "object", + "required": [ + "name", + "title", + "value" + ], + "properties": { + "name": { + "type": "string", + "description": "字段名称" + }, + "title": { + "type": "string", + "description": "字段显示文字" + }, + "value": { + "type": "string", + "description": "字段值" + } + }, + "title": "SystemFormItemCheckRequest对象", + "description": "表单字段明细", + "$$ref": "#/definitions/SystemFormItemCheckRequest对象" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单名称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(1:开启;0:关闭;)" + } + }, + "title": "SystemFormCheckRequest对象", + "description": "整体保存表单数据", + "$$ref": "#/definitions/SystemFormCheckRequest对象" + }, + "gid": { + "type": "integer", + "format": "int32", + "description": "对应的数据组id" + } + }, + "title": "SystemGroupDataRequest对象", + "description": "组合数据详情表", + "$$ref": "#/definitions/SystemGroupDataRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/group/data/list": { + "get": { + "tags": [ + "设置 -- 组合数据 -- 详情" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "gid", + "in": "query", + "required": false, + "description": "分组id", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态(1:开启;2:关闭;)", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "gid": { + "type": "integer", + "format": "int32", + "description": "对应的数据组id" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "组合数据详情ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "数据排序" + }, + "status": { + "type": "boolean", + "description": "状态(1:开启;0:关闭;)" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "value": { + "type": "string", + "description": "数据组对应的数据值(json数据)" + } + }, + "title": "SystemGroupData对象", + "description": "组合数据详情表", + "$$ref": "#/definitions/SystemGroupData对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemGroupData对象»", + "$$ref": "#/definitions/CommonPage«SystemGroupData对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemGroupData对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemGroupData对象»»" + } + } + } + } + }, + "/api/admin/system/group/data/delete": { + "get": { + "tags": [ + "设置 -- 组合数据 -- 详情" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/group/data/save": { + "post": { + "tags": [ + "设置 -- 组合数据 -- 详情" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "组合数据详情表", + "schema": { + "type": "object", + "properties": { + "form": { + "type": "object", + "required": [ + "fields", + "id", + "sort" + ], + "properties": { + "fields": { + "type": "array", + "description": "字段值列表", + "items": { + "type": "object", + "required": [ + "name", + "title", + "value" + ], + "properties": { + "name": { + "type": "string", + "description": "字段名称" + }, + "title": { + "type": "string", + "description": "字段显示文字" + }, + "value": { + "type": "string", + "description": "字段值" + } + }, + "title": "SystemFormItemCheckRequest对象", + "description": "表单字段明细", + "$$ref": "#/definitions/SystemFormItemCheckRequest对象" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单名称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(1:开启;0:关闭;)" + } + }, + "title": "SystemFormCheckRequest对象", + "description": "整体保存表单数据", + "$$ref": "#/definitions/SystemFormCheckRequest对象" + }, + "gid": { + "type": "integer", + "format": "int32", + "description": "对应的数据组id" + } + }, + "title": "SystemGroupDataRequest对象", + "description": "组合数据详情表", + "$$ref": "#/definitions/SystemGroupDataRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/group/data/info": { + "get": { + "tags": [ + "设置 -- 组合数据 -- 详情" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "gid": { + "type": "integer", + "format": "int32", + "description": "对应的数据组id" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "组合数据详情ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "数据排序" + }, + "status": { + "type": "boolean", + "description": "状态(1:开启;0:关闭;)" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "value": { + "type": "string", + "description": "数据组对应的数据值(json数据)" + } + }, + "title": "SystemGroupData对象", + "description": "组合数据详情表", + "$$ref": "#/definitions/SystemGroupData对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemGroupData对象»", + "$$ref": "#/definitions/CommonResult«SystemGroupData对象»" + } + } + } + } + }, + "/api/admin/system/form/temp/update": { + "post": { + "tags": [ + "设置 -- 表单模板" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "表单模板", + "schema": { + "type": "object", + "required": [ + "content", + "info", + "name" + ], + "properties": { + "content": { + "type": "string", + "description": "表单内容" + }, + "info": { + "type": "string", + "description": "表单简介" + }, + "name": { + "type": "string", + "description": "表单名称" + } + }, + "title": "SystemFormTempRequest对象", + "description": "表单模板", + "$$ref": "#/definitions/SystemFormTempRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/form/temp/list": { + "get": { + "tags": [ + "设置 -- 表单模板" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "表单内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单模板id" + }, + "info": { + "type": "string", + "description": "表单简介" + }, + "name": { + "type": "string", + "description": "表单名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "SystemFormTemp对象", + "description": "表单模板", + "$$ref": "#/definitions/SystemFormTemp对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemFormTemp对象»", + "$$ref": "#/definitions/CommonPage«SystemFormTemp对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemFormTemp对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemFormTemp对象»»" + } + } + } + } + }, + "/api/admin/system/form/temp/save": { + "post": { + "tags": [ + "设置 -- 表单模板" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "表单模板", + "schema": { + "type": "object", + "required": [ + "content", + "info", + "name" + ], + "properties": { + "content": { + "type": "string", + "description": "表单内容" + }, + "info": { + "type": "string", + "description": "表单简介" + }, + "name": { + "type": "string", + "description": "表单名称" + } + }, + "title": "SystemFormTempRequest对象", + "description": "表单模板", + "$$ref": "#/definitions/SystemFormTempRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/form/temp/info": { + "get": { + "tags": [ + "设置 -- 表单模板" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "表单内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "表单模板id" + }, + "info": { + "type": "string", + "description": "表单简介" + }, + "name": { + "type": "string", + "description": "表单名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "SystemFormTemp对象", + "description": "表单模板", + "$$ref": "#/definitions/SystemFormTemp对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemFormTemp对象»", + "$$ref": "#/definitions/CommonResult«SystemFormTemp对象»" + } + } + } + } + }, + "/api/admin/system/notice/update": { + "post": { + "tags": [ + "设置 -- 通知记录 -- 通知模板" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "icon", + "in": "query", + "required": false, + "description": "图标", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "通知模板id", + "type": "string" + }, + { + "name": "pushAdmin", + "in": "query", + "required": false, + "description": "通知管理员id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "tableTitle", + "in": "query", + "required": false, + "description": "通知数据", + "type": "string" + }, + { + "name": "template", + "in": "query", + "required": false, + "description": "通知模板", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "通知标题", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "通知类型", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "链接", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/notice/list": { + "get": { + "tags": [ + "设置 -- 通知记录 -- 通知模板" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "icon", + "in": "query", + "required": false, + "description": "图标", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "通知模板id", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "pushAdmin", + "in": "query", + "required": false, + "description": "通知管理员id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "tableTitle", + "in": "query", + "required": false, + "description": "通知数据", + "type": "string" + }, + { + "name": "template", + "in": "query", + "required": false, + "description": "通知模板", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "通知标题", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "通知类型", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "链接", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "icon": { + "type": "string", + "description": "图标" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "通知模板id" + }, + "pushAdmin": { + "type": "string", + "description": "通知管理员id" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "tableTitle": { + "type": "string", + "description": "通知数据" + }, + "template": { + "type": "string", + "description": "通知模板" + }, + "title": { + "type": "string", + "description": "通知标题" + }, + "type": { + "type": "string", + "description": "通知类型" + }, + "url": { + "type": "string", + "description": "链接" + } + }, + "title": "SystemNotice对象", + "description": "通知模板表", + "$$ref": "#/definitions/SystemNotice对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemNotice对象»", + "$$ref": "#/definitions/CommonPage«SystemNotice对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemNotice对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemNotice对象»»" + } + } + } + } + }, + "/api/admin/system/notice/delete": { + "get": { + "tags": [ + "设置 -- 通知记录 -- 通知模板" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/notice/save": { + "post": { + "tags": [ + "设置 -- 通知记录 -- 通知模板" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "icon", + "in": "query", + "required": false, + "description": "图标", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "通知模板id", + "type": "string" + }, + { + "name": "pushAdmin", + "in": "query", + "required": false, + "description": "通知管理员id", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "状态", + "type": "string" + }, + { + "name": "tableTitle", + "in": "query", + "required": false, + "description": "通知数据", + "type": "string" + }, + { + "name": "template", + "in": "query", + "required": false, + "description": "通知模板", + "type": "string" + }, + { + "name": "title", + "in": "query", + "required": false, + "description": "通知标题", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "通知类型", + "type": "string" + }, + { + "name": "url", + "in": "query", + "required": false, + "description": "链接", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/notice/info": { + "get": { + "tags": [ + "设置 -- 通知记录 -- 通知模板" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "icon": { + "type": "string", + "description": "图标" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "通知模板id" + }, + "pushAdmin": { + "type": "string", + "description": "通知管理员id" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "tableTitle": { + "type": "string", + "description": "通知数据" + }, + "template": { + "type": "string", + "description": "通知模板" + }, + "title": { + "type": "string", + "description": "通知标题" + }, + "type": { + "type": "string", + "description": "通知类型" + }, + "url": { + "type": "string", + "description": "链接" + } + }, + "title": "SystemNotice对象", + "description": "通知模板表", + "$$ref": "#/definitions/SystemNotice对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemNotice对象»", + "$$ref": "#/definitions/CommonResult«SystemNotice对象»" + } + } + } + } + }, + "/api/admin/user/topUpLog/list": { + "get": { + "tags": [ + "财务 -- 充值" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "endTime", + "in": "query", + "required": false, + "description": "结束时间", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "paid", + "in": "query", + "required": false, + "description": "是否充值", + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "-1 未通过 0 审核中 1 已提现", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "充值时间" + }, + "givePrice": { + "type": "number", + "description": "购买赠送金额" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "paid": { + "type": "boolean", + "description": "是否充值" + }, + "payTime": { + "type": "string", + "format": "date-time", + "description": "充值支付时间" + }, + "price": { + "type": "number", + "description": "充值金额" + }, + "rechargeType": { + "type": "string", + "description": "充值类型" + }, + "refundPrice": { + "type": "number", + "description": "退款金额" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "充值用户UID" + } + }, + "title": "UserRecharge对象", + "description": "用户充值表", + "$$ref": "#/definitions/UserRecharge对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserRecharge对象»", + "$$ref": "#/definitions/CommonPage«UserRecharge对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserRecharge对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserRecharge对象»»" + } + } + } + } + }, + "/api/admin/user/topUpLog/delete": { + "get": { + "tags": [ + "财务 -- 充值" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/user/topUpLog/balance": { + "post": { + "tags": [ + "财务 -- 充值" + ], + "summary": "提现总金额", + "consumes": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,bigdecimal»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,bigdecimal»»" + } + } + } + } + }, + "/api/admin/finance/apply/update": { + "post": { + "tags": [ + "财务 -- 提现申请" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "alipayCode", + "in": "query", + "required": false, + "description": "支付宝账号", + "type": "string" + }, + { + "name": "bankCode", + "in": "query", + "required": false, + "description": "银行卡", + "type": "string" + }, + { + "name": "bankname", + "in": "query", + "required": false, + "description": "提现银行名称", + "type": "string" + }, + { + "name": "extractPrice", + "in": "query", + "required": false, + "description": "提现金额", + "type": "string" + }, + { + "name": "extractType", + "in": "query", + "required": false, + "description": "提现方式| alipay=支付宝,bank=银行卡,weixin=微信", + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "realName", + "in": "query", + "required": false, + "description": "姓名", + "type": "string" + }, + { + "name": "wechat", + "in": "query", + "required": false, + "description": "微信号", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/finance/apply/list": { + "get": { + "tags": [ + "财务 -- 提现申请" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "endTime", + "in": "query", + "required": false, + "description": "结束时间", + "type": "string" + }, + { + "name": "extractType", + "in": "query", + "required": false, + "description": "bank = 银行卡 alipay = 支付宝wx=微信", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "status", + "in": "query", + "required": false, + "description": "-1 未通过 0 审核中 1 已提现", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "alipayCode": { + "type": "string", + "description": "支付宝账号" + }, + "balance": { + "type": "number", + "description": "金额" + }, + "bankAddress": { + "type": "string", + "description": "开户地址" + }, + "bankCode": { + "type": "string", + "description": "银行卡" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "extractPrice": { + "type": "number", + "description": "提现金额" + }, + "extractType": { + "type": "string", + "description": "bank = 银行卡 alipay = 支付宝wx=微信" + }, + "failMsg": { + "type": "string", + "description": "无效原因" + }, + "failTime": { + "type": "string", + "format": "date-time", + "description": "失败时间" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "realName": { + "type": "string", + "description": "名称" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "-1 未通过 0 审核中 1 已提现" + }, + "uid": { + "type": "integer", + "format": "int32" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "wechat": { + "type": "string", + "description": "微信号" + } + }, + "title": "UserExtract对象", + "description": "用户提现表", + "$$ref": "#/definitions/UserExtract对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserExtract对象»", + "$$ref": "#/definitions/CommonPage«UserExtract对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserExtract对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserExtract对象»»" + } + } + } + } + }, + "/api/admin/finance/apply/balance": { + "post": { + "tags": [ + "财务 -- 提现申请" + ], + "summary": "提现总金额", + "consumes": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "commissionTotal": { + "type": "number", + "description": "佣金总金额" + }, + "toBeWithdrawn": { + "type": "number" + }, + "unDrawn": { + "type": "number", + "description": "未提现" + }, + "withdrawn": { + "type": "number", + "description": "已提现" + } + }, + "title": "BalanceResponse对象", + "description": "提现金额", + "$$ref": "#/definitions/BalanceResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«BalanceResponse对象»", + "$$ref": "#/definitions/CommonResult«BalanceResponse对象»" + } + } + } + } + }, + "/api/admin/finance/founds/monitor/list/user": { + "get": { + "tags": [ + "财务 -- 资金监控" + ], + "summary": "佣金记录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "endTime", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "max", + "in": "query", + "required": false, + "description": "最大佣金", + "type": "string" + }, + { + "name": "min", + "in": "query", + "required": false, + "description": "最小佣金", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序 asc/desc", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "brokerage": { + "type": "number", + "description": "账户佣金" + }, + "nickname": { + "type": "string", + "description": "昵称" + }, + "nowMoney": { + "type": "number", + "description": "账户余额" + }, + "totalBrokerage": { + "type": "number", + "description": "账户总佣金" + }, + "totalExtract": { + "type": "number", + "description": "提现总金额" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "充值用户UID" + } + }, + "title": "UserFundsMonitor对象", + "description": "佣金", + "$$ref": "#/definitions/UserFundsMonitor对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserFundsMonitor对象»", + "$$ref": "#/definitions/CommonPage«UserFundsMonitor对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserFundsMonitor对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserFundsMonitor对象»»" + } + } + } + } + }, + "/api/admin/finance/founds/monitor/list": { + "get": { + "tags": [ + "财务 -- 资金监控" + ], + "summary": "资金监控", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "category", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + }, + { + "name": "dateLimit", + "in": "query", + "required": false, + "description": "添加时间", + "type": "string" + }, + { + "name": "keywords", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "linkId", + "in": "query", + "required": false, + "description": "关联id", + "type": "string" + }, + { + "name": "max", + "in": "query", + "required": false, + "description": "最大佣金", + "type": "string" + }, + { + "name": "min", + "in": "query", + "required": false, + "description": "最小佣金", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "pm", + "in": "query", + "required": false, + "description": "操作类型", + "type": "string" + }, + { + "name": "sort", + "in": "query", + "required": false, + "description": "排序 asc/desc", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "类型", + "type": "string" + }, + { + "name": "uid", + "in": "query", + "required": false, + "description": "用户id list", + "type": "string" + }, + { + "name": "userIdList", + "in": "query", + "required": false, + "description": "用户id list", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "add_time": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "balance": { + "type": "number", + "description": "剩余" + }, + "category": { + "type": "string", + "description": "明细种类" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户账单id" + }, + "linkId": { + "type": "string", + "description": "关联id" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "nickName": { + "type": "string", + "description": "用户呢成" + }, + "number": { + "type": "number", + "description": "明细数字" + }, + "pm": { + "type": "integer", + "format": "int32", + "description": "0 = 支出 1 = 获得" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "0 = 带确定 1 = 有效 -1 = 无效" + }, + "title": { + "type": "string", + "description": "账单标题" + }, + "type": { + "type": "string", + "description": "明细类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserBill对象", + "description": "用户账单表", + "$$ref": "#/definitions/UserBill对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserBill对象»", + "$$ref": "#/definitions/CommonPage«UserBill对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserBill对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»" + } + } + } + } + }, + "/api/admin/system/attachment/update": { + "post": { + "tags": [ + "附件管理" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "attDir": { + "type": "string", + "description": "附件路径" + }, + "attId": { + "type": "integer", + "format": "int32" + }, + "attSize": { + "type": "string", + "description": "附件大小" + }, + "attType": { + "type": "string", + "description": "附件类型" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "imageType": { + "type": "integer", + "format": "int32", + "description": "图片上传类型 1本地 2七牛云 3OSS 4COS " + }, + "model": { + "type": "string", + "description": "模块,store" + }, + "moduleType": { + "type": "integer", + "format": "int32", + "description": "图片上传模块类型 1 后台上传 2 用户生成" + }, + "name": { + "type": "string", + "description": "附件名称" + }, + "rootDir": { + "type": "string", + "description": "服务器上存储的绝对地址" + }, + "sattDir": { + "type": "string", + "description": "压缩图片路径" + } + }, + "title": "SystemAttachmentRequest", + "$$ref": "#/definitions/SystemAttachmentRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/attachment/list": { + "get": { + "tags": [ + "附件管理" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "pid", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "attDir": { + "type": "string", + "description": "附件路径" + }, + "attId": { + "type": "integer", + "format": "int32" + }, + "attSize": { + "type": "string", + "description": "附件大小" + }, + "attType": { + "type": "string", + "description": "附件类型" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "imageType": { + "type": "integer", + "format": "int32", + "description": "图片上传类型 1本地 2七牛云 3OSS 4COS " + }, + "name": { + "type": "string", + "description": "附件名称" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列" + }, + "sattDir": { + "type": "string", + "description": "压缩图片路径" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "SystemAttachment对象", + "description": "附件管理表", + "$$ref": "#/definitions/SystemAttachment对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemAttachment对象»", + "$$ref": "#/definitions/CommonPage«SystemAttachment对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemAttachment对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemAttachment对象»»" + } + } + } + } + }, + "/api/admin/system/attachment/delete/{ids}": { + "get": { + "tags": [ + "附件管理" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "ids", + "in": "path", + "description": "ids", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/attachment/save": { + "post": { + "tags": [ + "附件管理" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "attDir": { + "type": "string", + "description": "附件路径" + }, + "attId": { + "type": "integer", + "format": "int32" + }, + "attSize": { + "type": "string", + "description": "附件大小" + }, + "attType": { + "type": "string", + "description": "附件类型" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "imageType": { + "type": "integer", + "format": "int32", + "description": "图片上传类型 1本地 2七牛云 3OSS 4COS " + }, + "model": { + "type": "string", + "description": "模块,store" + }, + "moduleType": { + "type": "integer", + "format": "int32", + "description": "图片上传模块类型 1 后台上传 2 用户生成" + }, + "name": { + "type": "string", + "description": "附件名称" + }, + "rootDir": { + "type": "string", + "description": "服务器上存储的绝对地址" + }, + "sattDir": { + "type": "string", + "description": "压缩图片路径" + } + }, + "title": "SystemAttachmentRequest", + "$$ref": "#/definitions/SystemAttachmentRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/attachment/move": { + "post": { + "tags": [ + "附件管理" + ], + "summary": "更改图片目录", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "attrId": { + "type": "integer", + "format": "int32" + }, + "pid": { + "type": "integer", + "format": "int32" + } + }, + "title": "SystemAttachmentMoveRequest", + "$$ref": "#/definitions/SystemAttachmentMoveRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/admin/system/attachment/info/{id}": { + "get": { + "tags": [ + "附件管理" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "attDir": { + "type": "string", + "description": "附件路径" + }, + "attId": { + "type": "integer", + "format": "int32" + }, + "attSize": { + "type": "string", + "description": "附件大小" + }, + "attType": { + "type": "string", + "description": "附件类型" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "imageType": { + "type": "integer", + "format": "int32", + "description": "图片上传类型 1本地 2七牛云 3OSS 4COS " + }, + "name": { + "type": "string", + "description": "附件名称" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列" + }, + "sattDir": { + "type": "string", + "description": "压缩图片路径" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "SystemAttachment对象", + "description": "附件管理表", + "$$ref": "#/definitions/SystemAttachment对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemAttachment对象»", + "$$ref": "#/definitions/CommonResult«SystemAttachment对象»" + } + } + } + } + }, + "/api/admin/validate/code/check": { + "get": { + "tags": [ + "验证码服务" + ], + "summary": "检测验证码", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "code", + "in": "query", + "required": false, + "description": "code", + "type": "string" + }, + { + "name": "key", + "in": "query", + "required": false, + "description": "key", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/admin/validate/code/get": { + "get": { + "tags": [ + "验证码服务" + ], + "summary": "获取验证码", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "required": [ + "code", + "key" + ], + "properties": { + "code": { + "type": "string", + "description": "code" + }, + "key": { + "type": "string", + "description": "key" + } + }, + "title": "ValidateCode对象", + "description": "验证码类", + "$$ref": "#/definitions/ValidateCode对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«ValidateCode对象»", + "$$ref": "#/definitions/CommonResult«ValidateCode对象»" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/接口文档/app/app_api.html b/接口文档/app/app_api.html new file mode 100644 index 00000000..d1574bd9 --- /dev/null +++ b/接口文档/app/app_api.html @@ -0,0 +1,4643 @@ + + + + crmeb_java_front + + + + + +
+
+ +
+ + + \ No newline at end of file diff --git a/接口文档/app/app_api.json b/接口文档/app/app_api.json new file mode 100644 index 00000000..9eeab0dd --- /dev/null +++ b/接口文档/app/app_api.json @@ -0,0 +1,4300 @@ +[ + { + "index": 0, + "name": "上传文件", + "desc": "Upload Front Controller", + "add_time": 1597369231, + "up_time": 1597369231, + "list": [ + { + "query_path": { + "path": "/api/front/user/upload/image", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7382, + "method": "POST", + "title": "图片上传", + "path": "/api/front/user/upload/image", + "req_params": [], + "req_body_form": [ + { + "required": "0", + "_id": "5f35eb99bc7e8e560914fc7d", + "name": "multipart", + "desc": "multipart", + "type": "file" + } + ], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb99bc7e8e560914fc7e", + "name": "Content-Type", + "value": "multipart/form-data" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35eb99bc7e8e560914fc80", + "name": "model", + "desc": "模块 用户user,商品product,微信wechat,news文章" + }, + { + "required": "0", + "_id": "5f35eb99bc7e8e560914fc7f", + "name": "pid", + "desc": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 " + } + ], + "req_body_type": "form", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"extName\": {\n \"type\": \"string\"\n },\n \"fileName\": {\n \"type\": \"string\"\n },\n \"fileSize\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"serverPath\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"FileResultVo\",\n \"$$ref\": \"#/definitions/FileResultVo\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«FileResultVo»\",\n \"$$ref\": \"#/definitions/CommonResult«FileResultVo»\"\n}", + "project_id": 56, + "catid": 4892, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "二维码服务", + "desc": "Qr Code Controller", + "add_time": 1597369232, + "up_time": 1597369232, + "list": [ + { + "query_path": { + "path": "/api/front/qrcode/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7318, + "method": "POST", + "title": "获取二维码", + "path": "/api/front/qrcode/get", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc4e", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n}", + "project_id": 56, + "catid": 4901, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/qrcode/base64", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7316, + "method": "POST", + "title": "远程图片转base64", + "path": "/api/front/qrcode/base64", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc4c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc4d", + "name": "url", + "desc": "url" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "project_id": 56, + "catid": 4901, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "优惠券", + "desc": "Coupon Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/coupons", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7252, + "method": "GET", + "title": "分页列表", + "path": "/api/front/coupons", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc20", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc1f", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc1e", + "name": "productId", + "desc": "productId" + }, + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc1d", + "name": "type", + "desc": "type" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"day\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"天数\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券表ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除 状态(0:否,1:是)\"\n },\n \"isFixedTime\": {\n \"type\": \"boolean\",\n \"description\": \"是否固定使用时间, 默认0 否, 1是\"\n },\n \"isLimited\": {\n \"type\": \"boolean\",\n \"description\": \"是否限量, 默认0 不限量, 1限量\"\n },\n \"isUse\": {\n \"type\": \"boolean\",\n \"description\": \"是否已领取未使用\"\n },\n \"lastTotal\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"剩余数量\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费,0代表不限制\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"兑换的优惠券面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"所属商品id / 分类id\"\n },\n \"receiveEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取结束时间\"\n },\n \"receiveStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可领取开始时间\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:关闭,1:开启)\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发放总数\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券类型 0-通用 1 普通券, 2 新人券, 3 购买商品赠送券, 4 付费会员券\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"useEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 结束时间\"\n },\n \"useStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"可使用时间范围 开始时间\"\n }\n },\n \"title\": \"StoreCoupon对象\",\n \"description\": \"优惠券表\",\n \"$$ref\": \"#/definitions/StoreCoupon对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«StoreCoupon对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«StoreCoupon对象»»\"\n}", + "project_id": 56, + "catid": 4910, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/coupons/order", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7254, + "method": "GET", + "title": "当前购物车可用优惠券", + "path": "/api/front/coupons/order", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35eb94bc7e8e560914fc21", + "name": "cartId", + "desc": "cartId" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"primaryKey\"\n ],\n \"properties\": {\n \"cid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"兑换的项目id\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券发布id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"id\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费多少金额可用优惠券\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"优惠券的面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"receiveEndTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"过期时间\"\n },\n \"receiveStartTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"开始使用时间\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态(0:未使用,1:已使用, 2:已失效)\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"获取方式\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"领取人id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"useTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"使用时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCouponUserOrder对象\",\n \"description\": \"下单之前可以使用的优惠券对象\",\n \"$$ref\": \"#/definitions/StoreCouponUserOrder对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«StoreCouponUserOrder对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«StoreCouponUserOrder对象»»\"\n}", + "project_id": 56, + "catid": 4910, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "商品", + "desc": "Product Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/product/hot", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7312, + "method": "GET", + "title": "为你推荐", + "path": "/api/front/product/hot", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc44", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc43", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ProductResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ProductResponse对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ProductResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ProductResponse对象»»\"\n}", + "project_id": 56, + "catid": 4919, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/products", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7314, + "method": "GET", + "title": "商品列表", + "path": "/api/front/products", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc4b", + "name": "cid", + "desc": "分类id" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc4a", + "name": "keyword", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc49", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc48", + "name": "news", + "desc": "是否新品" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc47", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc46", + "name": "priceOrder", + "desc": "价格排序" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc45", + "name": "salesOrder", + "desc": "销量排序" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ProductResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ProductResponse对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ProductResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ProductResponse对象»»\"\n}", + "project_id": 56, + "catid": 4919, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/reply/list/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7334, + "method": "GET", + "title": "商品评论列表", + "path": "/api/front/reply/list/{id}", + "req_params": [ + { + "_id": "5f35eb97bc7e8e560914fc58", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc5b", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc5a", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc59", + "name": "type", + "desc": "评价等级|0=全部,1=好评,2=中评,3=差评" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"comment\": {\n \"type\": \"string\",\n \"description\": \"评论内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"评论时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"评论ID\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"0未删除1已删除\"\n },\n \"isReply\": {\n \"type\": \"boolean\",\n \"description\": \"0未回复1已回复\"\n },\n \"merchantReplyContent\": {\n \"type\": \"string\",\n \"description\": \"管理员回复内容\"\n },\n \"merchantReplyTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员回复时间\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户名称\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"pics\": {\n \"type\": \"array\",\n \"description\": \"评论图片\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"productScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品分数\"\n },\n \"replyType\": {\n \"type\": \"string\",\n \"description\": \"某种商品类型(普通商品、秒杀商品)\"\n },\n \"serviceScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"服务分数\"\n },\n \"storeProduct\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProduct对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProduct对象\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreProductReplyResponse\",\n \"$$ref\": \"#/definitions/StoreProductReplyResponse\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreProductReplyResponse»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreProductReplyResponse»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreProductReplyResponse»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»\"\n}", + "project_id": 56, + "catid": 4919, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/reply/config/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7332, + "method": "GET", + "title": "商品评论数量", + "path": "/api/front/reply/config/{id}", + "req_params": [ + { + "_id": "5f35eb97bc7e8e560914fc57", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"goodCount\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"好评总数\"\n },\n \"inCount\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"中评总数\"\n },\n \"poorCount\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"差评总数\"\n },\n \"replyChance\": {\n \"type\": \"string\",\n \"description\": \"好评率\"\n },\n \"replyStar\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"评分星数\"\n },\n \"sumCount\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"评论总数\"\n }\n },\n \"title\": \"StoreProductReplayCountResponse对象\",\n \"description\": \"产品评价数量和好评度\",\n \"$$ref\": \"#/definitions/StoreProductReplayCountResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreProductReplayCountResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreProductReplayCountResponse对象»\"\n}", + "project_id": 56, + "catid": 4919, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/product/detail/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7310, + "method": "GET", + "title": "商品详情", + "path": "/api/front/product/detail/{id}", + "req_params": [ + { + "_id": "5f35eb96bc7e8e560914fc42", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"array\",\n \"description\": \"拼团,砍价,秒杀商品集合\",\n \"items\": {\n \"type\": \"object\"\n }\n },\n \"base64Image\": {\n \"type\": \"string\",\n \"description\": \"主图base64\"\n },\n \"goodList\": {\n \"type\": \"array\",\n \"description\": \"优品推荐列表\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"array\",\n \"description\": \"秒杀,团购,砍价\",\n \"items\": {\n \"type\": \"object\"\n }\n },\n \"checkCoupon\": {\n \"type\": \"boolean\",\n \"description\": \"可用优惠券\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"img Url\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n }\n },\n \"title\": \"StoreProductRecommendResponse\",\n \"$$ref\": \"#/definitions/StoreProductRecommendResponse\"\n }\n },\n \"priceName\": {\n \"type\": \"string\",\n \"description\": \"返佣金额区间\"\n },\n \"productAttr\": {\n \"type\": \"array\",\n \"description\": \"产品属性\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"productValue\": {\n \"type\": \"object\",\n \"description\": \"商品属性详情\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"reply\": {\n \"type\": \"object\",\n \"description\": \"最新评价\"\n },\n \"replyChance\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"好评率\"\n },\n \"replyCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"评价数量\"\n },\n \"storeInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cateIds\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"cateValues\": {\n \"type\": \"string\",\n \"description\": \"分类中文\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"商品描述\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"userCollect\": {\n \"type\": \"boolean\",\n \"description\": \"收藏标识\"\n },\n \"userLike\": {\n \"type\": \"boolean\",\n \"description\": \"点赞标识\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductStoreInfoResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProductStoreInfoResponse对象\"\n }\n },\n \"title\": \"ProductDetailResponse对象\",\n \"description\": \"商品详情H5\",\n \"$$ref\": \"#/definitions/ProductDetailResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«ProductDetailResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«ProductDetailResponse对象»\"\n}", + "project_id": 56, + "catid": 4919, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/category", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7232, + "method": "GET", + "title": "获取分类", + "path": "/api/front/category", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"child\": {\n \"type\": \"array\",\n \"items\": {\n \"originalRef\": \"CategoryTreeVo\",\n \"$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"CategoryTreeVo\",\n \"$$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«CategoryTreeVo»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«CategoryTreeVo»»\"\n}", + "project_id": 56, + "catid": 4919, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "商品 -- 购物车", + "desc": "Cart Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/cart/num", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7226, + "method": "POST", + "title": "修改", + "path": "/api/front/cart/num", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc0d", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc0f", + "name": "id", + "desc": "id" + }, + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc0e", + "name": "number", + "desc": "number" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 56, + "catid": 4928, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/cart/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7224, + "method": "GET", + "title": "分页列表", + "path": "/api/front/cart/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc0c", + "name": "isValid", + "desc": "isValid" + }, + { + "required": "0", + "_id": "5f35eb93bc7e8e560914fc0b", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb93bc7e8e560914fc0a", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\"\n },\n \"attrStatus\": {\n \"type\": \"boolean\",\n \"description\": \"商品是否有效\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级分佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级分佣\"\n },\n \"cartNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品数量\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id\"\n },\n \"costPrice\": {\n \"type\": \"number\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"购物车表ID\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否为立即购买\"\n },\n \"isReply\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"productAttrUnique\": {\n \"type\": \"string\",\n \"description\": \"商品属性\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"productInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"string\",\n \"description\": \"产品属性值和属性名对应关系\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValue对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValue对象\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductCartProductInfoResponse对象\",\n \"description\": \"商品信息,购物车列表使用\",\n \"$$ref\": \"#/definitions/StoreProductCartProductInfoResponse对象\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"truePrice\": {\n \"type\": \"number\"\n },\n \"trueStock\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"vipTruePrice\": {\n \"type\": \"number\"\n }\n },\n \"title\": \"StoreCartResponse\",\n \"description\": \"购物车ListResponse\",\n \"$$ref\": \"#/definitions/StoreCartResponse\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreCartResponse»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreCartResponse»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreCartResponse»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreCartResponse»»\"\n}", + "project_id": 56, + "catid": 4928, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/cart/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7222, + "method": "POST", + "title": "删除", + "path": "/api/front/cart/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc08", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc09", + "name": "ids", + "desc": "ids" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 56, + "catid": 4928, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/cart/count", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7220, + "method": "GET", + "title": "数量", + "path": "/api/front/cart/count", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fc07", + "name": "numType", + "desc": "numType" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«object,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«object,object»»\"\n}", + "project_id": 56, + "catid": 4928, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/cart/save", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7230, + "method": "POST", + "title": "新增", + "path": "/api/front/cart/save", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc11", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc15", + "name": "cartNum", + "desc": "商品数量" + }, + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc14", + "name": "isNew", + "desc": "是否为立即购买" + }, + { + "required": "0", + "_id": "5f35eb93bc7e8e560914fc13", + "name": "productAttrUnique", + "desc": "商品属性 -- attr 对象的id" + }, + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc12", + "name": "productId", + "desc": "商品ID" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,string»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,string»»\"\n}", + "project_id": 56, + "catid": 4928, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/cart/resetcart", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7228, + "method": "POST", + "title": "购物车重选提交", + "path": "/api/front/cart/resetcart", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc10", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"购物车id\"\n },\n \"num\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"购物车数量\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"unique\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"AttrValue Id\"\n }\n },\n \"title\": \"CartResetRequest\",\n \"$$ref\": \"#/definitions/CartResetRequest\"\n}", + "project_id": 56, + "catid": 4928, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "城市服务", + "desc": "City Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/city/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7234, + "method": "GET", + "title": "树形结构", + "path": "/api/front/city/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 4937, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "客服", + "desc": "Store Service Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/user/service/lst", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7364, + "method": "GET", + "title": "客服列表", + "path": "/api/front/user/service/lst", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"客服头像\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"customer\": {\n \"type\": \"boolean\",\n \"description\": \"是否展示统计管理\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服id\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"代理名称\"\n },\n \"notify\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单通知1开启0关闭\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"0隐藏1显示\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreService对象\",\n \"description\": \"客服表\",\n \"$$ref\": \"#/definitions/StoreService对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«StoreService对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«StoreService对象»»\"\n}", + "project_id": 56, + "catid": 4946, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/service/record/{toUid}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7366, + "method": "GET", + "title": "聊天记录", + "path": "/api/front/user/service/record/{toUid}", + "req_params": [ + { + "_id": "5f35eb98bc7e8e560914fc73", + "name": "toUid", + "desc": "聊天人编号" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc75", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc74", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"客服用户对话记录表ID\"\n },\n \"msn\": {\n \"type\": \"string\",\n \"description\": \"消息内容\"\n },\n \"msnType\": {\n \"type\": \"boolean\",\n \"description\": \"消息类型 1=文字 2=表情 3=图片 4=语音\"\n },\n \"remind\": {\n \"type\": \"boolean\",\n \"description\": \"是否提醒过\"\n },\n \"toUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"接收人uid\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"是否已读(0:否;1:是;)\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"发送人uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"StoreServiceLog对象\",\n \"description\": \"客服用户对话记录表\",\n \"$$ref\": \"#/definitions/StoreServiceLog对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreServiceLog对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreServiceLog对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreServiceLog对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»\"\n}", + "project_id": 56, + "catid": 4946, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信 -- 开放平台", + "desc": "We Chat Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/wechat/getLogo", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7394, + "method": "GET", + "title": "小程序获取授权logo", + "path": "/api/front/wechat/getLogo", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,string»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,string»»\"\n}", + "project_id": 56, + "catid": 4955, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/wechat/authorize/login", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7388, + "method": "GET", + "title": "微信登录公共号授权登录", + "path": "/api/front/wechat/authorize/login", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35eb99bc7e8e560914fc81", + "name": "code", + "desc": "code" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"expiresTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"用户登录密钥到期时间\"\n },\n \"token\": {\n \"type\": \"string\",\n \"description\": \"用户登录密钥\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"title\": \"LoginResponse\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/LoginResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«LoginResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«LoginResponse»\"\n}", + "project_id": 56, + "catid": 4955, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/wechat/authorize/program/login", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7390, + "method": "POST", + "title": "微信登录小程序授权登录", + "path": "/api/front/wechat/authorize/program/login", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb99bc7e8e560914fc82", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb99bc7e8e560914fc83", + "name": "code", + "desc": "code" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"expiresTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"用户登录密钥到期时间\"\n },\n \"token\": {\n \"type\": \"string\",\n \"description\": \"用户登录密钥\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"title\": \"LoginResponse\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/LoginResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«LoginResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«LoginResponse»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"avatar\",\n \"nickName\",\n \"sex\",\n \"spread_spid\"\n ],\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"city\": {\n \"type\": \"string\",\n \"description\": \"普通用户个人资料填写的城市\"\n },\n \"country\": {\n \"type\": \"string\",\n \"description\": \"国家,如中国为CN\"\n },\n \"nickName\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"用户个人资料填写的省份\"\n },\n \"sex\": {\n \"type\": \"string\",\n \"description\": \"性别\"\n },\n \"spread_spid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n }\n },\n \"title\": \"RegisterThirdUserRequest对象\",\n \"description\": \"三方用户注册对象\",\n \"$$ref\": \"#/definitions/RegisterThirdUserRequest对象\"\n}", + "project_id": 56, + "catid": 4955, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/wechat/config", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7392, + "method": "GET", + "title": "获取微信公众号js配置", + "path": "/api/front/wechat/config", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb99bc7e8e560914fc84", + "name": "url", + "desc": "页面地址url" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 4955, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/wechat/authorize/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7386, + "method": "GET", + "title": "获取授权页面跳转地址", + "path": "/api/front/wechat/authorize/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 4955, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/wechat/info/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7396, + "method": "GET", + "title": "详情", + "path": "/api/front/wechat/info/{id}", + "req_params": [ + { + "_id": "5f35eb99bc7e8e560914fc85", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"description\": \"回复内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"添加时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"模板id\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"模板名\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态\"\n },\n \"tempId\": {\n \"type\": \"string\",\n \"description\": \"模板ID\"\n },\n \"tempKey\": {\n \"type\": \"string\",\n \"description\": \"模板编号\"\n },\n \"type\": {\n \"type\": \"boolean\",\n \"description\": \"0=订阅消息,1=微信模板消息\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n }\n },\n \"title\": \"TemplateMessage对象\",\n \"description\": \"微信模板\",\n \"$$ref\": \"#/definitions/TemplateMessage对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«TemplateMessage对象»\",\n \"$$ref\": \"#/definitions/CommonResult«TemplateMessage对象»\"\n}", + "project_id": 56, + "catid": 4955, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "提货点", + "desc": "Store Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/store/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7350, + "method": "POST", + "title": "附近的提货点", + "path": "/api/front/store/list", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb98bc7e8e560914fc6a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc6e", + "name": "latitude", + "desc": "经度" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc6d", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc6c", + "name": "longitude", + "desc": "纬度" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc6b", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"required\": [\n \"list\"\n ],\n \"properties\": {\n \"list\": {\n \"type\": \"array\",\n \"description\": \"附近的门店列表\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"address\": {\n \"type\": \"string\",\n \"description\": \"省市区\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"dayTime\": {\n \"type\": \"string\",\n \"description\": \"每日营业开关时间\"\n },\n \"detailedAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"distance\": {\n \"type\": \"string\",\n \"description\": \"距离,单位米\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"门店logo\"\n },\n \"introduction\": {\n \"type\": \"string\",\n \"description\": \"简介\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"门店名称\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"修改时间\"\n },\n \"validTime\": {\n \"type\": \"string\",\n \"description\": \"核销有效日期\"\n }\n },\n \"title\": \"SystemStoreNearVo对象\",\n \"description\": \"门店自提\",\n \"$$ref\": \"#/definitions/SystemStoreNearVo对象\"\n }\n },\n \"tengXunMapKey\": {\n \"type\": \"string\",\n \"description\": \"腾讯地图key\"\n }\n },\n \"title\": \"StoreNearRequest对象\",\n \"description\": \"附近的门店\",\n \"$$ref\": \"#/definitions/StoreNearRequest对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«StoreNearRequest对象»\",\n \"$$ref\": \"#/definitions/CommonResult«StoreNearRequest对象»\"\n}", + "project_id": 56, + "catid": 4964, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "文章", + "desc": "Article Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/article/category/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7208, + "method": "GET", + "title": "分类列表", + "path": "/api/front/article/category/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"child\": {\n \"type\": \"array\",\n \"items\": {\n \"originalRef\": \"CategoryTreeVo\",\n \"$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"CategoryTreeVo\",\n \"$$ref\": \"#/definitions/CategoryTreeVo\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«CategoryTreeVo»\",\n \"$$ref\": \"#/definitions/CommonPage«CategoryTreeVo»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«CategoryTreeVo»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«CategoryTreeVo»»\"\n}", + "project_id": 56, + "catid": 4973, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/article/list/{cid}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7214, + "method": "GET", + "title": "分页列表", + "path": "/api/front/article/list/{cid}", + "req_params": [ + { + "_id": "5f35eb92bc7e8e560914fc00", + "name": "cid", + "desc": "cid" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fc02", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fc01", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"categoryName\": {\n \"type\": \"string\",\n \"description\": \"分类\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"hide\": {\n \"type\": \"boolean\",\n \"description\": \"是否隐藏\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"文章管理ID\"\n },\n \"imageInput\": {\n \"type\": \"array\",\n \"description\": \"文章图片 前端用\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"imageInputs\": {\n \"type\": \"string\",\n \"description\": \"文章图片 后端用\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热门(小程序)\"\n },\n \"mediaId\": {\n \"type\": \"string\",\n \"description\": \"微信素材媒体id\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品关联id\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n },\n \"visit\": {\n \"type\": \"string\",\n \"description\": \"浏览次数\"\n }\n },\n \"title\": \"ArticleVo对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleVo对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ArticleVo对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ArticleVo对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ArticleVo对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ArticleVo对象»»\"\n}", + "project_id": 56, + "catid": 4973, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/article/hot/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7210, + "method": "GET", + "title": "热门列表", + "path": "/api/front/article/hot/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"categoryName\": {\n \"type\": \"string\",\n \"description\": \"分类\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"hide\": {\n \"type\": \"boolean\",\n \"description\": \"是否隐藏\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"文章管理ID\"\n },\n \"imageInput\": {\n \"type\": \"array\",\n \"description\": \"文章图片 前端用\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"imageInputs\": {\n \"type\": \"string\",\n \"description\": \"文章图片 后端用\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热门(小程序)\"\n },\n \"mediaId\": {\n \"type\": \"string\",\n \"description\": \"微信素材媒体id\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品关联id\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n },\n \"visit\": {\n \"type\": \"string\",\n \"description\": \"浏览次数\"\n }\n },\n \"title\": \"ArticleVo对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleVo对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ArticleVo对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ArticleVo对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ArticleVo对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ArticleVo对象»»\"\n}", + "project_id": 56, + "catid": 4973, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/article/info", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7212, + "method": "GET", + "title": "详情", + "path": "/api/front/article/info", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fbff", + "name": "id", + "desc": "文章ID" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"categoryName\": {\n \"type\": \"string\",\n \"description\": \"分类\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"hide\": {\n \"type\": \"boolean\",\n \"description\": \"是否隐藏\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"文章管理ID\"\n },\n \"imageInput\": {\n \"type\": \"array\",\n \"description\": \"文章图片 前端用\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"imageInputs\": {\n \"type\": \"string\",\n \"description\": \"文章图片 后端用\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热门(小程序)\"\n },\n \"mediaId\": {\n \"type\": \"string\",\n \"description\": \"微信素材媒体id\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品关联id\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n },\n \"visit\": {\n \"type\": \"string\",\n \"description\": \"浏览次数\"\n }\n },\n \"title\": \"ArticleVo对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleVo对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«ArticleVo对象»\",\n \"$$ref\": \"#/definitions/CommonResult«ArticleVo对象»\"\n}", + "project_id": 56, + "catid": 4973, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/article/banner/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7206, + "method": "GET", + "title": "轮播列表", + "path": "/api/front/article/banner/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"adminId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员id\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"文章作者\"\n },\n \"categoryName\": {\n \"type\": \"string\",\n \"description\": \"分类\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"文章内容\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"hide\": {\n \"type\": \"boolean\",\n \"description\": \"是否隐藏\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"文章管理ID\"\n },\n \"imageInput\": {\n \"type\": \"array\",\n \"description\": \"文章图片 前端用\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"imageInputs\": {\n \"type\": \"string\",\n \"description\": \"文章图片 后端用\"\n },\n \"isBanner\": {\n \"type\": \"boolean\",\n \"description\": \"是否轮播图(小程序)\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热门(小程序)\"\n },\n \"mediaId\": {\n \"type\": \"string\",\n \"description\": \"微信素材媒体id\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品关联id\"\n },\n \"shareSynopsis\": {\n \"type\": \"string\",\n \"description\": \"文章分享简介\"\n },\n \"shareTitle\": {\n \"type\": \"string\",\n \"description\": \"文章分享标题\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态\"\n },\n \"synopsis\": {\n \"type\": \"string\",\n \"description\": \"文章简介\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"文章标题\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"原文链接\"\n },\n \"visit\": {\n \"type\": \"string\",\n \"description\": \"浏览次数\"\n }\n },\n \"title\": \"ArticleVo对象\",\n \"description\": \"文章管理表\",\n \"$$ref\": \"#/definitions/ArticleVo对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«ArticleVo对象»\",\n \"$$ref\": \"#/definitions/CommonPage«ArticleVo对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«ArticleVo对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«ArticleVo对象»»\"\n}", + "project_id": 56, + "catid": 4973, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "物流公司", + "desc": "Express Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/logistics", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7270, + "method": "GET", + "title": "列表", + "path": "/api/front/logistics", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n \"description\": \"快递公司简称\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"快递公司id\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"快递公司全称\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n }\n },\n \"title\": \"Express对象\",\n \"description\": \"快递公司表\",\n \"$$ref\": \"#/definitions/Express对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«Express对象»\",\n \"$$ref\": \"#/definitions/CommonPage«Express对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«Express对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«Express对象»»\"\n}", + "project_id": 56, + "catid": 4982, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "用户 -- 充值", + "desc": "User Recharge Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/recharge/transferIn", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7326, + "method": "POST", + "title": "余额转入", + "path": "/api/front/recharge/transferIn", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc53", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc54", + "name": "price", + "desc": "price" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 56, + "catid": 4991, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/recharge/index", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7322, + "method": "GET", + "title": "充值额度选择", + "path": "/api/front/recharge/index", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"giveMoney\": {\n \"type\": \"string\",\n \"description\": \"赠送金额\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"充值模板id\"\n },\n \"price\": {\n \"type\": \"string\",\n \"description\": \"充值金额\"\n }\n },\n \"title\": \"UserRechargeResponse对象\",\n \"description\": \"c\",\n \"$$ref\": \"#/definitions/UserRechargeResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserRechargeResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserRechargeResponse对象»\"\n}", + "project_id": 56, + "catid": 4991, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/recharge/wechat", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7328, + "method": "POST", + "title": "公众号充值", + "path": "/api/front/recharge/wechat", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc55", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"appId\": {\n \"type\": \"string\",\n \"description\": \"调用接口提交的公众账号ID\"\n },\n \"h5PayUrl\": {\n \"type\": \"string\",\n \"description\": \"H5支付的跳转url\"\n },\n \"nonceStr\": {\n \"type\": \"string\",\n \"description\": \"随机字符串\"\n },\n \"package\": {\n \"type\": \"string\",\n \"description\": \"订单详情扩展字符串\"\n },\n \"paySign\": {\n \"type\": \"string\",\n \"description\": \"签名\"\n },\n \"prepayId\": {\n \"type\": \"string\",\n \"description\": \"微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时,针对H5支付此参数无特殊用途\"\n },\n \"signType\": {\n \"type\": \"string\",\n \"description\": \"签名方式\"\n },\n \"timeStamp\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"当前的时间,其他详见时间戳规则\"\n }\n },\n \"title\": \"UserRechargePaymentResponse对象\",\n \"description\": \"充值返回对象\",\n \"$$ref\": \"#/definitions/UserRechargePaymentResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserRechargePaymentResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserRechargePaymentResponse对象»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\",\n \"description\": \"来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式| weixin = 微信,alipay = 支付宝\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"充值金额\"\n },\n \"rechar_id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"选择金额组合数据id\"\n }\n },\n \"title\": \"UserRechargeRequest对象\",\n \"description\": \"充值\",\n \"$$ref\": \"#/definitions/UserRechargeRequest对象\"\n}", + "project_id": 56, + "catid": 4991, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/recharge/routine", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7324, + "method": "POST", + "title": "小程序充值", + "path": "/api/front/recharge/routine", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc52", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,object»»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\",\n \"description\": \"来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式| weixin = 微信,alipay = 支付宝\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"充值金额\"\n },\n \"rechar_id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"选择金额组合数据id\"\n }\n },\n \"title\": \"UserRechargeRequest对象\",\n \"description\": \"充值\",\n \"$$ref\": \"#/definitions/UserRechargeRequest对象\"\n}", + "project_id": 56, + "catid": 4991, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "用户 -- 地址", + "desc": "User Address Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/address/edit", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7202, + "method": "POST", + "title": "保存", + "path": "/api/front/address/edit", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb92bc7e8e560914fbfc", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"description\": \"是否默认\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"postCode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"邮编\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserAddress对象\",\n \"description\": \"用户地址表\",\n \"$$ref\": \"#/definitions/UserAddress对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserAddress对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserAddress对象»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"address\",\n \"detail\",\n \"isDefault\",\n \"phone\",\n \"realName\"\n ],\n \"properties\": {\n \"address\": {\n \"type\": \"object\",\n \"required\": [\n \"city\",\n \"district\",\n \"province\"\n ],\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n }\n },\n \"title\": \"UserAddressCityRequest对象\",\n \"description\": \"用户地址城市\",\n \"$$ref\": \"#/definitions/UserAddressCityRequest对象\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"example\": false,\n \"description\": \"是否默认\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n }\n },\n \"title\": \"UserAddressRequest对象\",\n \"description\": \"用户地址\",\n \"$$ref\": \"#/definitions/UserAddressRequest对象\"\n}", + "project_id": 56, + "catid": 5000, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/address/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7204, + "method": "GET", + "title": "列表", + "path": "/api/front/address/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fbfe", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fbfd", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"description\": \"是否默认\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"postCode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"邮编\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserAddress对象\",\n \"description\": \"用户地址表\",\n \"$$ref\": \"#/definitions/UserAddress对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserAddress对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserAddress对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserAddress对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserAddress对象»»\"\n}", + "project_id": 56, + "catid": 5000, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/address/del", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7198, + "method": "POST", + "title": "删除", + "path": "/api/front/address/del", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb92bc7e8e560914fbfa", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n }\n },\n \"title\": \"UserAddressDelRequest对象\",\n \"description\": \"用户地址\",\n \"$$ref\": \"#/definitions/UserAddressDelRequest对象\"\n}", + "project_id": 56, + "catid": 5000, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/address/detail/{id}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7200, + "method": "GET", + "title": "获取单个地址", + "path": "/api/front/address/detail/{id}", + "req_params": [ + { + "_id": "5f35eb92bc7e8e560914fbfb", + "name": "id", + "desc": "id" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"description\": \"是否默认\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"postCode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"邮编\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserAddress对象\",\n \"description\": \"用户地址表\",\n \"$$ref\": \"#/definitions/UserAddress对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserAddress对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserAddress对象»\"\n}", + "project_id": 56, + "catid": 5000, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/address/default", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7194, + "method": "GET", + "title": "获取默认地址", + "path": "/api/front/address/default", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"description\": \"是否默认\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"postCode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"邮编\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserAddress对象\",\n \"description\": \"用户地址表\",\n \"$$ref\": \"#/definitions/UserAddress对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserAddress对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserAddress对象»\"\n}", + "project_id": 56, + "catid": 5000, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/address/default/set", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7196, + "method": "POST", + "title": "设置默认地址", + "path": "/api/front/address/default/set", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb92bc7e8e560914fbf9", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"description\": \"是否默认\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"postCode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"邮编\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserAddress对象\",\n \"description\": \"用户地址表\",\n \"$$ref\": \"#/definitions/UserAddress对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserAddress对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserAddress对象»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n }\n },\n \"title\": \"UserAddressDelRequest对象\",\n \"description\": \"用户地址\",\n \"$$ref\": \"#/definitions/UserAddressDelRequest对象\"\n}", + "project_id": 56, + "catid": 5000, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "用户 -- 点赞/收藏", + "desc": "User Collect Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/collect/del", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7240, + "method": "POST", + "title": "取消收藏产品", + "path": "/api/front/collect/del", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc18", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"category\": {\n \"type\": \"string\",\n \"description\": \"产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n }\n },\n \"title\": \"UserCollectRequest对象\",\n \"description\": \"商品点赞和收藏表\",\n \"$$ref\": \"#/definitions/UserCollectRequest对象\"\n}", + "project_id": 56, + "catid": 5009, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/collect/all", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7238, + "method": "POST", + "title": "批量收藏", + "path": "/api/front/collect/all", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc17", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"category\": {\n \"type\": \"string\",\n \"description\": \"产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)\"\n },\n \"id\": {\n \"type\": \"array\",\n \"description\": \"商品ID\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n }\n },\n \"title\": \"StoreProductRelationRequest对象\",\n \"description\": \"商品点赞和收藏表\",\n \"$$ref\": \"#/definitions/StoreProductRelationRequest对象\"\n}", + "project_id": 56, + "catid": 5009, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/collect/add", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7236, + "method": "POST", + "title": "添加收藏产品", + "path": "/api/front/collect/add", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc16", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"category\": {\n \"type\": \"string\",\n \"description\": \"产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n }\n },\n \"title\": \"UserCollectRequest对象\",\n \"description\": \"商品点赞和收藏表\",\n \"$$ref\": \"#/definitions/UserCollectRequest对象\"\n}", + "project_id": 56, + "catid": 5009, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/collect/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7242, + "method": "GET", + "title": "获取收藏产品", + "path": "/api/front/collect/user", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb93bc7e8e560914fc1a", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb93bc7e8e560914fc19", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"string\",\n \"description\": \"活动显示排序1=秒杀,2=砍价,3=拼团\"\n },\n \"addTime\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"添加时间\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"browse\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"浏览量\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"codePath\": {\n \"type\": \"string\",\n \"description\": \"商品二维码地址(用户小程序海报)\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"ficti\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"虚拟销量\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isBargain\": {\n \"type\": \"boolean\",\n \"description\": \"砍价状态 0未开启 1开启\"\n },\n \"isBenefit\": {\n \"type\": \"boolean\",\n \"description\": \"是否优惠\"\n },\n \"isBest\": {\n \"type\": \"boolean\",\n \"description\": \"是否精品\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isGood\": {\n \"type\": \"boolean\",\n \"description\": \"是否优品推荐\"\n },\n \"isHot\": {\n \"type\": \"boolean\",\n \"description\": \"是否热卖\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否新品\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSeckill\": {\n \"type\": \"boolean\",\n \"description\": \"秒杀状态 0 未开启 1已开启\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"状态(0:未上架,1:上架)\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"merUse\": {\n \"type\": \"boolean\",\n \"description\": \"商户是否代理 0不可代理1可代理\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"soureLink\": {\n \"type\": \"string\",\n \"description\": \"淘宝京东1688类型\"\n },\n \"specType\": {\n \"type\": \"boolean\",\n \"description\": \"规格 0单 1多\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"videoLink\": {\n \"type\": \"string\",\n \"description\": \"主图视频链接\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProduct对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/StoreProduct对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«StoreProduct对象»\",\n \"$$ref\": \"#/definitions/CommonPage«StoreProduct对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«StoreProduct对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«StoreProduct对象»»\"\n}", + "project_id": 56, + "catid": 5009, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "用户 -- 用户中心", + "desc": "User Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/user/level/grade", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7362, + "method": "GET", + "title": "会员等级列表", + "path": "/api/front/user/level/grade", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"discount\": {\n \"type\": \"number\",\n \"description\": \"享受折扣\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"购买金额|经验达到\"\n },\n \"grade\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"会员等级\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"会员图标\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"会员卡背景\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除.1=删除,0=未删除\"\n },\n \"isShow\": {\n \"type\": \"boolean\",\n \"description\": \"是否显示 1=显示,0=隐藏\"\n },\n \"memo\": {\n \"type\": \"string\",\n \"description\": \"说明\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"会员名称\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"SystemUserLevel对象\",\n \"description\": \"设置用户等级表\",\n \"$$ref\": \"#/definitions/SystemUserLevel对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemUserLevel对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemUserLevel对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemUserLevel对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/brokerage_rank", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7218, + "method": "GET", + "title": "佣金排行", + "path": "/api/front/brokerage_rank", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fc06", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb92bc7e8e560914fc05", + "name": "page", + "desc": "页码" + }, + { + "required": "1", + "_id": "5f35eb92bc7e8e560914fc04", + "name": "type", + "desc": "type" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«User对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«User对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/edit", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7358, + "method": "POST", + "title": "修改个人资料", + "path": "/api/front/user/edit", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb98bc7e8e560914fc70", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n }\n },\n \"title\": \"UserEditRequest对象\",\n \"description\": \"修改个人资料\",\n \"$$ref\": \"#/definitions/UserEditRequest对象\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/brokerageRankNumber", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7356, + "method": "GET", + "title": "当前用户在佣金排行第几名", + "path": "/api/front/user/brokerageRankNumber", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "1", + "_id": "5f35eb98bc7e8e560914fc6f", + "name": "type", + "desc": "type" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«int»\",\n \"$$ref\": \"#/definitions/CommonResult«int»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/userinfo", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7384, + "method": "GET", + "title": "当前登录用户信息", + "path": "/api/front/userinfo", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«User对象»\",\n \"$$ref\": \"#/definitions/CommonResult«User对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/register/reset", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7330, + "method": "POST", + "title": "手机号修改密码", + "path": "/api/front/register/reset", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc56", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"account\",\n \"captcha\",\n \"password\"\n ],\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"手机号\"\n },\n \"captcha\": {\n \"type\": \"string\",\n \"description\": \"验证码\"\n },\n \"password\": {\n \"type\": \"string\",\n \"description\": \"密码\"\n }\n },\n \"title\": \"PasswordRequest对象\",\n \"description\": \"修改密码\",\n \"$$ref\": \"#/definitions/PasswordRequest对象\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/rank", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7320, + "method": "GET", + "title": "推广人排行", + "path": "/api/front/rank", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc51", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc50", + "name": "page", + "desc": "页码" + }, + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc4f", + "name": "type", + "desc": "type" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«User对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«User对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/spread/count/{type}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7344, + "method": "GET", + "title": "推广佣金/提现总和", + "path": "/api/front/spread/count/{type}", + "req_params": [ + { + "_id": "5f35eb97bc7e8e560914fc61", + "name": "type", + "desc": "类型 佣金类型3=佣金,4=提现" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"number\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,bigdecimal»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,bigdecimal»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/spread/commission/{type}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7342, + "method": "GET", + "title": "推广佣金明细", + "path": "/api/front/spread/commission/{type}", + "req_params": [ + { + "_id": "5f35eb97bc7e8e560914fc5e", + "name": "type", + "desc": "类型 佣金类型|0=全部,1=消费,2=充值,3=返佣,4=提现" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc60", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc5f", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"date\": {\n \"type\": \"string\",\n \"description\": \"月份\"\n },\n \"list\": {\n \"type\": \"array\",\n \"description\": \"数据\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"add_time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"剩余\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"明细种类\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户账单id\"\n },\n \"linkId\": {\n \"type\": \"string\",\n \"description\": \"关联id\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"明细数字\"\n },\n \"pm\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 支出 1 = 获得\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 带确定 1 = 有效 -1 = 无效\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"账单标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"明细类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserBill对象\",\n \"description\": \"用户账单表\",\n \"$$ref\": \"#/definitions/UserBill对象\"\n }\n }\n },\n \"title\": \"UserSpreadCommissionResponse对象\",\n \"description\": \"推广佣金明细\",\n \"$$ref\": \"#/definitions/UserSpreadCommissionResponse对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserSpreadCommissionResponse对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserSpreadCommissionResponse对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserSpreadCommissionResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserSpreadCommissionResponse对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/commission", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7244, + "method": "GET", + "title": "推广数据接口(昨天的佣金 累计提现金额 当前佣金)", + "path": "/api/front/commission", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"commissionCount\": {\n \"type\": \"number\",\n \"description\": \"当前佣金\"\n },\n \"extractCount\": {\n \"type\": \"number\",\n \"description\": \"累计提现金额\"\n },\n \"lastDayCount\": {\n \"type\": \"number\",\n \"description\": \"昨天的佣金\"\n }\n },\n \"title\": \"UserCommissionResponse对象\",\n \"description\": \"推广佣金明细\",\n \"$$ref\": \"#/definitions/UserCommissionResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserCommissionResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserCommissionResponse对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/spread/banner", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7380, + "method": "GET", + "title": "推广海报图", + "path": "/api/front/user/spread/banner", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb99bc7e8e560914fc7c", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb99bc7e8e560914fc7b", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"id\"\n },\n \"pic\": {\n \"type\": \"string\",\n \"description\": \"背景图\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"名称\"\n }\n },\n \"title\": \"UserSpreadBannerResponse对象\",\n \"description\": \"用户推广海报\",\n \"$$ref\": \"#/definitions/UserSpreadBannerResponse对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«UserSpreadBannerResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«UserSpreadBannerResponse对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/spread/people", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7348, + "method": "GET", + "title": "推广用户", + "path": "/api/front/spread/people", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc69", + "name": "grade", + "desc": "推荐人类型|0=一级|1=二级" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc68", + "name": "isAsc", + "desc": "排序值 DESC ASC" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc67", + "name": "keyword", + "desc": "搜索关键字" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc66", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc65", + "name": "page", + "desc": "页码" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc64", + "name": "sortKey", + "desc": "排序, 排序|childCount=团队排序,numberCount=金额排序,orderCount=订单排序" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"childCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人数\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"numberCount\": {\n \"type\": \"number\",\n \"description\": \"订单金额\"\n },\n \"orderCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单数量\"\n },\n \"time\": {\n \"type\": \"string\",\n \"description\": \"添加时间\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户编号\"\n }\n },\n \"title\": \"UserSpreadPeopleResponse对象\",\n \"description\": \"推广人信息\",\n \"$$ref\": \"#/definitions/UserSpreadPeopleResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserSpreadPeopleResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserSpreadPeopleResponse对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/spread/order", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7346, + "method": "GET", + "title": "推广订单", + "path": "/api/front/spread/order", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc63", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb97bc7e8e560914fc62", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"count\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"累计推广订单\"\n },\n \"list\": {\n \"type\": \"array\",\n \"description\": \"推广人列表\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"child\": {\n \"type\": \"array\",\n \"description\": \"推广订单信息\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"返佣金额\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"返佣时间\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"订单显示类型\"\n }\n },\n \"title\": \"UserSpreadOrderItemChildResponse对象\",\n \"description\": \"推广订单信息子集\",\n \"$$ref\": \"#/definitions/UserSpreadOrderItemChildResponse对象\"\n }\n },\n \"count\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广条数\"\n },\n \"time\": {\n \"type\": \"string\",\n \"description\": \"推广年月\"\n }\n },\n \"title\": \"UserSpreadOrderItemResponse对象\",\n \"description\": \"推广订单信息\",\n \"$$ref\": \"#/definitions/UserSpreadOrderItemResponse对象\"\n }\n }\n },\n \"title\": \"UserSpreadOrderResponse对象\",\n \"description\": \"推广订单\",\n \"$$ref\": \"#/definitions/UserSpreadOrderResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserSpreadOrderResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserSpreadOrderResponse对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/extract/cash", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7258, + "method": "POST", + "title": "提现申请", + "path": "/api/front/extract/cash", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb94bc7e8e560914fc22", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"alipayCode\": {\n \"type\": \"string\",\n \"description\": \"支付宝账号\"\n },\n \"bankname\": {\n \"type\": \"string\",\n \"description\": \"提现银行名称\"\n },\n \"cardum\": {\n \"type\": \"string\",\n \"description\": \"银行卡\"\n },\n \"extractType\": {\n \"type\": \"string\",\n \"description\": \"提现方式| alipay=支付宝,bank=银行卡,weixin=微信\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"提现金额\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"姓名\"\n },\n \"wechat\": {\n \"type\": \"string\",\n \"description\": \"微信号\"\n }\n },\n \"title\": \"UserExtractRequest对象\",\n \"description\": \"用户提现\",\n \"$$ref\": \"#/definitions/UserExtractRequest对象\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/extract/bank", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7256, + "method": "GET", + "title": "提现银行/提现最低金额", + "path": "/api/front/extract/bank", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"brokenCommission\": {\n \"type\": \"number\",\n \"description\": \"冻结佣金\"\n },\n \"brokenDay\": {\n \"type\": \"string\",\n \"description\": \"冻结天数\"\n },\n \"commissionCount\": {\n \"type\": \"number\",\n \"description\": \"可提现佣金\"\n },\n \"extractBank\": {\n \"type\": \"array\",\n \"description\": \"提现银行\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"minPrice\": {\n \"type\": \"string\",\n \"description\": \"提现最低金额\"\n }\n },\n \"title\": \"UserExtractCashResponse对象\",\n \"description\": \"提现银行/提现最低金额\",\n \"$$ref\": \"#/definitions/UserExtractCashResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserExtractCashResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserExtractCashResponse对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/balance", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7354, + "method": "GET", + "title": "用户资金统计", + "path": "/api/front/user/balance", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"当前总资金\"\n },\n \"orderStatusSum\": {\n \"type\": \"number\",\n \"description\": \"累计消费\"\n },\n \"recharge\": {\n \"type\": \"number\",\n \"description\": \"累计充值\"\n }\n },\n \"title\": \"UserBalanceResponse对象\",\n \"description\": \"用户资金统计\",\n \"$$ref\": \"#/definitions/UserBalanceResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserBalanceResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserBalanceResponse对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/integral/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7264, + "method": "GET", + "title": "积分记录", + "path": "/api/front/integral/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc27", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc26", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"add_time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"剩余\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"明细种类\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户账单id\"\n },\n \"linkId\": {\n \"type\": \"string\",\n \"description\": \"关联id\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"明细数字\"\n },\n \"pm\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 支出 1 = 获得\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 带确定 1 = 有效 -1 = 无效\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"账单标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"明细类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserBill对象\",\n \"description\": \"用户账单表\",\n \"$$ref\": \"#/definitions/UserBill对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserBill对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserBill对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserBill对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserBill对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/expList", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7360, + "method": "GET", + "title": "经验记录", + "path": "/api/front/user/expList", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc72", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc71", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"add_time\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"balance\": {\n \"type\": \"number\",\n \"description\": \"剩余\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"明细种类\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户账单id\"\n },\n \"linkId\": {\n \"type\": \"string\",\n \"description\": \"关联id\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"number\": {\n \"type\": \"number\",\n \"description\": \"明细数字\"\n },\n \"pm\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 支出 1 = 获得\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 = 带确定 1 = 有效 -1 = 无效\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"账单标题\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"明细类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户uid\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserBill对象\",\n \"description\": \"用户账单表\",\n \"$$ref\": \"#/definitions/UserBill对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserBill对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserBill对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserBill对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserBill对象»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/binding", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7216, + "method": "POST", + "title": "绑定手机号", + "path": "/api/front/binding", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb92bc7e8e560914fc03", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"account\",\n \"captcha\"\n ],\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"手机号\"\n },\n \"captcha\": {\n \"type\": \"string\",\n \"description\": \"验证码\"\n }\n },\n \"title\": \"UserBindingRequest对象\",\n \"description\": \"绑定手机号\",\n \"$$ref\": \"#/definitions/UserBindingRequest对象\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369234, + "up_time": 1597369234, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/menu/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7274, + "method": "GET", + "title": "获取个人中心菜单", + "path": "/api/front/menu/user", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,object»»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7352, + "method": "GET", + "title": "获取个人资料", + "path": "/api/front/user", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"couponCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户优惠券数量\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"orderStatusNum\": {\n \"type\": \"object\",\n \"properties\": {\n \"noBuy\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"未支付订单数量\"\n },\n \"noPink\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团的订单数量\"\n },\n \"noPostage\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"未发货订单数量\"\n },\n \"noRefund\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"退款的订单数量\"\n },\n \"noReply\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"未评论订单数量\"\n },\n \"noTake\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"未收货订单数量\"\n }\n },\n \"title\": \"UserCenterOrderStatusNumResponse对象\",\n \"description\": \"个人中心 -- 订单状态数量\",\n \"$$ref\": \"#/definitions/UserCenterOrderStatusNumResponse对象\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"pwd\": {\n \"type\": \"string\",\n \"description\": \"用户密码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广元id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n },\n \"vip\": {\n \"type\": \"boolean\",\n \"description\": \"是否会员\"\n },\n \"vipIcon\": {\n \"type\": \"string\",\n \"description\": \"会员图标\"\n },\n \"vipName\": {\n \"type\": \"string\",\n \"description\": \"会员名称\"\n }\n },\n \"title\": \"UserCenterResponse对象\",\n \"description\": \"个人中心\",\n \"$$ref\": \"#/definitions/UserCenterResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserCenterResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserCenterResponse对象»\"\n}", + "project_id": 56, + "catid": 5018, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "用户 -- 登录注册", + "desc": "Login Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/sendCode", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7338, + "method": "POST", + "title": " 发送短信", + "path": "/api/front/sendCode", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc5c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb97bc7e8e560914fc5d", + "name": "phone", + "desc": "手机号码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 5027, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/login/mobile", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7268, + "method": "POST", + "title": "手机号登录接口", + "path": "/api/front/login/mobile", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb94bc7e8e560914fc29", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"expiresTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"用户登录密钥到期时间\"\n },\n \"token\": {\n \"type\": \"string\",\n \"description\": \"用户登录密钥\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"title\": \"LoginResponse\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/LoginResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«LoginResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«LoginResponse»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"account\",\n \"captcha\"\n ],\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"手机号\"\n },\n \"captcha\": {\n \"type\": \"string\",\n \"description\": \"验证码\"\n },\n \"spread\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n }\n },\n \"title\": \"LoginMobileRequest对象\",\n \"description\": \"手机号注册\",\n \"$$ref\": \"#/definitions/LoginMobileRequest对象\"\n}", + "project_id": 56, + "catid": 5027, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/login", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7266, + "method": "POST", + "title": "账号密码登录", + "path": "/api/front/login", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb94bc7e8e560914fc28", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"expiresTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"用户登录密钥到期时间\"\n },\n \"token\": {\n \"type\": \"string\",\n \"description\": \"用户登录密钥\"\n },\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n }\n },\n \"title\": \"LoginResponse\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/LoginResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«LoginResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«LoginResponse»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"account\",\n \"password\"\n ],\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"example\": 18991352728,\n \"description\": \"手机号\"\n },\n \"password\": {\n \"type\": \"string\",\n \"example\": \"Abc123\",\n \"description\": \"密码\"\n }\n },\n \"title\": \"LoginRequest对象\",\n \"description\": \"手机快速登录\",\n \"$$ref\": \"#/definitions/LoginRequest对象\"\n}", + "project_id": 56, + "catid": 5027, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/logout", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7272, + "method": "GET", + "title": "退出", + "path": "/api/front/logout", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "project_id": 56, + "catid": 5027, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "用户 -- 签到", + "desc": "User Sign Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/user/sign/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7374, + "method": "GET", + "title": "分页列表", + "path": "/api/front/user/sign/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc77", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc76", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createDay\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"签到日期\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"获得积分\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"签到说明\"\n }\n },\n \"title\": \"UserSign对象\",\n \"description\": \"签到记录表\",\n \"$$ref\": \"#/definitions/UserSign对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserSign对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserSign对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserSign对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserSign对象»»\"\n}", + "project_id": 56, + "catid": 5036, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/sign/month", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7376, + "method": "GET", + "title": "分页列表", + "path": "/api/front/user/sign/month", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc79", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb98bc7e8e560914fc78", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"createDay\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"签到日期\"\n },\n \"number\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"获得积分\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"签到说明\"\n }\n },\n \"title\": \"UserSign对象\",\n \"description\": \"签到记录表\",\n \"$$ref\": \"#/definitions/UserSign对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«UserSign对象»\",\n \"$$ref\": \"#/definitions/CommonPage«UserSign对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«UserSign对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«UserSign对象»»\"\n}", + "project_id": 56, + "catid": 5036, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/sign/integral", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7372, + "method": "GET", + "title": "签到", + "path": "/api/front/user/sign/integral", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"day\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"第几天\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"经验\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"integral\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"积分\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"显示文字\"\n }\n },\n \"title\": \"SystemGroupDataSignConfigVo对象\",\n \"description\": \"签到记录\",\n \"$$ref\": \"#/definitions/SystemGroupDataSignConfigVo对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«SystemGroupDataSignConfigVo对象»\",\n \"$$ref\": \"#/definitions/CommonResult«SystemGroupDataSignConfigVo对象»\"\n}", + "project_id": 56, + "catid": 5036, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/sign/user", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7378, + "method": "POST", + "title": "签到用户信息", + "path": "/api/front/user/sign/user", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb99bc7e8e560914fc7a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"deductionIntegral\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"累计抵扣积分\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isDaySign\": {\n \"type\": \"boolean\",\n \"description\": \"今天是否签到\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"isYesterdaySign\": {\n \"type\": \"boolean\",\n \"description\": \"昨天是否签到\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"sumIntegral\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"累计总积分\"\n },\n \"sumSignDay\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"累计签到次数\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"yesterdayIntegral\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"昨天累计积分\"\n }\n },\n \"title\": \"UserSignInfoResponse对象\",\n \"description\": \"修改个人资料\",\n \"$$ref\": \"#/definitions/UserSignInfoResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«UserSignInfoResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«UserSignInfoResponse对象»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"all\": {\n \"type\": \"boolean\",\n \"description\": \"是否统计签到和统计积分使用情况|1=是,0=否\"\n },\n \"integral\": {\n \"type\": \"boolean\",\n \"description\": \"是否统计积分使用情况|1=是,0=否\"\n },\n \"sign\": {\n \"type\": \"boolean\",\n \"description\": \"是否统计签到|1=是,0=否\"\n }\n },\n \"title\": \"UserSignInfoRequest对象\",\n \"description\": \"个人签到信息\",\n \"$$ref\": \"#/definitions/UserSignInfoRequest对象\"\n}", + "project_id": 56, + "catid": 5036, + "uid": 93, + "add_time": 1597369241, + "up_time": 1597369241, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/sign/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7370, + "method": "GET", + "title": "详情", + "path": "/api/front/user/sign/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,object»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,object»»\"\n}", + "project_id": 56, + "catid": 5036, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/user/sign/config", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7368, + "method": "GET", + "title": "配置", + "path": "/api/front/user/sign/config", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"limit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"list\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"day\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"第几天\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"经验\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"integral\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"积分\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"显示文字\"\n }\n },\n \"title\": \"SystemGroupDataSignConfigVo对象\",\n \"description\": \"签到记录\",\n \"$$ref\": \"#/definitions/SystemGroupDataSignConfigVo对象\"\n }\n },\n \"page\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"totalPage\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"CommonPage«SystemGroupDataSignConfigVo对象»\",\n \"$$ref\": \"#/definitions/CommonPage«SystemGroupDataSignConfigVo对象»\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«CommonPage«SystemGroupDataSignConfigVo对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«CommonPage«SystemGroupDataSignConfigVo对象»»\"\n}", + "project_id": 56, + "catid": 5036, + "uid": 93, + "add_time": 1597369240, + "up_time": 1597369240, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "营销 -- 优惠券", + "desc": "User Coupon Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/coupon/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7246, + "method": "GET", + "title": "我的优惠券", + "path": "/api/front/coupon/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"primaryKey\"\n ],\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"cid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"兑换的项目id\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券发布id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"endTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"过期时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"id\"\n },\n \"isValid\": {\n \"type\": \"boolean\",\n \"description\": \"用户头像\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费多少金额可用优惠券\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"优惠券的面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"startTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"开始使用时间\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态(0:未使用,1:已使用, 2:已失效)\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"获取方式\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"领取人id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"useTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"使用时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCouponUserResponse对象\",\n \"description\": \"优惠券记录表\",\n \"$$ref\": \"#/definitions/StoreCouponUserResponse对象\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«StoreCouponUserResponse对象»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«StoreCouponUserResponse对象»»\"\n}", + "project_id": 56, + "catid": 5045, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/coupon/receive/batch", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7250, + "method": "POST", + "title": "批量领券", + "path": "/api/front/coupon/receive/batch", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc1c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"couponId\": {\n \"type\": \"array\",\n \"description\": \"优惠券id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n }\n },\n \"title\": \"UserCouponReceiveRequest对象\",\n \"description\": \"用户领券\",\n \"$$ref\": \"#/definitions/UserCouponReceiveRequest对象\"\n}", + "project_id": 56, + "catid": 5045, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/coupon/receive", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7248, + "method": "POST", + "title": "领券", + "path": "/api/front/coupon/receive", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb93bc7e8e560914fc1b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«string»\",\n \"$$ref\": \"#/definitions/CommonResult«string»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"couponId\": {\n \"type\": \"array\",\n \"description\": \"优惠券id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n }\n },\n \"title\": \"UserCouponReceiveRequest对象\",\n \"description\": \"用户领券\",\n \"$$ref\": \"#/definitions/UserCouponReceiveRequest对象\"\n}", + "project_id": 56, + "catid": 5045, + "uid": 93, + "add_time": 1597369235, + "up_time": 1597369235, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "订单", + "desc": "Store Order Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/order/again", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7276, + "method": "POST", + "title": "再次下单", + "path": "/api/front/order/again", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc2a", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"nui\": {\n \"type\": \"string\",\n \"description\": \"订单id\"\n }\n },\n \"title\": \"OrderAgainRequest\",\n \"$$ref\": \"#/definitions/OrderAgainRequest\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/del", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7290, + "method": "POST", + "title": "删除订单", + "path": "/api/front/order/del", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc35", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc36", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/product", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7300, + "method": "POST", + "title": "待评价商品信息查询", + "path": "/api/front/order/product", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc3d", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"orderId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n },\n \"uni\": {\n \"type\": \"string\",\n \"description\": \"商品attrid\"\n }\n },\n \"title\": \"GetProductReply\",\n \"$$ref\": \"#/definitions/GetProductReply\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/pay", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7298, + "method": "POST", + "title": "支付", + "path": "/api/front/order/pay", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc3c", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\",\n \"description\": \"支付平台\"\n },\n \"paytype\": {\n \"type\": \"string\",\n \"description\": \"支付类型\"\n },\n \"uni\": {\n \"type\": \"string\",\n \"description\": \"订单id\"\n }\n },\n \"title\": \"OrderPayRequest对象\",\n \"description\": \"订单支付\",\n \"$$ref\": \"#/definitions/OrderPayRequest对象\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/express/{orderId}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7294, + "method": "GET", + "title": "物流信息查询", + "path": "/api/front/order/express/{orderId}", + "req_params": [ + { + "_id": "5f35eb96bc7e8e560914fc38", + "name": "orderId", + "desc": "orderId" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/create/{key}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7286, + "method": "POST", + "title": "生成订单", + "path": "/api/front/order/create/{key}", + "req_params": [ + { + "_id": "5f35eb95bc7e8e560914fc33", + "name": "key", + "desc": "key" + } + ], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc34", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"isNew\"\n ],\n \"properties\": {\n \"addressId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"收货地址id\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"formId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"from\": {\n \"type\": \"string\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否为立即购买\"\n },\n \"mark\": {\n \"type\": \"string\"\n },\n \"payType\": {\n \"type\": \"string\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"pinkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实名称\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"shippingType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"快递类型\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"useIntegral\": {\n \"type\": \"boolean\"\n }\n },\n \"title\": \"OrderCreateRequest对象\",\n \"description\": \"创建订单参数\",\n \"$$ref\": \"#/definitions/OrderCreateRequest对象\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/confirm", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7284, + "method": "POST", + "title": "确认订单", + "path": "/api/front/order/confirm", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc30", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc32", + "name": "cartIds", + "desc": "cartIds" + }, + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc31", + "name": "isNew", + "desc": "isNew" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"addressInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"city\": {\n \"type\": \"string\",\n \"description\": \"收货人所在市\"\n },\n \"cityId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"城市id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"detail\": {\n \"type\": \"string\",\n \"description\": \"收货人详细地址\"\n },\n \"district\": {\n \"type\": \"string\",\n \"description\": \"收货人所在区\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户地址id\"\n },\n \"isDefault\": {\n \"type\": \"boolean\",\n \"description\": \"是否默认\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"latitude\": {\n \"type\": \"string\",\n \"description\": \"纬度\"\n },\n \"longitude\": {\n \"type\": \"string\",\n \"description\": \"经度\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"收货人电话\"\n },\n \"postCode\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"邮编\"\n },\n \"province\": {\n \"type\": \"string\",\n \"description\": \"收货人所在省\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"收货人姓名\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n }\n },\n \"title\": \"UserAddress对象\",\n \"description\": \"用户地址表\",\n \"$$ref\": \"#/definitions/UserAddress对象\"\n },\n \"cartInfo\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\"\n },\n \"attrStatus\": {\n \"type\": \"boolean\",\n \"description\": \"商品是否有效\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级分佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级分佣\"\n },\n \"cartNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品数量\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id\"\n },\n \"costPrice\": {\n \"type\": \"number\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"购物车表ID\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否为立即购买\"\n },\n \"isReply\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"productAttrUnique\": {\n \"type\": \"string\",\n \"description\": \"商品属性\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"productInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"string\",\n \"description\": \"产品属性值和属性名对应关系\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValue对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValue对象\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductCartProductInfoResponse对象\",\n \"description\": \"商品信息,购物车列表使用\",\n \"$$ref\": \"#/definitions/StoreProductCartProductInfoResponse对象\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"truePrice\": {\n \"type\": \"number\"\n },\n \"trueStock\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"vipTruePrice\": {\n \"type\": \"number\"\n }\n },\n \"title\": \"StoreCartResponse\",\n \"description\": \"购物车ListResponse\",\n \"$$ref\": \"#/definitions/StoreCartResponse\"\n }\n },\n \"deduction\": {\n \"type\": \"boolean\"\n },\n \"integralRatio\": {\n \"type\": \"string\"\n },\n \"offlinePayStatus\": {\n \"type\": \"string\"\n },\n \"offlinePostage\": {\n \"type\": \"string\"\n },\n \"orderKey\": {\n \"type\": \"string\"\n },\n \"other\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"payWeixinOpen\": {\n \"type\": \"string\"\n },\n \"priceGroup\": {\n \"type\": \"object\",\n \"properties\": {\n \"costPrice\": {\n \"type\": \"number\"\n },\n \"couponPrice\": {\n \"type\": \"number\"\n },\n \"deductionPrice\": {\n \"type\": \"number\"\n },\n \"payPostage\": {\n \"type\": \"number\"\n },\n \"payPrice\": {\n \"type\": \"number\"\n },\n \"storeFreePostage\": {\n \"type\": \"number\"\n },\n \"storePostage\": {\n \"type\": \"number\"\n },\n \"totalPrice\": {\n \"type\": \"number\"\n },\n \"usedIntegral\": {\n \"type\": \"number\"\n },\n \"vipPrice\": {\n \"type\": \"number\"\n }\n },\n \"title\": \"PriceGroupResponse\",\n \"$$ref\": \"#/definitions/PriceGroupResponse\"\n },\n \"storeSelfMention\": {\n \"type\": \"string\"\n },\n \"systemStore\": {\n \"type\": \"string\"\n },\n \"usableCoupon\": {\n \"type\": \"object\",\n \"required\": [\n \"primaryKey\"\n ],\n \"properties\": {\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"cid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"兑换的项目id\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券发布id\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"endTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"过期时间\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"id\"\n },\n \"isValid\": {\n \"type\": \"boolean\",\n \"description\": \"用户头像\"\n },\n \"minPrice\": {\n \"type\": \"number\",\n \"description\": \"最低消费多少金额可用优惠券\"\n },\n \"money\": {\n \"type\": \"number\",\n \"description\": \"优惠券的面值\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"优惠券名称\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"primaryKey\": {\n \"type\": \"string\",\n \"description\": \"主键id 商品id/分类id\"\n },\n \"startTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"开始使用时间\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"状态(0:未使用,1:已使用, 2:已失效)\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"获取方式\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"领取人id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"更新时间\"\n },\n \"useTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"使用时间\"\n },\n \"useType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"使用类型 1 全场通用, 2 商品券, 3 品类券\"\n }\n },\n \"title\": \"StoreCouponUserResponse对象\",\n \"description\": \"优惠券记录表\",\n \"$$ref\": \"#/definitions/StoreCouponUserResponse对象\"\n },\n \"userInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"account\": {\n \"type\": \"string\",\n \"description\": \"用户账号\"\n },\n \"addIp\": {\n \"type\": \"string\",\n \"description\": \"添加ip\"\n },\n \"addres\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"adminid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"管理员编号 \"\n },\n \"avatar\": {\n \"type\": \"string\",\n \"description\": \"用户头像\"\n },\n \"birthday\": {\n \"type\": \"string\",\n \"description\": \"生日\"\n },\n \"brokeragePrice\": {\n \"type\": \"number\",\n \"description\": \"佣金金额\"\n },\n \"cardId\": {\n \"type\": \"string\",\n \"description\": \"身份证号码\"\n },\n \"cleanTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"experience\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户剩余经验\"\n },\n \"groupId\": {\n \"type\": \"string\",\n \"description\": \"用户分组id\"\n },\n \"integral\": {\n \"type\": \"number\",\n \"description\": \"用户剩余积分\"\n },\n \"isPromoter\": {\n \"type\": \"boolean\",\n \"description\": \"是否为推广员\"\n },\n \"lastIp\": {\n \"type\": \"string\",\n \"description\": \"最后一次登录ip\"\n },\n \"lastLoginTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"最后一次登录时间\"\n },\n \"level\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"等级\"\n },\n \"loginType\": {\n \"type\": \"string\",\n \"description\": \"用户登陆类型,h5,wechat,routine\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"用户备注\"\n },\n \"nickname\": {\n \"type\": \"string\",\n \"description\": \"用户昵称\"\n },\n \"nowMoney\": {\n \"type\": \"number\",\n \"description\": \"用户余额\"\n },\n \"partnerId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"合伙人id\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"用户推广等级\"\n },\n \"payCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户购买次数\"\n },\n \"phone\": {\n \"type\": \"string\",\n \"description\": \"手机号码\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"真实姓名\"\n },\n \"signNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"连续签到天数\"\n },\n \"spreadCount\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"下级人数\"\n },\n \"spreadTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"推广员关联时间\"\n },\n \"spreadUid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"推广人id\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"1为正常,0为禁止\"\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注公众号\"\n },\n \"tagId\": {\n \"type\": \"string\",\n \"description\": \"用户标签id\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"updateTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"userType\": {\n \"type\": \"string\",\n \"description\": \"用户类型\"\n }\n },\n \"title\": \"User对象\",\n \"description\": \"用户表\",\n \"$$ref\": \"#/definitions/User对象\"\n },\n \"yuePayStatus\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"ConfirmOrderResponse\",\n \"$$ref\": \"#/definitions/ConfirmOrderResponse\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«ConfirmOrderResponse»\",\n \"$$ref\": \"#/definitions/CommonResult«ConfirmOrderResponse»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/computed/{key}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7282, + "method": "POST", + "title": "计算价格", + "path": "/api/front/order/computed/{key}", + "req_params": [ + { + "_id": "5f35eb95bc7e8e560914fc2e", + "name": "key", + "desc": "key" + } + ], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc2f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"addressId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"地址id\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券id\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付类型\"\n },\n \"shippingType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"快递类型\"\n },\n \"useIntegral\": {\n \"type\": \"boolean\",\n \"description\": \"抵扣积分\"\n }\n },\n \"title\": \"OrderComputedRequest\",\n \"$$ref\": \"#/definitions/OrderComputedRequest\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/list", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7296, + "method": "GET", + "title": "订单列表", + "path": "/api/front/order/list", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc3b", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb96bc7e8e560914fc3a", + "name": "page", + "desc": "页码" + }, + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc39", + "name": "type", + "desc": "评价等级|0=未支付,1=待发货,2=待收货,3=待评价,4=已完成" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\"\n },\n \"cartInfo\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"info\": {\n \"type\": \"object\",\n \"properties\": {\n \"addTime\": {\n \"type\": \"string\"\n },\n \"attrStatus\": {\n \"type\": \"boolean\",\n \"description\": \"商品是否有效\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级分佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级分佣\"\n },\n \"cartNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品数量\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id\"\n },\n \"costPrice\": {\n \"type\": \"number\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int64\",\n \"description\": \"购物车表ID\"\n },\n \"isNew\": {\n \"type\": \"boolean\",\n \"description\": \"是否为立即购买\"\n },\n \"isReply\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"productAttrUnique\": {\n \"type\": \"string\",\n \"description\": \"商品属性\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"productInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"attrValue\": {\n \"type\": \"string\",\n \"description\": \"产品属性值和属性名对应关系\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码\"\n },\n \"brokerage\": {\n \"type\": \"number\",\n \"description\": \"一级返佣\"\n },\n \"brokerageTwo\": {\n \"type\": \"number\",\n \"description\": \"二级返佣\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"attrId\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"原价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"属性金额\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"quota\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量\"\n },\n \"quotaShow\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动限购数量显示\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"属性对应的库存\"\n },\n \"suk\": {\n \"type\": \"string\",\n \"description\": \"商品属性索引值 (attr_value|attr_value[|....])\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"活动类型 0=商品,1=秒杀,2=砍价,3=拼团\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一值\"\n },\n \"volume\": {\n \"type\": \"number\",\n \"description\": \"体积\"\n },\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"重量\"\n }\n },\n \"title\": \"StoreProductAttrValue对象\",\n \"description\": \"商品属性值表\",\n \"$$ref\": \"#/definitions/StoreProductAttrValue对象\"\n },\n \"barCode\": {\n \"type\": \"string\",\n \"description\": \"商品条码(一维码)\"\n },\n \"cateId\": {\n \"type\": \"string\",\n \"description\": \"分类id\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"giveIntegral\": {\n \"type\": \"number\",\n \"description\": \"获得积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"isPostage\": {\n \"type\": \"boolean\",\n \"description\": \"是否包邮\"\n },\n \"isSub\": {\n \"type\": \"boolean\",\n \"description\": \"是否单独分佣\"\n },\n \"keyword\": {\n \"type\": \"string\",\n \"description\": \"关键字\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"postage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sliderImage\": {\n \"type\": \"string\",\n \"description\": \"轮播图\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeInfo\": {\n \"type\": \"string\",\n \"description\": \"商品简介\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"tempId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"运费模板ID\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n },\n \"vipPrice\": {\n \"type\": \"number\",\n \"description\": \"会员价格\"\n }\n },\n \"title\": \"StoreProductCartProductInfoResponse对象\",\n \"description\": \"商品信息,购物车列表使用\",\n \"$$ref\": \"#/definitions/StoreProductCartProductInfoResponse对象\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"truePrice\": {\n \"type\": \"number\"\n },\n \"trueStock\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"类型\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户ID\"\n },\n \"vipTruePrice\": {\n \"type\": \"number\"\n }\n },\n \"title\": \"StoreCartResponse\",\n \"description\": \"购物车ListResponse\",\n \"$$ref\": \"#/definitions/StoreCartResponse\"\n },\n \"orderId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品ID\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一id\"\n }\n },\n \"title\": \"StoreOrderInfoVo对象\",\n \"description\": \"订单购物详情表\",\n \"$$ref\": \"#/definitions/StoreOrderInfoVo对象\"\n }\n },\n \"offlinePayStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"payTime\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"object\",\n \"properties\": {\n \"deliveryType\": {\n \"type\": \"string\"\n },\n \"msg\": {\n \"type\": \"string\"\n },\n \"payType\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"title\": \"OrderAgainItemVo\",\n \"$$ref\": \"#/definitions/OrderAgainItemVo\"\n },\n \"statusPic\": {\n \"type\": \"string\"\n },\n \"storeOrder\": {\n \"type\": \"object\",\n \"properties\": {\n \"backIntegral\": {\n \"type\": \"number\",\n \"description\": \"给用户退了多少积分\"\n },\n \"bargainId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"砍价id\"\n },\n \"clerkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"店员id\"\n },\n \"combinationId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团商品id0一般商品\"\n },\n \"cost\": {\n \"type\": \"number\",\n \"description\": \"成本价\"\n },\n \"couponId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"优惠券id\"\n },\n \"couponPrice\": {\n \"type\": \"number\",\n \"description\": \"优惠券金额\"\n },\n \"createTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"创建时间\"\n },\n \"deductionPrice\": {\n \"type\": \"number\",\n \"description\": \"抵扣金额\"\n },\n \"deliveryId\": {\n \"type\": \"string\",\n \"description\": \"快递单号/手机号\"\n },\n \"deliveryName\": {\n \"type\": \"string\",\n \"description\": \"快递名称/送货人姓名\"\n },\n \"deliveryType\": {\n \"type\": \"string\",\n \"description\": \"发货类型\"\n },\n \"freightPrice\": {\n \"type\": \"number\",\n \"description\": \"运费金额\"\n },\n \"gainIntegral\": {\n \"type\": \"number\",\n \"description\": \"消费赚取积分\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID\"\n },\n \"isChannel\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"支付渠道(0微信公众号1微信小程序)\"\n },\n \"isDel\": {\n \"type\": \"boolean\",\n \"description\": \"是否删除\"\n },\n \"isMerCheck\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"isRemind\": {\n \"type\": \"boolean\",\n \"description\": \"消息提醒\"\n },\n \"isSystemDel\": {\n \"type\": \"boolean\",\n \"description\": \"后台是否删除\"\n },\n \"mark\": {\n \"type\": \"string\",\n \"description\": \"备注\"\n },\n \"merId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商户ID\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"订单号\"\n },\n \"paid\": {\n \"type\": \"boolean\",\n \"description\": \"支付状态\"\n },\n \"payPostage\": {\n \"type\": \"number\",\n \"description\": \"支付邮费\"\n },\n \"payPrice\": {\n \"type\": \"number\",\n \"description\": \"实际支付金额\"\n },\n \"payTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"支付时间\"\n },\n \"payType\": {\n \"type\": \"string\",\n \"description\": \"支付方式\"\n },\n \"pinkId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"拼团id 0没有拼团\"\n },\n \"realName\": {\n \"type\": \"string\",\n \"description\": \"用户姓名\"\n },\n \"refundPrice\": {\n \"type\": \"number\",\n \"description\": \"退款金额\"\n },\n \"refundReason\": {\n \"type\": \"string\",\n \"description\": \"不退款的理由\"\n },\n \"refundReasonTime\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"description\": \"退款时间\"\n },\n \"refundReasonWap\": {\n \"type\": \"string\",\n \"description\": \"前台退款原因\"\n },\n \"refundReasonWapExplain\": {\n \"type\": \"string\",\n \"description\": \"退款用户说明\"\n },\n \"refundReasonWapImg\": {\n \"type\": \"string\",\n \"description\": \"退款图片\"\n },\n \"refundStatus\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"0 未退款 1 申请中 2 已退款\"\n },\n \"remark\": {\n \"type\": \"string\",\n \"description\": \"管理员备注\"\n },\n \"seckillId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"秒杀商品ID\"\n },\n \"shippingType\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"配送方式 1=快递 ,2=门店自提\"\n },\n \"status\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)\"\n },\n \"storeId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"门店id\"\n },\n \"totalNum\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单商品总数\"\n },\n \"totalPostage\": {\n \"type\": \"number\",\n \"description\": \"邮费\"\n },\n \"totalPrice\": {\n \"type\": \"number\",\n \"description\": \"订单总价\"\n },\n \"uid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"唯一id(md5加密)类似id\"\n },\n \"useIntegral\": {\n \"type\": \"number\",\n \"description\": \"使用积分\"\n },\n \"userAddress\": {\n \"type\": \"string\",\n \"description\": \"详细地址\"\n },\n \"userPhone\": {\n \"type\": \"string\",\n \"description\": \"用户电话\"\n },\n \"verifyCode\": {\n \"type\": \"string\",\n \"description\": \"核销码\"\n }\n },\n \"title\": \"StoreOrder对象\",\n \"description\": \"订单表\",\n \"$$ref\": \"#/definitions/StoreOrder对象\"\n }\n },\n \"title\": \"OrderAgainVo\",\n \"$$ref\": \"#/definitions/OrderAgainVo\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«OrderAgainVo»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«OrderAgainVo»»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/cancel", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7278, + "method": "POST", + "title": "订单取消", + "path": "/api/front/order/cancel", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc2b", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc2c", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/data", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7288, + "method": "GET", + "title": "订单头部数量", + "path": "/api/front/order/data", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/take", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7308, + "method": "POST", + "title": "订单收货", + "path": "/api/front/order/take", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc40", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc41", + "name": "id", + "desc": "id" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/detail/{orderId}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7292, + "method": "GET", + "title": "订单详情", + "path": "/api/front/order/detail/{orderId}", + "req_params": [ + { + "_id": "5f35eb95bc7e8e560914fc37", + "name": "orderId", + "desc": "orderId" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/refund/reason", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7304, + "method": "GET", + "title": "订单退款理由", + "path": "/api/front/order/refund/reason", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/refund", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7302, + "method": "POST", + "title": "订单退款申请", + "path": "/api/front/order/refund", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc3e", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"id\",\n \"text\"\n ],\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单id\"\n },\n \"refund_reason_wap_explain\": {\n \"type\": \"string\",\n \"description\": \"备注说明\"\n },\n \"refund_reason_wap_img\": {\n \"type\": \"string\",\n \"description\": \"退款凭证(多个图片请用,(英文逗号)隔开)\"\n },\n \"text\": {\n \"type\": \"string\",\n \"description\": \"退款原因\"\n }\n },\n \"title\": \"OrderRefundApplyRequest对象\",\n \"description\": \"订单申请退款\",\n \"$$ref\": \"#/definitions/OrderRefundApplyRequest对象\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/comment", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7280, + "method": "POST", + "title": "评价订单", + "path": "/api/front/order/comment", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb95bc7e8e560914fc2d", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"boolean\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«boolean»\",\n \"$$ref\": \"#/definitions/CommonResult«boolean»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"required\": [\n \"comment\",\n \"pics\",\n \"productId\",\n \"productScore\",\n \"serviceScore\"\n ],\n \"properties\": {\n \"comment\": {\n \"type\": \"string\",\n \"description\": \"评论内容\"\n },\n \"oid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"订单ID, 移动端必须传递此参数\"\n },\n \"pics\": {\n \"type\": \"string\",\n \"description\": \"评论图片\"\n },\n \"productId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"productScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 5,\n \"description\": \"商品分数\"\n },\n \"serviceScore\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"example\": 5,\n \"description\": \"服务分数\"\n },\n \"unique\": {\n \"type\": \"string\",\n \"description\": \"商品 属性id\"\n },\n \"userId\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"用户id, 后端必须传递此参数\"\n }\n },\n \"title\": \"StoreProductReplyAddRequest对象\",\n \"description\": \"评论表\",\n \"$$ref\": \"#/definitions/StoreProductReplyAddRequest对象\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369237, + "up_time": 1597369237, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/order/refund/verify", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7306, + "method": "POST", + "title": "退款订单验证", + "path": "/api/front/order/refund/verify", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eb96bc7e8e560914fc3f", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"object\",\n \"properties\": {\n \"refund_reason_wap_explain\": {\n \"type\": \"string\",\n \"description\": \"退款备注说明\"\n },\n \"refund_reason_wap_img\": {\n \"type\": \"string\",\n \"description\": \"退款凭证图片\"\n },\n \"text\": {\n \"type\": \"string\",\n \"description\": \"退款原因\"\n },\n \"uni\": {\n \"type\": \"string\",\n \"description\": \"待退款订单\"\n }\n },\n \"title\": \"OrderRefundVerifyRequest\",\n \"$$ref\": \"#/definitions/OrderRefundVerifyRequest\"\n}", + "project_id": 56, + "catid": 5054, + "uid": 93, + "add_time": 1597369238, + "up_time": 1597369238, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "首页", + "desc": "Index Controller", + "add_time": 1597369233, + "up_time": 1597369233, + "list": [ + { + "query_path": { + "path": "/api/front/share", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7340, + "method": "GET", + "title": "分享配置", + "path": "/api/front/share", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«HashMap«string,string»»\",\n \"$$ref\": \"#/definitions/CommonResult«HashMap«string,string»»\"\n}", + "project_id": 56, + "catid": 5063, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/search/keyword", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7336, + "method": "GET", + "title": "热门搜索", + "path": "/api/front/search/keyword", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«List«HashMap«string,object»»»\",\n \"$$ref\": \"#/definitions/CommonResult«List«HashMap«string,object»»»\"\n}", + "project_id": 56, + "catid": 5063, + "uid": 93, + "add_time": 1597369239, + "up_time": 1597369239, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/groom/list/{type}", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "var", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7260, + "method": "GET", + "title": "首页产品的轮播图和产品信息", + "path": "/api/front/groom/list/{type}", + "req_params": [ + { + "_id": "5f35eb94bc7e8e560914fc23", + "name": "type", + "desc": "类型 【1 精品推荐 2 热门榜单 3首发新品 4促销单品】" + } + ], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc25", + "name": "limit", + "desc": "每页数量" + }, + { + "required": "0", + "_id": "5f35eb94bc7e8e560914fc24", + "name": "page", + "desc": "页码" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"array\",\n \"description\": \"活动区域图片\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"banner\": {\n \"type\": \"array\",\n \"description\": \"首页banner滚动图\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"benefit\": {\n \"type\": \"array\",\n \"description\": \"首页促销单品\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"couponList\": {\n \"type\": \"array\",\n \"description\": \"优惠券\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"explosiveMoney\": {\n \"type\": \"array\",\n \"description\": \"首页超值爆款\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"info\": {\n \"type\": \"object\",\n \"properties\": {\n \"bastBanner\": {\n \"type\": \"array\",\n \"description\": \"首页精品推荐图片\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"bastInfo\": {\n \"type\": \"string\",\n \"description\": \"精品推荐简介\"\n },\n \"bastList\": {\n \"type\": \"array\",\n \"description\": \"精品推荐\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"bastNumber\": {\n \"type\": \"string\",\n \"description\": \"精品推荐个数\"\n },\n \"fastInfo\": {\n \"type\": \"string\",\n \"description\": \"快速选择简介\"\n },\n \"fastList\": {\n \"type\": \"array\",\n \"description\": \"分类\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 \"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"Category对象\",\n \"description\": \"分类表\",\n \"$$ref\": \"#/definitions/Category对象\"\n }\n },\n \"fastNumber\": {\n \"type\": \"string\",\n \"description\": \"快速选择分类个数\"\n },\n \"firstInfo\": {\n \"type\": \"string\",\n \"description\": \"首发新品简介\"\n },\n \"firstList\": {\n \"type\": \"array\",\n \"description\": \"首发新品\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"firstNumber\": {\n \"type\": \"string\",\n \"description\": \"首发新品个数\"\n },\n \"promotionNumber\": {\n \"type\": \"string\",\n \"description\": \"首页促销单品\"\n },\n \"salesInfo\": {\n \"type\": \"string\",\n \"description\": \"促销单品简介\"\n }\n },\n \"title\": \"IndexInfoItemResponse对象\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/IndexInfoItemResponse对象\"\n },\n \"likeInfo\": {\n \"type\": \"array\",\n \"description\": \"热门榜单\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"list\": {\n \"type\": \"array\",\n \"description\": \"商品\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"logoUrl\": {\n \"type\": \"string\",\n \"description\": \"企业logo\"\n },\n \"lovely\": {\n \"type\": \"object\",\n \"description\": \"首发新品广告图\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"menus\": {\n \"type\": \"array\",\n \"description\": \"导航模块\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"roll\": {\n \"type\": \"array\",\n \"description\": \"新闻简报消息滚动\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注\"\n }\n },\n \"title\": \"IndexInfoResponse对象\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/IndexInfoResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«IndexInfoResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«IndexInfoResponse对象»\"\n}", + "project_id": 56, + "catid": 5063, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + }, + { + "query_path": { + "path": "/api/front/index", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7262, + "method": "GET", + "title": "首页数据", + "path": "/api/front/index", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"activity\": {\n \"type\": \"array\",\n \"description\": \"活动区域图片\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"banner\": {\n \"type\": \"array\",\n \"description\": \"首页banner滚动图\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"benefit\": {\n \"type\": \"array\",\n \"description\": \"首页促销单品\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"couponList\": {\n \"type\": \"array\",\n \"description\": \"优惠券\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"explosiveMoney\": {\n \"type\": \"array\",\n \"description\": \"首页超值爆款\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"info\": {\n \"type\": \"object\",\n \"properties\": {\n \"bastBanner\": {\n \"type\": \"array\",\n \"description\": \"首页精品推荐图片\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"bastInfo\": {\n \"type\": \"string\",\n \"description\": \"精品推荐简介\"\n },\n \"bastList\": {\n \"type\": \"array\",\n \"description\": \"精品推荐\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"bastNumber\": {\n \"type\": \"string\",\n \"description\": \"精品推荐个数\"\n },\n \"fastInfo\": {\n \"type\": \"string\",\n \"description\": \"快速选择简介\"\n },\n \"fastList\": {\n \"type\": \"array\",\n \"description\": \"分类\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"extra\": {\n \"type\": \"string\",\n \"description\": \"扩展字段\"\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"分类名称\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"路径\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"父级ID\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"status\": {\n \"type\": \"boolean\",\n \"description\": \"状态, 0正常,1失效\"\n },\n \"type\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 \"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"地址\"\n }\n },\n \"title\": \"Category对象\",\n \"description\": \"分类表\",\n \"$$ref\": \"#/definitions/Category对象\"\n }\n },\n \"fastNumber\": {\n \"type\": \"string\",\n \"description\": \"快速选择分类个数\"\n },\n \"firstInfo\": {\n \"type\": \"string\",\n \"description\": \"首发新品简介\"\n },\n \"firstList\": {\n \"type\": \"array\",\n \"description\": \"首发新品\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"firstNumber\": {\n \"type\": \"string\",\n \"description\": \"首发新品个数\"\n },\n \"promotionNumber\": {\n \"type\": \"string\",\n \"description\": \"首页促销单品\"\n },\n \"salesInfo\": {\n \"type\": \"string\",\n \"description\": \"促销单品简介\"\n }\n },\n \"title\": \"IndexInfoItemResponse对象\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/IndexInfoItemResponse对象\"\n },\n \"likeInfo\": {\n \"type\": \"array\",\n \"description\": \"热门榜单\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"list\": {\n \"type\": \"array\",\n \"description\": \"商品\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"cateId\": {\n \"type\": \"array\",\n \"description\": \"分类id\",\n \"items\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n }\n },\n \"id\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"商品id\"\n },\n \"image\": {\n \"type\": \"string\",\n \"description\": \"商品图片\"\n },\n \"otPrice\": {\n \"type\": \"number\",\n \"description\": \"市场价\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"商品价格\"\n },\n \"sales\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"销量\"\n },\n \"sort\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"排序\"\n },\n \"stock\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"库存\"\n },\n \"storeName\": {\n \"type\": \"string\",\n \"description\": \"商品名称\"\n },\n \"unitName\": {\n \"type\": \"string\",\n \"description\": \"单位名\"\n }\n },\n \"title\": \"ProductResponse对象\",\n \"description\": \"商品表\",\n \"$$ref\": \"#/definitions/ProductResponse对象\"\n }\n },\n \"logoUrl\": {\n \"type\": \"string\",\n \"description\": \"企业logo\"\n },\n \"lovely\": {\n \"type\": \"object\",\n \"description\": \"首发新品广告图\",\n \"additionalProperties\": {\n \"type\": \"object\"\n }\n },\n \"menus\": {\n \"type\": \"array\",\n \"description\": \"导航模块\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"roll\": {\n \"type\": \"array\",\n \"description\": \"新闻简报消息滚动\",\n \"items\": {\n \"type\": \"object\",\n \"title\": \"HashMap«string,object»\",\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"$$ref\": \"#/definitions/HashMap«string,object»\"\n }\n },\n \"subscribe\": {\n \"type\": \"boolean\",\n \"description\": \"是否关注\"\n }\n },\n \"title\": \"IndexInfoResponse对象\",\n \"description\": \"用户登录返回数据\",\n \"$$ref\": \"#/definitions/IndexInfoResponse对象\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«IndexInfoResponse对象»\",\n \"$$ref\": \"#/definitions/CommonResult«IndexInfoResponse对象»\"\n}", + "project_id": 56, + "catid": 5063, + "uid": 93, + "add_time": 1597369236, + "up_time": 1597369236, + "__v": 0 + } + ] + } +] \ No newline at end of file diff --git a/接口文档/app/app_api.md b/接口文档/app/app_api.md new file mode 100644 index 00000000..4531ac0f --- /dev/null +++ b/接口文档/app/app_api.md @@ -0,0 +1,3296 @@ + +

crmeb_java_front

+ crmeb_java_front + + +# 上传文件 + +## 图片上传 + +### 基本信息 + +**Path:** /api/front/user/upload/image + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | multipart/form-data | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| model | 否 | | 模块 用户user,商品product,微信wechat,news文章 | +| pid | 否 | | 分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 | +**Body** + +| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| multipart | file | 否 | | multipart | + + + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ extNamestring非必须
├─ fileNamestring非必须
├─ fileSizeinteger非必须

format: int64

├─ serverPathstring非必须
├─ typestring非必须
├─ urlstring非必须
messagestring非必须
+ +# 二维码服务 + +## 获取二维码 + +### 基本信息 + +**Path:** /api/front/qrcode/get + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 远程图片转base64 + +### 基本信息 + +**Path:** /api/front/qrcode/base64 + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| url | 是 | | url | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 优惠券 + +## 分页列表 + +### 基本信息 + +**Path:** /api/front/coupons + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| productId | 否 | | productId | +| type | 否 | | type | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ dayinteger非必须天数

format: int32

├─ idinteger非必须优惠券表ID

format: int32

├─ isDelboolean非必须是否删除 状态(0:否,1:是)
├─ isFixedTimeboolean非必须是否固定使用时间, 默认0 否, 1是
├─ isLimitedboolean非必须是否限量, 默认0 不限量, 1限量
├─ isUseboolean非必须是否已领取未使用
├─ lastTotalinteger非必须剩余数量

format: int32

├─ minPricenumber非必须最低消费,0代表不限制
├─ moneynumber非必须兑换的优惠券面值
├─ namestring非必须优惠券名称
├─ primaryKeystring非必须所属商品id / 分类id
├─ receiveEndTimestring非必须可领取结束时间

format: date-time

├─ receiveStartTimestring非必须可领取开始时间

format: date-time

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态(0:关闭,1:开启)
├─ totalinteger非必须发放总数

format: int32

├─ typeinteger非必须优惠券类型 0-通用 1 普通券, 2 新人券, 3 购买商品赠送券, 4 付费会员券

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ useEndTimestring非必须可使用时间范围 结束时间

format: date-time

├─ useStartTimestring非必须可使用时间范围 开始时间

format: date-time

messagestring非必须
+ +## 当前购物车可用优惠券 + +### 基本信息 + +**Path:** /api/front/coupons/order + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cartId | 是 | | cartId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ cidinteger非必须兑换的项目id

format: int32

├─ couponIdinteger非必须优惠券发布id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ idinteger非必须id

format: int32

├─ minPricenumber非必须最低消费多少金额可用优惠券
├─ moneynumber非必须优惠券的面值
├─ namestring非必须优惠券名称
├─ primaryKeystring必须主键id 商品id/分类id
├─ receiveEndTimestring非必须过期时间

format: date-time

├─ receiveStartTimestring非必须开始使用时间

format: date-time

├─ statusinteger非必须状态(0:未使用,1:已使用, 2:已失效)

format: int32

├─ typestring非必须获取方式
├─ uidinteger非必须领取人id

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ useTimestring非必须使用时间

format: date-time

├─ useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

messagestring非必须
+ +# 商品 + +## 为你推荐 + +### 基本信息 + +**Path:** /api/front/product/hot + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 商品列表 + +### 基本信息 + +**Path:** /api/front/products + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cid | 否 | | 分类id | +| keyword | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| news | 否 | | 是否新品 | +| page | 否 | | 页码 | +| priceOrder | 否 | | 价格排序 | +| salesOrder | 否 | | 销量排序 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 商品评论列表 + +### 基本信息 + +**Path:** /api/front/reply/list/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 否 | | 评价等级|0=全部,1=好评,2=中评,3=差评 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ avatarstring非必须用户头像
├─ commentstring非必须评论内容
├─ createTimestring非必须评论时间

format: date-time

├─ idinteger非必须评论ID

format: int32

├─ isDelboolean非必须0未删除1已删除
├─ isReplyboolean非必须0未回复1已回复
├─ merchantReplyContentstring非必须管理员回复内容
├─ merchantReplyTimeinteger非必须管理员回复时间

format: int32

├─ nicknamestring非必须用户名称
├─ oidinteger非必须订单ID

format: int32

├─ picsstring []非必须评论图片

item 类型: string

├─ 非必须
├─ productIdinteger非必须商品id

format: int32

├─ productScoreinteger非必须商品分数

format: int32

├─ replyTypestring非必须某种商品类型(普通商品、秒杀商品)
├─ serviceScoreinteger非必须服务分数

format: int32

├─ storeProductobject非必须商品表
├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
├─ uidinteger非必须用户ID

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 商品评论数量 + +### 基本信息 + +**Path:** /api/front/reply/config/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须产品评价数量和好评度
├─ goodCountinteger非必须好评总数

format: int64

├─ inCountinteger非必须中评总数

format: int64

├─ poorCountinteger非必须差评总数

format: int64

├─ replyChancestring非必须好评率
├─ replyStarinteger非必须评分星数

format: int32

├─ sumCountinteger非必须评论总数

format: int64

messagestring非必须
+ +## 商品详情 + +### 基本信息 + +**Path:** /api/front/product/detail/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须商品详情H5
├─ activityobject []非必须拼团,砍价,秒杀商品集合

item 类型: object

├─ base64Imagestring非必须主图base64
├─ goodListobject []非必须优品推荐列表

item 类型: object

├─ activityobject []非必须秒杀,团购,砍价

item 类型: object

├─ checkCouponboolean非必须可用优惠券
├─ idinteger非必须id

format: int32

├─ imagestring非必须img Url
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价
├─ storeNamestring非必须商品名称
├─ priceNamestring非必须返佣金额区间
├─ productAttrobject []非必须产品属性

item 类型: object

├─ productValueobject非必须商品属性详情
├─ replyobject非必须最新评价
├─ replyChanceinteger非必须好评率

format: int32

├─ replyCountinteger非必须评价数量

format: int32

├─ storeInfoobject非必须商品表
├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ cateIdsinteger []非必须

item 类型: integer

├─ 非必须
├─ cateValuesstring非必须分类中文
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ contentstring非必须商品描述
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ userCollectboolean非必须收藏标识
├─ userLikeboolean非必须点赞标识
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
messagestring非必须
+ +## 获取分类 + +### 基本信息 + +**Path:** /api/front/category + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ child []非必须
├─ 非必须
├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
messagestring非必须
+ +# 商品 -- 购物车 + +## 修改 + +### 基本信息 + +**Path:** /api/front/cart/num + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | +| number | 是 | | number | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/front/cart/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| isValid | 是 | | isValid | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ addTimestring非必须
├─ attrStatusboolean非必须商品是否有效
├─ bargainIdinteger非必须砍价id

format: int32

├─ brokeragenumber非必须一级分佣
├─ brokerageTwonumber非必须二级分佣
├─ cartNuminteger非必须商品数量

format: int32

├─ combinationIdinteger非必须拼团id

format: int32

├─ costPricenumber非必须
├─ idinteger非必须购物车表ID

format: int64

├─ isNewboolean非必须是否为立即购买
├─ isReplyinteger非必须

format: int32

├─ productAttrUniquestring非必须商品属性
├─ productIdinteger非必须商品ID

format: int32

├─ productInfoobject非必须商品信息,购物车列表使用
├─ attrInfoobject非必须商品属性值表
├─ attrValuestring非必须产品属性值和属性名对应关系
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ idinteger非必须attrId

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

├─ uniquestring非必须唯一值
├─ volumenumber非必须体积
├─ weightnumber非必须重量
├─ barCodestring非必须商品条码(一维码)
├─ cateIdstring非必须分类id
├─ costnumber非必须成本价
├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isPostageboolean非必须是否包邮
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ vipPricenumber非必须会员价格
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ truePricenumber非必须
├─ trueStockinteger非必须

format: int32

├─ typestring非必须类型
├─ uidinteger非必须用户ID

format: int32

├─ vipTruePricenumber非必须
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/front/cart/delete + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| ids | 是 | | ids | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 数量 + +### 基本信息 + +**Path:** /api/front/cart/count + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| numType | 否 | | numType | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/front/cart/save + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cartNum | 是 | | 商品数量 | +| isNew | 是 | | 是否为立即购买 | +| productAttrUnique | 否 | | 商品属性 -- attr 对象的id | +| productId | 是 | | 商品ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 购物车重选提交 + +### 基本信息 + +**Path:** /api/front/cart/resetcart + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idinteger非必须购物车id

format: int64

numinteger非必须购物车数量

format: int32

productIdinteger非必须商品id

format: int32

uniqueinteger非必须AttrValue Id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 城市服务 + +## 树形结构 + +### 基本信息 + +**Path:** /api/front/city/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 客服 + +## 客服列表 + +### 基本信息 + +**Path:** /api/front/user/service/lst + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ avatarstring非必须客服头像
├─ createTimestring非必须添加时间

format: date-time

├─ customerboolean非必须是否展示统计管理
├─ idinteger非必须客服id

format: int32

├─ nicknamestring非必须代理名称
├─ notifyinteger非必须订单通知1开启0关闭

format: int32

├─ statusboolean非必须0隐藏1显示
├─ uidinteger非必须客服uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +## 聊天记录 + +### 基本信息 + +**Path:** /api/front/user/service/record/{toUid} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| toUid | | 聊天人编号 | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须添加时间

format: date-time

├─ idinteger非必须客服用户对话记录表ID

format: int32

├─ msnstring非必须消息内容
├─ msnTypeboolean非必须消息类型 1=文字 2=表情 3=图片 4=语音
├─ remindboolean非必须是否提醒过
├─ toUidinteger非必须接收人uid

format: int32

├─ typeboolean非必须是否已读(0:否;1:是;)
├─ uidinteger非必须发送人uid

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 微信 -- 开放平台 + +## 小程序获取授权logo + +### 基本信息 + +**Path:** /api/front/wechat/getLogo + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 微信登录公共号授权登录 + +### 基本信息 + +**Path:** /api/front/wechat/authorize/login + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| code | 是 | | code | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户登录返回数据
├─ expiresTimestring非必须用户登录密钥到期时间

format: date-time

├─ tokenstring非必须用户登录密钥
├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 微信登录小程序授权登录 + +### 基本信息 + +**Path:** /api/front/wechat/authorize/program/login + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| code | 是 | | code | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring必须用户头像
citystring非必须普通用户个人资料填写的城市
countrystring非必须国家,如中国为CN
nickNamestring必须用户昵称
provincestring非必须用户个人资料填写的省份
sexstring必须性别
spread_spidinteger必须推广人id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户登录返回数据
├─ expiresTimestring非必须用户登录密钥到期时间

format: date-time

├─ tokenstring非必须用户登录密钥
├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 获取微信公众号js配置 + +### 基本信息 + +**Path:** /api/front/wechat/config + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| url | 否 | | 页面地址url | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取授权页面跳转地址 + +### 基本信息 + +**Path:** /api/front/wechat/authorize/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/front/wechat/info/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须微信模板
├─ contentstring非必须回复内容
├─ createTimestring非必须添加时间

format: date-time

├─ idinteger非必须模板id

format: int32

├─ namestring非必须模板名
├─ statusinteger非必须状态

format: int32

├─ tempIdstring非必须模板ID
├─ tempKeystring非必须模板编号
├─ typeboolean非必须0=订阅消息,1=微信模板消息
├─ updateTimestring非必须更新时间

format: date-time

messagestring非必须
+ +# 提货点 + +## 附近的提货点 + +### 基本信息 + +**Path:** /api/front/store/list + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| latitude | 否 | | 经度 | +| limit | 否 | | 每页数量 | +| longitude | 否 | | 纬度 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须附近的门店
├─ listobject []必须附近的门店列表

item 类型: object

├─ addressstring非必须省市区
├─ createTimestring非必须创建时间

format: date-time

├─ dayTimestring非必须每日营业开关时间
├─ detailedAddressstring非必须详细地址
├─ distancestring非必须距离,单位米
├─ idinteger非必须

format: int32

├─ imagestring非必须门店logo
├─ introductionstring非必须简介
├─ isDelboolean非必须是否删除
├─ isShowboolean非必须是否显示
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ namestring非必须门店名称
├─ phonestring非必须手机号码
├─ updateTimestring非必须修改时间

format: date-time

├─ validTimestring非必须核销有效日期
├─ tengXunMapKeystring非必须腾讯地图key
messagestring非必须
+ +# 文章 + +## 分类列表 + +### 基本信息 + +**Path:** /api/front/article/category/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ child []非必须
├─ 非必须
├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/front/article/list/{cid} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| cid | | cid | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ adminIdinteger非必须管理员id

format: int32

├─ authorstring非必须文章作者
├─ categoryNamestring非必须分类
├─ cidstring非必须分类id
├─ contentstring非必须文章内容
├─ createTimestring非必须创建时间

format: date-time

├─ hideboolean非必须是否隐藏
├─ idinteger非必须文章管理ID

format: int32

├─ imageInputstring []非必须文章图片 前端用

item 类型: string

├─ 非必须
├─ imageInputsstring非必须文章图片 后端用
├─ isBannerboolean非必须是否轮播图(小程序)
├─ isHotboolean非必须是否热门(小程序)
├─ mediaIdstring非必须微信素材媒体id
├─ merIdinteger非必须商户id

format: int32

├─ productIdinteger非必须商品关联id

format: int32

├─ shareSynopsisstring非必须文章分享简介
├─ shareTitlestring非必须文章分享标题
├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态
├─ synopsisstring非必须文章简介
├─ titlestring非必须文章标题
├─ updateTimestring非必须更新时间

format: date-time

├─ urlstring非必须原文链接
├─ visitstring非必须浏览次数
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 热门列表 + +### 基本信息 + +**Path:** /api/front/article/hot/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ adminIdinteger非必须管理员id

format: int32

├─ authorstring非必须文章作者
├─ categoryNamestring非必须分类
├─ cidstring非必须分类id
├─ contentstring非必须文章内容
├─ createTimestring非必须创建时间

format: date-time

├─ hideboolean非必须是否隐藏
├─ idinteger非必须文章管理ID

format: int32

├─ imageInputstring []非必须文章图片 前端用

item 类型: string

├─ 非必须
├─ imageInputsstring非必须文章图片 后端用
├─ isBannerboolean非必须是否轮播图(小程序)
├─ isHotboolean非必须是否热门(小程序)
├─ mediaIdstring非必须微信素材媒体id
├─ merIdinteger非必须商户id

format: int32

├─ productIdinteger非必须商品关联id

format: int32

├─ shareSynopsisstring非必须文章分享简介
├─ shareTitlestring非必须文章分享标题
├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态
├─ synopsisstring非必须文章简介
├─ titlestring非必须文章标题
├─ updateTimestring非必须更新时间

format: date-time

├─ urlstring非必须原文链接
├─ visitstring非必须浏览次数
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/front/article/info + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 否 | | 文章ID | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须文章管理表
├─ adminIdinteger非必须管理员id

format: int32

├─ authorstring非必须文章作者
├─ categoryNamestring非必须分类
├─ cidstring非必须分类id
├─ contentstring非必须文章内容
├─ createTimestring非必须创建时间

format: date-time

├─ hideboolean非必须是否隐藏
├─ idinteger非必须文章管理ID

format: int32

├─ imageInputstring []非必须文章图片 前端用

item 类型: string

├─ 非必须
├─ imageInputsstring非必须文章图片 后端用
├─ isBannerboolean非必须是否轮播图(小程序)
├─ isHotboolean非必须是否热门(小程序)
├─ mediaIdstring非必须微信素材媒体id
├─ merIdinteger非必须商户id

format: int32

├─ productIdinteger非必须商品关联id

format: int32

├─ shareSynopsisstring非必须文章分享简介
├─ shareTitlestring非必须文章分享标题
├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态
├─ synopsisstring非必须文章简介
├─ titlestring非必须文章标题
├─ updateTimestring非必须更新时间

format: date-time

├─ urlstring非必须原文链接
├─ visitstring非必须浏览次数
messagestring非必须
+ +## 轮播列表 + +### 基本信息 + +**Path:** /api/front/article/banner/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ adminIdinteger非必须管理员id

format: int32

├─ authorstring非必须文章作者
├─ categoryNamestring非必须分类
├─ cidstring非必须分类id
├─ contentstring非必须文章内容
├─ createTimestring非必须创建时间

format: date-time

├─ hideboolean非必须是否隐藏
├─ idinteger非必须文章管理ID

format: int32

├─ imageInputstring []非必须文章图片 前端用

item 类型: string

├─ 非必须
├─ imageInputsstring非必须文章图片 后端用
├─ isBannerboolean非必须是否轮播图(小程序)
├─ isHotboolean非必须是否热门(小程序)
├─ mediaIdstring非必须微信素材媒体id
├─ merIdinteger非必须商户id

format: int32

├─ productIdinteger非必须商品关联id

format: int32

├─ shareSynopsisstring非必须文章分享简介
├─ shareTitlestring非必须文章分享标题
├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态
├─ synopsisstring非必须文章简介
├─ titlestring非必须文章标题
├─ updateTimestring非必须更新时间

format: date-time

├─ urlstring非必须原文链接
├─ visitstring非必须浏览次数
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 物流公司 + +## 列表 + +### 基本信息 + +**Path:** /api/front/logistics + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ codestring非必须快递公司简称
├─ idinteger非必须快递公司id

format: int32

├─ isShowboolean非必须是否显示
├─ namestring非必须快递公司全称
├─ sortinteger非必须排序

format: int32

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 用户 -- 充值 + +## 余额转入 + +### 基本信息 + +**Path:** /api/front/recharge/transferIn + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| price | 是 | | price | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 充值额度选择 + +### 基本信息 + +**Path:** /api/front/recharge/index + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须c
├─ giveMoneystring非必须赠送金额
├─ idinteger非必须充值模板id

format: int32

├─ pricestring非必须充值金额
messagestring非必须
+ +## 公众号充值 + +### 基本信息 + +**Path:** /api/front/recharge/wechat + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
fromstring非必须来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序
payTypestring非必须支付方式| weixin = 微信,alipay = 支付宝
pricenumber非必须充值金额
rechar_idinteger非必须选择金额组合数据id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须充值返回对象
├─ appIdstring非必须调用接口提交的公众账号ID
├─ h5PayUrlstring非必须H5支付的跳转url
├─ nonceStrstring非必须随机字符串
├─ packagestring非必须订单详情扩展字符串
├─ paySignstring非必须签名
├─ prepayIdstring非必须微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时,针对H5支付此参数无特殊用途
├─ signTypestring非必须签名方式
├─ timeStampinteger非必须当前的时间,其他详见时间戳规则

format: int32

messagestring非必须
+ +## 小程序充值 + +### 基本信息 + +**Path:** /api/front/recharge/routine + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
fromstring非必须来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序
payTypestring非必须支付方式| weixin = 微信,alipay = 支付宝
pricenumber非必须充值金额
rechar_idinteger非必须选择金额组合数据id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 用户 -- 地址 + +## 保存 + +### 基本信息 + +**Path:** /api/front/address/edit + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
addressobject必须用户地址城市
├─ citystring必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ districtstring必须收货人所在区
├─ provincestring必须收货人所在省
detailstring必须收货人详细地址
idinteger非必须用户地址id

format: int32

isDefaultboolean必须是否默认
phonestring必须收货人电话
realNamestring必须收货人姓名
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户地址表
├─ citystring非必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ detailstring非必须收货人详细地址
├─ districtstring非必须收货人所在区
├─ idinteger非必须用户地址id

format: int32

├─ isDefaultboolean非必须是否默认
├─ isDelboolean非必须是否删除
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ phonestring非必须收货人电话
├─ postCodeinteger非必须邮编

format: int32

├─ provincestring非必须收货人所在省
├─ realNamestring非必须收货人姓名
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

messagestring非必须
+ +## 列表 + +### 基本信息 + +**Path:** /api/front/address/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ citystring非必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ detailstring非必须收货人详细地址
├─ districtstring非必须收货人所在区
├─ idinteger非必须用户地址id

format: int32

├─ isDefaultboolean非必须是否默认
├─ isDelboolean非必须是否删除
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ phonestring非必须收货人电话
├─ postCodeinteger非必须邮编

format: int32

├─ provincestring非必须收货人所在省
├─ realNamestring非必须收货人姓名
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 删除 + +### 基本信息 + +**Path:** /api/front/address/del + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idinteger非必须用户地址id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 获取单个地址 + +### 基本信息 + +**Path:** /api/front/address/detail/{id} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| id | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户地址表
├─ citystring非必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ detailstring非必须收货人详细地址
├─ districtstring非必须收货人所在区
├─ idinteger非必须用户地址id

format: int32

├─ isDefaultboolean非必须是否默认
├─ isDelboolean非必须是否删除
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ phonestring非必须收货人电话
├─ postCodeinteger非必须邮编

format: int32

├─ provincestring非必须收货人所在省
├─ realNamestring非必须收货人姓名
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

messagestring非必须
+ +## 获取默认地址 + +### 基本信息 + +**Path:** /api/front/address/default + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户地址表
├─ citystring非必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ detailstring非必须收货人详细地址
├─ districtstring非必须收货人所在区
├─ idinteger非必须用户地址id

format: int32

├─ isDefaultboolean非必须是否默认
├─ isDelboolean非必须是否删除
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ phonestring非必须收货人电话
├─ postCodeinteger非必须邮编

format: int32

├─ provincestring非必须收货人所在省
├─ realNamestring非必须收货人姓名
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

messagestring非必须
+ +## 设置默认地址 + +### 基本信息 + +**Path:** /api/front/address/default/set + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idinteger非必须用户地址id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户地址表
├─ citystring非必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ detailstring非必须收货人详细地址
├─ districtstring非必须收货人所在区
├─ idinteger非必须用户地址id

format: int32

├─ isDefaultboolean非必须是否默认
├─ isDelboolean非必须是否删除
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ phonestring非必须收货人电话
├─ postCodeinteger非必须邮编

format: int32

├─ provincestring非必须收货人所在省
├─ realNamestring非必须收货人姓名
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

messagestring非必须
+ +# 用户 -- 点赞/收藏 + +## 取消收藏产品 + +### 基本信息 + +**Path:** /api/front/collect/del + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
categorystring非必须产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)
idinteger非必须商品ID

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 批量收藏 + +### 基本信息 + +**Path:** /api/front/collect/all + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
categorystring非必须产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)
idinteger []非必须商品ID

item 类型: integer

├─ 非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 添加收藏产品 + +### 基本信息 + +**Path:** /api/front/collect/add + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
categorystring非必须产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)
idinteger非必须商品ID

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 获取收藏产品 + +### 基本信息 + +**Path:** /api/front/collect/user + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ activitystring非必须活动显示排序1=秒杀,2=砍价,3=拼团
├─ addTimeinteger非必须添加时间

format: int32

├─ barCodestring非必须商品条码(一维码)
├─ browseinteger非必须浏览量

format: int32

├─ cateIdstring非必须分类id
├─ codePathstring非必须商品二维码地址(用户小程序海报)
├─ costnumber非必须成本价
├─ fictiinteger非必须虚拟销量

format: int32

├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isBargainboolean非必须砍价状态 0未开启 1开启
├─ isBenefitboolean非必须是否优惠
├─ isBestboolean非必须是否精品
├─ isDelboolean非必须是否删除
├─ isGoodboolean非必须是否优品推荐
├─ isHotboolean非必须是否热卖
├─ isNewboolean非必须是否新品
├─ isPostageboolean非必须是否包邮
├─ isSeckillboolean非必须秒杀状态 0 未开启 1已开启
├─ isShowboolean非必须状态(0:未上架,1:上架)
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ merUseboolean非必须商户是否代理 0不可代理1可代理
├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ soureLinkstring非必须淘宝京东1688类型
├─ specTypeboolean非必须规格 0单 1多
├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ videoLinkstring非必须主图视频链接
├─ vipPricenumber非必须会员价格
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 用户 -- 用户中心 + +## 会员等级列表 + +### 基本信息 + +**Path:** /api/front/user/level/grade + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createTimestring非必须创建时间

format: date-time

├─ discountnumber非必须享受折扣
├─ experienceinteger非必须购买金额|经验达到

format: int32

├─ gradeinteger非必须会员等级

format: int32

├─ iconstring非必须会员图标
├─ idinteger非必须

format: int32

├─ imagestring非必须会员卡背景
├─ isDelboolean非必须是否删除.1=删除,0=未删除
├─ isShowboolean非必须是否显示 1=显示,0=隐藏
├─ memostring非必须说明
├─ namestring非必须会员名称
├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 佣金排行 + +### 基本信息 + +**Path:** /api/front/brokerage_rank + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 是 | | type | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 修改个人资料 + +### 基本信息 + +**Path:** /api/front/user/edit + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
avatarstring非必须用户头像
nicknamestring非必须用户昵称
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 当前用户在佣金排行第几名 + +### 基本信息 + +**Path:** /api/front/user/brokerageRankNumber + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| type | 是 | | type | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datainteger非必须

format: int32

messagestring非必须
+ +## 当前登录用户信息 + +### 基本信息 + +**Path:** /api/front/userinfo + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 手机号修改密码 + +### 基本信息 + +**Path:** /api/front/register/reset + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
accountstring必须手机号
captchastring必须验证码
passwordstring必须密码
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 推广人排行 + +### 基本信息 + +**Path:** /api/front/rank + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 是 | | type | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 推广佣金/提现总和 + +### 基本信息 + +**Path:** /api/front/spread/count/{type} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| type | | 类型 佣金类型3=佣金,4=提现 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 推广佣金明细 + +### 基本信息 + +**Path:** /api/front/spread/commission/{type} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| type | | 类型 佣金类型|0=全部,1=消费,2=充值,3=返佣,4=提现 | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ datestring非必须月份
├─ listobject []非必须数据

item 类型: object

├─ add_timestring非必须创建时间

format: date-time

├─ balancenumber非必须剩余
├─ categorystring非必须明细种类
├─ idinteger非必须用户账单id

format: int32

├─ linkIdstring非必须关联id
├─ markstring非必须备注
├─ numbernumber非必须明细数字
├─ pminteger非必须0 = 支出 1 = 获得

format: int32

├─ statusinteger非必须0 = 带确定 1 = 有效 -1 = 无效

format: int32

├─ titlestring非必须账单标题
├─ typestring非必须明细类型
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 推广数据接口(昨天的佣金 累计提现金额 当前佣金) + +### 基本信息 + +**Path:** /api/front/commission + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须推广佣金明细
├─ commissionCountnumber非必须当前佣金
├─ extractCountnumber非必须累计提现金额
├─ lastDayCountnumber非必须昨天的佣金
messagestring非必须
+ +## 推广海报图 + +### 基本信息 + +**Path:** /api/front/user/spread/banner + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ idinteger非必须id

format: int32

├─ picstring非必须背景图
├─ titlestring非必须名称
messagestring非必须
+ +## 推广用户 + +### 基本信息 + +**Path:** /api/front/spread/people + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| grade | 否 | | 推荐人类型|0=一级|1=二级 | +| isAsc | 否 | | 排序值 DESC ASC | +| keyword | 否 | | 搜索关键字 | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| sortKey | 否 | | 排序, 排序|childCount=团队排序,numberCount=金额排序,orderCount=订单排序 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须推广人信息
├─ avatarstring非必须用户头像
├─ childCountinteger非必须推广人数

format: int32

├─ nicknamestring非必须用户昵称
├─ numberCountnumber非必须订单金额
├─ orderCountinteger非必须订单数量

format: int32

├─ timestring非必须添加时间
├─ uidinteger非必须用户编号

format: int32

messagestring非必须
+ +## 推广订单 + +### 基本信息 + +**Path:** /api/front/spread/order + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须推广订单
├─ countinteger非必须累计推广订单

format: int64

├─ listobject []非必须推广人列表

item 类型: object

├─ childobject []非必须推广订单信息

item 类型: object

├─ avatarstring非必须用户头像
├─ nicknamestring非必须用户昵称
├─ numbernumber非必须返佣金额
├─ orderIdstring非必须订单号
├─ timestring非必须返佣时间

format: date-time

├─ typestring非必须订单显示类型
├─ countinteger非必须推广条数

format: int32

├─ timestring非必须推广年月
messagestring非必须
+ +## 提现申请 + +### 基本信息 + +**Path:** /api/front/extract/cash + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
alipayCodestring非必须支付宝账号
banknamestring非必须提现银行名称
cardumstring非必须银行卡
extractTypestring非必须提现方式| alipay=支付宝,bank=银行卡,weixin=微信
moneynumber非必须提现金额
namestring非必须姓名
wechatstring非必须微信号
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 提现银行/提现最低金额 + +### 基本信息 + +**Path:** /api/front/extract/bank + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须提现银行/提现最低金额
├─ brokenCommissionnumber非必须冻结佣金
├─ brokenDaystring非必须冻结天数
├─ commissionCountnumber非必须可提现佣金
├─ extractBankstring []非必须提现银行

item 类型: string

├─ 非必须
├─ minPricestring非必须提现最低金额
messagestring非必须
+ +## 用户资金统计 + +### 基本信息 + +**Path:** /api/front/user/balance + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户资金统计
├─ nowMoneynumber非必须当前总资金
├─ orderStatusSumnumber非必须累计消费
├─ rechargenumber非必须累计充值
messagestring非必须
+ +## 积分记录 + +### 基本信息 + +**Path:** /api/front/integral/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ add_timestring非必须创建时间

format: date-time

├─ balancenumber非必须剩余
├─ categorystring非必须明细种类
├─ idinteger非必须用户账单id

format: int32

├─ linkIdstring非必须关联id
├─ markstring非必须备注
├─ numbernumber非必须明细数字
├─ pminteger非必须0 = 支出 1 = 获得

format: int32

├─ statusinteger非必须0 = 带确定 1 = 有效 -1 = 无效

format: int32

├─ titlestring非必须账单标题
├─ typestring非必须明细类型
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 经验记录 + +### 基本信息 + +**Path:** /api/front/user/expList + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ add_timestring非必须创建时间

format: date-time

├─ balancenumber非必须剩余
├─ categorystring非必须明细种类
├─ idinteger非必须用户账单id

format: int32

├─ linkIdstring非必须关联id
├─ markstring非必须备注
├─ numbernumber非必须明细数字
├─ pminteger非必须0 = 支出 1 = 获得

format: int32

├─ statusinteger非必须0 = 带确定 1 = 有效 -1 = 无效

format: int32

├─ titlestring非必须账单标题
├─ typestring非必须明细类型
├─ uidinteger非必须用户uid

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 绑定手机号 + +### 基本信息 + +**Path:** /api/front/binding + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
accountstring必须手机号
captchastring必须验证码
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 获取个人中心菜单 + +### 基本信息 + +**Path:** /api/front/menu/user + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 获取个人资料 + +### 基本信息 + +**Path:** /api/front/user + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须个人中心
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdayinteger非必须生日

format: int32

├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ couponCountinteger非必须用户优惠券数量

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdinteger非必须用户分组id

format: int32

├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ orderStatusNumobject非必须个人中心 -- 订单状态数量
├─ noBuyinteger非必须未支付订单数量

format: int32

├─ noPinkinteger非必须拼团的订单数量

format: int32

├─ noPostageinteger非必须未发货订单数量

format: int32

├─ noRefundinteger非必须退款的订单数量

format: int32

├─ noReplyinteger非必须未评论订单数量

format: int32

├─ noTakeinteger非必须未收货订单数量

format: int32

├─ partnerIdinteger非必须合伙人id

format: int32

├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ pwdstring非必须用户密码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广元id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
├─ vipboolean非必须是否会员
├─ vipIconstring非必须会员图标
├─ vipNamestring非必须会员名称
messagestring非必须
+ +# 用户 -- 登录注册 + +## 发送短信 + +### 基本信息 + +**Path:** /api/front/sendCode + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| phone | 是 | | 手机号码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 手机号登录接口 + +### 基本信息 + +**Path:** /api/front/login/mobile + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
accountstring必须手机号
captchastring必须验证码
spreadinteger非必须推广人id

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户登录返回数据
├─ expiresTimestring非必须用户登录密钥到期时间

format: date-time

├─ tokenstring非必须用户登录密钥
├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 账号密码登录 + +### 基本信息 + +**Path:** /api/front/login + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
accountstring必须手机号
passwordstring必须密码
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户登录返回数据
├─ expiresTimestring非必须用户登录密钥到期时间

format: date-time

├─ tokenstring非必须用户登录密钥
├─ userobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
messagestring非必须
+ +## 退出 + +### 基本信息 + +**Path:** /api/front/logout + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +# 用户 -- 签到 + +## 分页列表 + +### 基本信息 + +**Path:** /api/front/user/sign/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createDaystring非必须签到日期

format: date-time

├─ numberinteger非必须获得积分

format: int32

├─ titlestring非必须签到说明
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 分页列表 + +### 基本信息 + +**Path:** /api/front/user/sign/month + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ createDaystring非必须签到日期

format: date-time

├─ numberinteger非必须获得积分

format: int32

├─ titlestring非必须签到说明
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +## 签到 + +### 基本信息 + +**Path:** /api/front/user/sign/integral + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须签到记录
├─ dayinteger非必须第几天

format: int32

├─ experienceinteger非必须经验

format: int32

├─ idinteger非必须

format: int32

├─ integralinteger非必须积分

format: int32

├─ titlestring非必须显示文字
messagestring非必须
+ +## 签到用户信息 + +### 基本信息 + +**Path:** /api/front/user/sign/user + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
allboolean非必须是否统计签到和统计积分使用情况|1=是,0=否
integralboolean非必须是否统计积分使用情况|1=是,0=否
signboolean非必须是否统计签到|1=是,0=否
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须修改个人资料
├─ avatarstring非必须用户头像
├─ deductionIntegralinteger非必须累计抵扣积分

format: int32

├─ integralnumber非必须用户剩余积分
├─ isDaySignboolean非必须今天是否签到
├─ isPromoterboolean非必须是否为推广员
├─ isYesterdaySignboolean非必须昨天是否签到
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ payCountinteger非必须用户购买次数

format: int32

├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ sumIntegralinteger非必须累计总积分

format: int32

├─ sumSignDayinteger非必须累计签到次数

format: int32

├─ uidinteger非必须用户id

format: int32

├─ yesterdayIntegralinteger非必须昨天累计积分

format: int32

messagestring非必须
+ +## 详情 + +### 基本信息 + +**Path:** /api/front/user/sign/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 配置 + +### 基本信息 + +**Path:** /api/front/user/sign/config + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ limitinteger非必须

format: int32

├─ listobject []非必须

item 类型: object

├─ dayinteger非必须第几天

format: int32

├─ experienceinteger非必须经验

format: int32

├─ idinteger非必须

format: int32

├─ integralinteger非必须积分

format: int32

├─ titlestring非必须显示文字
├─ pageinteger非必须

format: int32

├─ totalinteger非必须

format: int64

├─ totalPageinteger非必须

format: int32

messagestring非必须
+ +# 营销 -- 优惠券 + +## 我的优惠券 + +### 基本信息 + +**Path:** /api/front/coupon/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ avatarstring非必须用户头像
├─ cidinteger非必须兑换的项目id

format: int32

├─ couponIdinteger非必须优惠券发布id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ endTimestring非必须过期时间

format: date-time

├─ idinteger非必须id

format: int32

├─ isValidboolean非必须用户头像
├─ minPricenumber非必须最低消费多少金额可用优惠券
├─ moneynumber非必须优惠券的面值
├─ namestring非必须优惠券名称
├─ nicknamestring非必须用户昵称
├─ primaryKeystring必须主键id 商品id/分类id
├─ startTimestring非必须开始使用时间

format: date-time

├─ statusinteger非必须状态(0:未使用,1:已使用, 2:已失效)

format: int32

├─ typestring非必须获取方式
├─ uidinteger非必须领取人id

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ useTimestring非必须使用时间

format: date-time

├─ useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

messagestring非必须
+ +## 批量领券 + +### 基本信息 + +**Path:** /api/front/coupon/receive/batch + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
couponIdinteger []非必须优惠券id

item 类型: integer

├─ 非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +## 领券 + +### 基本信息 + +**Path:** /api/front/coupon/receive + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
couponIdinteger []非必须优惠券id

item 类型: integer

├─ 非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

datastring非必须
messagestring非必须
+ +# 订单 + +## 再次下单 + +### 基本信息 + +**Path:** /api/front/order/again + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
nuistring非必须订单id
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 删除订单 + +### 基本信息 + +**Path:** /api/front/order/del + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 待评价商品信息查询 + +### 基本信息 + +**Path:** /api/front/order/product + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
orderIdinteger非必须订单id

format: int32

unistring非必须商品attrid
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 支付 + +### 基本信息 + +**Path:** /api/front/order/pay + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
fromstring非必须支付平台
paytypestring非必须支付类型
unistring非必须订单id
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 物流信息查询 + +### 基本信息 + +**Path:** /api/front/order/express/{orderId} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| orderId | | orderId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 生成订单 + +### 基本信息 + +**Path:** /api/front/order/create/{key} + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| key | | key | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
addressIdinteger非必须收货地址id

format: int32

bargainIdinteger非必须

format: int32

combinationIdinteger非必须

format: int32

couponIdinteger非必须

format: int32

formIdinteger非必须

format: int32

fromstring非必须
isNewboolean必须是否为立即购买
markstring非必须
payTypestring非必须
phonestring非必须手机号码
pinkIdinteger非必须

format: int32

realNamestring非必须真实名称
seckillIdinteger非必须

format: int32

shippingTypeinteger非必须快递类型

format: int32

storeIdinteger非必须

format: int32

useIntegralboolean非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 确认订单 + +### 基本信息 + +**Path:** /api/front/order/confirm + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| cartIds | 是 | | cartIds | +| isNew | 是 | | isNew | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
├─ addressInfoobject非必须用户地址表
├─ citystring非必须收货人所在市
├─ cityIdinteger非必须城市id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ detailstring非必须收货人详细地址
├─ districtstring非必须收货人所在区
├─ idinteger非必须用户地址id

format: int32

├─ isDefaultboolean非必须是否默认
├─ isDelboolean非必须是否删除
├─ latitudestring非必须纬度
├─ longitudestring非必须经度
├─ phonestring非必须收货人电话
├─ postCodeinteger非必须邮编

format: int32

├─ provincestring非必须收货人所在省
├─ realNamestring非必须收货人姓名
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ cartInfoobject []非必须

item 类型: object

├─ addTimestring非必须
├─ attrStatusboolean非必须商品是否有效
├─ bargainIdinteger非必须砍价id

format: int32

├─ brokeragenumber非必须一级分佣
├─ brokerageTwonumber非必须二级分佣
├─ cartNuminteger非必须商品数量

format: int32

├─ combinationIdinteger非必须拼团id

format: int32

├─ costPricenumber非必须
├─ idinteger非必须购物车表ID

format: int64

├─ isNewboolean非必须是否为立即购买
├─ isReplyinteger非必须

format: int32

├─ productAttrUniquestring非必须商品属性
├─ productIdinteger非必须商品ID

format: int32

├─ productInfoobject非必须商品信息,购物车列表使用
├─ attrInfoobject非必须商品属性值表
├─ attrValuestring非必须产品属性值和属性名对应关系
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ idinteger非必须attrId

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

├─ uniquestring非必须唯一值
├─ volumenumber非必须体积
├─ weightnumber非必须重量
├─ barCodestring非必须商品条码(一维码)
├─ cateIdstring非必须分类id
├─ costnumber非必须成本价
├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isPostageboolean非必须是否包邮
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ vipPricenumber非必须会员价格
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ truePricenumber非必须
├─ trueStockinteger非必须

format: int32

├─ typestring非必须类型
├─ uidinteger非必须用户ID

format: int32

├─ vipTruePricenumber非必须
├─ deductionboolean非必须
├─ integralRatiostring非必须
├─ offlinePayStatusstring非必须
├─ offlinePostagestring非必须
├─ orderKeystring非必须
├─ otherobject非必须
├─ payWeixinOpenstring非必须
├─ priceGroupobject非必须
├─ costPricenumber非必须
├─ couponPricenumber非必须
├─ deductionPricenumber非必须
├─ payPostagenumber非必须
├─ payPricenumber非必须
├─ storeFreePostagenumber非必须
├─ storePostagenumber非必须
├─ totalPricenumber非必须
├─ usedIntegralnumber非必须
├─ vipPricenumber非必须
├─ storeSelfMentionstring非必须
├─ systemStorestring非必须
├─ usableCouponobject非必须优惠券记录表
├─ avatarstring非必须用户头像
├─ cidinteger非必须兑换的项目id

format: int32

├─ couponIdinteger非必须优惠券发布id

format: int32

├─ createTimestring非必须创建时间

format: date-time

├─ endTimestring非必须过期时间

format: date-time

├─ idinteger非必须id

format: int32

├─ isValidboolean非必须用户头像
├─ minPricenumber非必须最低消费多少金额可用优惠券
├─ moneynumber非必须优惠券的面值
├─ namestring非必须优惠券名称
├─ nicknamestring非必须用户昵称
├─ primaryKeystring必须主键id 商品id/分类id
├─ startTimestring非必须开始使用时间

format: date-time

├─ statusinteger非必须状态(0:未使用,1:已使用, 2:已失效)

format: int32

├─ typestring非必须获取方式
├─ uidinteger非必须领取人id

format: int32

├─ updateTimestring非必须更新时间

format: date-time

├─ useTimestring非必须使用时间

format: date-time

├─ useTypeinteger非必须使用类型 1 全场通用, 2 商品券, 3 品类券

format: int32

├─ userInfoobject非必须用户表
├─ accountstring非必须用户账号
├─ addIpstring非必须添加ip
├─ addresstring非必须详细地址
├─ adminidinteger非必须管理员编号

format: int32

├─ avatarstring非必须用户头像
├─ birthdaystring非必须生日
├─ brokeragePricenumber非必须佣金金额
├─ cardIdstring非必须身份证号码
├─ cleanTimestring非必须最后一次登录时间

format: date-time

├─ createTimestring非必须创建时间

format: date-time

├─ experienceinteger非必须用户剩余经验

format: int32

├─ groupIdstring非必须用户分组id
├─ integralnumber非必须用户剩余积分
├─ isPromoterboolean非必须是否为推广员
├─ lastIpstring非必须最后一次登录ip
├─ lastLoginTimestring非必须最后一次登录时间

format: date-time

├─ levelinteger非必须等级

format: int32

├─ loginTypestring非必须用户登陆类型,h5,wechat,routine
├─ markstring非必须用户备注
├─ nicknamestring非必须用户昵称
├─ nowMoneynumber非必须用户余额
├─ partnerIdinteger非必须合伙人id

format: int32

├─ pathstring非必须用户推广等级
├─ payCountinteger非必须用户购买次数

format: int32

├─ phonestring非必须手机号码
├─ realNamestring非必须真实姓名
├─ signNuminteger非必须连续签到天数

format: int32

├─ spreadCountinteger非必须下级人数

format: int32

├─ spreadTimestring非必须推广员关联时间

format: date-time

├─ spreadUidinteger非必须推广人id

format: int32

├─ statusboolean非必须1为正常,0为禁止
├─ subscribeboolean非必须是否关注公众号
├─ tagIdstring非必须用户标签id
├─ uidinteger非必须用户id

format: int32

├─ updateTimestring非必须创建时间

format: date-time

├─ userTypestring非必须用户类型
├─ yuePayStatusstring非必须
messagestring非必须
+ +## 计算价格 + +### 基本信息 + +**Path:** /api/front/order/computed/{key} + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| key | | key | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
addressIdinteger非必须地址id

format: int32

couponIdinteger非必须优惠券id

format: int32

payTypestring非必须支付类型
shippingTypeinteger非必须快递类型

format: int32

useIntegralboolean非必须抵扣积分
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 订单列表 + +### 基本信息 + +**Path:** /api/front/order/list + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | +| type | 是 | | 评价等级|0=未支付,1=待发货,2=待收货,3=待评价,4=已完成 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

├─ addTimestring非必须
├─ cartInfoobject []非必须

item 类型: object

├─ infoobject非必须购物车ListResponse
├─ addTimestring非必须
├─ attrStatusboolean非必须商品是否有效
├─ bargainIdinteger非必须砍价id

format: int32

├─ brokeragenumber非必须一级分佣
├─ brokerageTwonumber非必须二级分佣
├─ cartNuminteger非必须商品数量

format: int32

├─ combinationIdinteger非必须拼团id

format: int32

├─ costPricenumber非必须
├─ idinteger非必须购物车表ID

format: int64

├─ isNewboolean非必须是否为立即购买
├─ isReplyinteger非必须

format: int32

├─ productAttrUniquestring非必须商品属性
├─ productIdinteger非必须商品ID

format: int32

├─ productInfoobject非必须商品信息,购物车列表使用
├─ attrInfoobject非必须商品属性值表
├─ attrValuestring非必须产品属性值和属性名对应关系
├─ barCodestring非必须商品条码
├─ brokeragenumber非必须一级返佣
├─ brokerageTwonumber非必须二级返佣
├─ costnumber非必须成本价
├─ idinteger非必须attrId

format: int32

├─ imagestring非必须图片
├─ otPricenumber非必须原价
├─ pricenumber非必须属性金额
├─ productIdinteger非必须商品ID

format: int32

├─ quotainteger非必须活动限购数量

format: int32

├─ quotaShowinteger非必须活动限购数量显示

format: int32

├─ salesinteger非必须销量

format: int32

├─ stockinteger非必须属性对应的库存

format: int32

├─ sukstring非必须商品属性索引值 (attr_value|attr_value[|....])
├─ typeinteger非必须活动类型 0=商品,1=秒杀,2=砍价,3=拼团

format: int32

├─ uniquestring非必须唯一值
├─ volumenumber非必须体积
├─ weightnumber非必须重量
├─ barCodestring非必须商品条码(一维码)
├─ cateIdstring非必须分类id
├─ costnumber非必须成本价
├─ giveIntegralnumber非必须获得积分
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ isPostageboolean非必须是否包邮
├─ isSubboolean非必须是否单独分佣
├─ keywordstring非必须关键字
├─ merIdinteger非必须商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)

format: int32

├─ otPricenumber非必须市场价
├─ postagenumber非必须邮费
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sliderImagestring非必须轮播图
├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeInfostring非必须商品简介
├─ storeNamestring非必须商品名称
├─ tempIdinteger非必须运费模板ID

format: int32

├─ unitNamestring非必须单位名
├─ vipPricenumber非必须会员价格
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ truePricenumber非必须
├─ trueStockinteger非必须

format: int32

├─ typestring非必须类型
├─ uidinteger非必须用户ID

format: int32

├─ vipTruePricenumber非必须
├─ orderIdinteger非必须订单id

format: int32

├─ productIdinteger非必须商品ID

format: int32

├─ uniquestring非必须唯一id
├─ offlinePayStatusinteger非必须

format: int32

├─ payTimestring非必须
├─ statusobject非必须
├─ deliveryTypestring非必须
├─ msgstring非必须
├─ payTypestring非必须
├─ titlestring非必须
├─ typeinteger非必须

format: int32

├─ statusPicstring非必须
├─ storeOrderobject非必须订单表
├─ backIntegralnumber非必须给用户退了多少积分
├─ bargainIdinteger非必须砍价id

format: int32

├─ clerkIdinteger非必须店员id

format: int32

├─ combinationIdinteger非必须拼团商品id0一般商品

format: int32

├─ costnumber非必须成本价
├─ couponIdinteger非必须优惠券id

format: int32

├─ couponPricenumber非必须优惠券金额
├─ createTimestring非必须创建时间

format: date-time

├─ deductionPricenumber非必须抵扣金额
├─ deliveryIdstring非必须快递单号/手机号
├─ deliveryNamestring非必须快递名称/送货人姓名
├─ deliveryTypestring非必须发货类型
├─ freightPricenumber非必须运费金额
├─ gainIntegralnumber非必须消费赚取积分
├─ idinteger非必须订单ID

format: int32

├─ isChannelinteger非必须支付渠道(0微信公众号1微信小程序)

format: int32

├─ isDelboolean非必须是否删除
├─ isMerCheckinteger非必须

format: int32

├─ isRemindboolean非必须消息提醒
├─ isSystemDelboolean非必须后台是否删除
├─ markstring非必须备注
├─ merIdinteger非必须商户ID

format: int32

├─ orderIdstring非必须订单号
├─ paidboolean非必须支付状态
├─ payPostagenumber非必须支付邮费
├─ payPricenumber非必须实际支付金额
├─ payTimestring非必须支付时间

format: date-time

├─ payTypestring非必须支付方式
├─ pinkIdinteger非必须拼团id 0没有拼团

format: int32

├─ realNamestring非必须用户姓名
├─ refundPricenumber非必须退款金额
├─ refundReasonstring非必须不退款的理由
├─ refundReasonTimestring非必须退款时间

format: date-time

├─ refundReasonWapstring非必须前台退款原因
├─ refundReasonWapExplainstring非必须退款用户说明
├─ refundReasonWapImgstring非必须退款图片
├─ refundStatusinteger非必须0 未退款 1 申请中 2 已退款

format: int32

├─ remarkstring非必须管理员备注
├─ seckillIdinteger非必须秒杀商品ID

format: int32

├─ shippingTypeinteger非必须配送方式 1=快递 ,2=门店自提

format: int32

├─ statusinteger非必须订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)

format: int32

├─ storeIdinteger非必须门店id

format: int32

├─ totalNuminteger非必须订单商品总数

format: int32

├─ totalPostagenumber非必须邮费
├─ totalPricenumber非必须订单总价
├─ uidinteger非必须用户id

format: int32

├─ uniquestring非必须唯一id(md5加密)类似id
├─ useIntegralnumber非必须使用积分
├─ userAddressstring非必须详细地址
├─ userPhonestring非必须用户电话
├─ verifyCodestring非必须核销码
messagestring非必须
+ +## 订单取消 + +### 基本信息 + +**Path:** /api/front/order/cancel + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 订单头部数量 + +### 基本信息 + +**Path:** /api/front/order/data + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 订单收货 + +### 基本信息 + +**Path:** /api/front/order/take + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| id | 是 | | id | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 订单详情 + +### 基本信息 + +**Path:** /api/front/order/detail/{orderId} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| orderId | | orderId | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 订单退款理由 + +### 基本信息 + +**Path:** /api/front/order/refund/reason + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 订单退款申请 + +### 基本信息 + +**Path:** /api/front/order/refund + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
idinteger必须订单id

format: int32

refund_reason_wap_explainstring非必须备注说明
refund_reason_wap_imgstring非必须退款凭证(多个图片请用,(英文逗号)隔开)
textstring必须退款原因
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 评价订单 + +### 基本信息 + +**Path:** /api/front/order/comment + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
commentstring必须评论内容
oidinteger非必须订单ID, 移动端必须传递此参数

format: int32

picsstring必须评论图片
productIdinteger必须商品id

format: int32

productScoreinteger必须商品分数

format: int32

serviceScoreinteger必须服务分数

format: int32

uniquestring非必须商品 属性id
userIdinteger非必须用户id, 后端必须传递此参数

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

databoolean非必须
messagestring非必须
+ +## 退款订单验证 + +### 基本信息 + +**Path:** /api/front/order/refund/verify + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
refund_reason_wap_explainstring非必须退款备注说明
refund_reason_wap_imgstring非必须退款凭证图片
textstring非必须退款原因
unistring非必须待退款订单
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 首页 + +## 分享配置 + +### 基本信息 + +**Path:** /api/front/share + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 热门搜索 + +### 基本信息 + +**Path:** /api/front/search/keyword + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject []非必须

item 类型: object

messagestring非必须
+ +## 首页产品的轮播图和产品信息 + +### 基本信息 + +**Path:** /api/front/groom/list/{type} + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**路径参数** + +| 参数名称 | 示例 | 备注 | +| ------------ | ------------ | ------------ | +| type | | 类型 【1 精品推荐 2 热门榜单 3首发新品 4促销单品】 | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| limit | 否 | | 每页数量 | +| page | 否 | | 页码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户登录返回数据
├─ activityobject []非必须活动区域图片

item 类型: object

├─ bannerobject []非必须首页banner滚动图

item 类型: object

├─ benefitobject []非必须首页促销单品

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ couponListobject []非必须优惠券

item 类型: object

├─ explosiveMoneyobject []非必须首页超值爆款

item 类型: object

├─ infoobject非必须用户登录返回数据
├─ bastBannerobject []非必须首页精品推荐图片

item 类型: object

├─ bastInfostring非必须精品推荐简介
├─ bastListobject []非必须精品推荐

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ bastNumberstring非必须精品推荐个数
├─ fastInfostring非必须快速选择简介
├─ fastListobject []非必须分类

item 类型: object

├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
├─ fastNumberstring非必须快速选择分类个数
├─ firstInfostring非必须首发新品简介
├─ firstListobject []非必须首发新品

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ firstNumberstring非必须首发新品个数
├─ promotionNumberstring非必须首页促销单品
├─ salesInfostring非必须促销单品简介
├─ likeInfoobject []非必须热门榜单

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ listobject []非必须商品

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ logoUrlstring非必须企业logo
├─ lovelyobject非必须首发新品广告图
├─ menusobject []非必须导航模块

item 类型: object

├─ rollobject []非必须新闻简报消息滚动

item 类型: object

├─ subscribeboolean非必须是否关注
messagestring非必须
+ +## 首页数据 + +### 基本信息 + +**Path:** /api/front/index + +**Method:** GET + +**接口描述:** + + +### 请求参数 + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须用户登录返回数据
├─ activityobject []非必须活动区域图片

item 类型: object

├─ bannerobject []非必须首页banner滚动图

item 类型: object

├─ benefitobject []非必须首页促销单品

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ couponListobject []非必须优惠券

item 类型: object

├─ explosiveMoneyobject []非必须首页超值爆款

item 类型: object

├─ infoobject非必须用户登录返回数据
├─ bastBannerobject []非必须首页精品推荐图片

item 类型: object

├─ bastInfostring非必须精品推荐简介
├─ bastListobject []非必须精品推荐

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ bastNumberstring非必须精品推荐个数
├─ fastInfostring非必须快速选择简介
├─ fastListobject []非必须分类

item 类型: object

├─ extrastring非必须扩展字段
├─ idinteger非必须

format: int32

├─ namestring非必须分类名称
├─ pathstring非必须路径
├─ pidinteger非必须父级ID

format: int32

├─ sortinteger非必须排序

format: int32

├─ statusboolean非必须状态, 0正常,1失效
├─ typeinteger非必须类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置

format: int32

├─ urlstring非必须地址
├─ fastNumberstring非必须快速选择分类个数
├─ firstInfostring非必须首发新品简介
├─ firstListobject []非必须首发新品

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ firstNumberstring非必须首发新品个数
├─ promotionNumberstring非必须首页促销单品
├─ salesInfostring非必须促销单品简介
├─ likeInfoobject []非必须热门榜单

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ listobject []非必须商品

item 类型: object

├─ cateIdinteger []非必须分类id

item 类型: integer

├─ 非必须
├─ idinteger非必须商品id

format: int32

├─ imagestring非必须商品图片
├─ otPricenumber非必须市场价
├─ pricenumber非必须商品价格
├─ salesinteger非必须销量

format: int32

├─ sortinteger非必须排序

format: int32

├─ stockinteger非必须库存

format: int32

├─ storeNamestring非必须商品名称
├─ unitNamestring非必须单位名
├─ logoUrlstring非必须企业logo
├─ lovelyobject非必须首发新品广告图
├─ menusobject []非必须导航模块

item 类型: object

├─ rollobject []非必须新闻简报消息滚动

item 类型: object

├─ subscribeboolean非必须是否关注
messagestring非必须
+ \ No newline at end of file diff --git a/接口文档/app/app_swaggerApi.json b/接口文档/app/app_swaggerApi.json new file mode 100644 index 00000000..eadc46bb --- /dev/null +++ b/接口文档/app/app_swaggerApi.json @@ -0,0 +1,13315 @@ +{ + "swagger": "2.0", + "info": { + "title": "crmeb_java_front", + "version": "last", + "description": "crmeb_java_front" + }, + "basePath": "/", + "tags": [ + { + "name": "上传文件", + "description": "Upload Front Controller" + }, + { + "name": "二维码服务", + "description": "Qr Code Controller" + }, + { + "name": "优惠券", + "description": "Coupon Controller" + }, + { + "name": "商品", + "description": "Product Controller" + }, + { + "name": "商品 -- 购物车", + "description": "Cart Controller" + }, + { + "name": "城市服务", + "description": "City Controller" + }, + { + "name": "客服", + "description": "Store Service Controller" + }, + { + "name": "微信 -- 开放平台", + "description": "We Chat Controller" + }, + { + "name": "提货点", + "description": "Store Controller" + }, + { + "name": "文章", + "description": "Article Controller" + }, + { + "name": "物流公司", + "description": "Express Controller" + }, + { + "name": "用户 -- 充值", + "description": "User Recharge Controller" + }, + { + "name": "用户 -- 地址", + "description": "User Address Controller" + }, + { + "name": "用户 -- 点赞/收藏", + "description": "User Collect Controller" + }, + { + "name": "用户 -- 用户中心", + "description": "User Controller" + }, + { + "name": "用户 -- 登录注册", + "description": "Login Controller" + }, + { + "name": "用户 -- 签到", + "description": "User Sign Controller" + }, + { + "name": "营销 -- 优惠券", + "description": "User Coupon Controller" + }, + { + "name": "订单", + "description": "Store Order Controller" + }, + { + "name": "首页", + "description": "Index Controller" + } + ], + "schemes": [ + "http" + ], + "paths": { + "/api/front/user/upload/image": { + "post": { + "tags": [ + "上传文件" + ], + "summary": "图片上传", + "consumes": [ + "multipart/form-data" + ], + "parameters": [ + { + "name": "model", + "in": "query", + "required": false, + "description": "模块 用户user,商品product,微信wechat,news文章", + "type": "string" + }, + { + "name": "pid", + "in": "query", + "required": false, + "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ", + "type": "string" + }, + { + "name": "multipart", + "in": "formData", + "required": false, + "description": "multipart", + "type": "file" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "extName": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64" + }, + "serverPath": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "title": "FileResultVo", + "$$ref": "#/definitions/FileResultVo" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«FileResultVo»", + "$$ref": "#/definitions/CommonResult«FileResultVo»" + } + } + } + } + }, + "/api/front/qrcode/get": { + "post": { + "tags": [ + "二维码服务" + ], + "summary": "获取二维码", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/front/qrcode/base64": { + "post": { + "tags": [ + "二维码服务" + ], + "summary": "远程图片转base64", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "url", + "in": "query", + "required": false, + "description": "url", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/front/coupons": { + "get": { + "tags": [ + "优惠券" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "productId", + "in": "query", + "required": false, + "description": "productId", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "type", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "day": { + "type": "integer", + "format": "int32", + "description": "天数" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "优惠券表ID" + }, + "isDel": { + "type": "boolean", + "description": "是否删除 状态(0:否,1:是)" + }, + "isFixedTime": { + "type": "boolean", + "description": "是否固定使用时间, 默认0 否, 1是" + }, + "isLimited": { + "type": "boolean", + "description": "是否限量, 默认0 不限量, 1限量" + }, + "isUse": { + "type": "boolean", + "description": "是否已领取未使用" + }, + "lastTotal": { + "type": "integer", + "format": "int32", + "description": "剩余数量" + }, + "minPrice": { + "type": "number", + "description": "最低消费,0代表不限制" + }, + "money": { + "type": "number", + "description": "兑换的优惠券面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "primaryKey": { + "type": "string", + "description": "所属商品id / 分类id" + }, + "receiveEndTime": { + "type": "string", + "format": "date-time", + "description": "可领取结束时间" + }, + "receiveStartTime": { + "type": "string", + "format": "date-time", + "description": "可领取开始时间" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态(0:关闭,1:开启)" + }, + "total": { + "type": "integer", + "format": "int32", + "description": "发放总数" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "优惠券类型 0-通用 1 普通券, 2 新人券, 3 购买商品赠送券, 4 付费会员券" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "useEndTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 结束时间" + }, + "useStartTime": { + "type": "string", + "format": "date-time", + "description": "可使用时间范围 开始时间" + } + }, + "title": "StoreCoupon对象", + "description": "优惠券表", + "$$ref": "#/definitions/StoreCoupon对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«StoreCoupon对象»»", + "$$ref": "#/definitions/CommonResult«List«StoreCoupon对象»»" + } + } + } + } + }, + "/api/front/coupons/order": { + "get": { + "tags": [ + "优惠券" + ], + "summary": "当前购物车可用优惠券", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "cartId", + "in": "query", + "required": false, + "description": "cartId", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "primaryKey" + ], + "properties": { + "cid": { + "type": "integer", + "format": "int32", + "description": "兑换的项目id" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券发布id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "id" + }, + "minPrice": { + "type": "number", + "description": "最低消费多少金额可用优惠券" + }, + "money": { + "type": "number", + "description": "优惠券的面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "receiveEndTime": { + "type": "string", + "format": "date-time", + "description": "过期时间" + }, + "receiveStartTime": { + "type": "string", + "format": "date-time", + "description": "开始使用时间" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态(0:未使用,1:已使用, 2:已失效)" + }, + "type": { + "type": "string", + "description": "获取方式" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "领取人id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "useTime": { + "type": "string", + "format": "date-time", + "description": "使用时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCouponUserOrder对象", + "description": "下单之前可以使用的优惠券对象", + "$$ref": "#/definitions/StoreCouponUserOrder对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«StoreCouponUserOrder对象»»", + "$$ref": "#/definitions/CommonResult«List«StoreCouponUserOrder对象»»" + } + } + } + } + }, + "/api/front/product/hot": { + "get": { + "tags": [ + "商品" + ], + "summary": "为你推荐", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ProductResponse对象»", + "$$ref": "#/definitions/CommonPage«ProductResponse对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ProductResponse对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ProductResponse对象»»" + } + } + } + } + }, + "/api/front/products": { + "get": { + "tags": [ + "商品" + ], + "summary": "商品列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "cid", + "in": "query", + "required": false, + "description": "分类id", + "type": "string" + }, + { + "name": "keyword", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "news", + "in": "query", + "required": false, + "description": "是否新品", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "priceOrder", + "in": "query", + "required": false, + "description": "价格排序", + "type": "string" + }, + { + "name": "salesOrder", + "in": "query", + "required": false, + "description": "销量排序", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ProductResponse对象»", + "$$ref": "#/definitions/CommonPage«ProductResponse对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ProductResponse对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ProductResponse对象»»" + } + } + } + } + }, + "/api/front/reply/list/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "商品评论列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "评价等级|0=全部,1=好评,2=中评,3=差评", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "comment": { + "type": "string", + "description": "评论内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "评论时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "评论ID" + }, + "isDel": { + "type": "boolean", + "description": "0未删除1已删除" + }, + "isReply": { + "type": "boolean", + "description": "0未回复1已回复" + }, + "merchantReplyContent": { + "type": "string", + "description": "管理员回复内容" + }, + "merchantReplyTime": { + "type": "integer", + "format": "int32", + "description": "管理员回复时间" + }, + "nickname": { + "type": "string", + "description": "用户名称" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "pics": { + "type": "array", + "description": "评论图片", + "items": { + "type": "string" + } + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "productScore": { + "type": "integer", + "format": "int32", + "description": "商品分数" + }, + "replyType": { + "type": "string", + "description": "某种商品类型(普通商品、秒杀商品)" + }, + "serviceScore": { + "type": "integer", + "format": "int32", + "description": "服务分数" + }, + "storeProduct": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProduct对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProduct对象" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreProductReplyResponse", + "$$ref": "#/definitions/StoreProductReplyResponse" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreProductReplyResponse»", + "$$ref": "#/definitions/CommonPage«StoreProductReplyResponse»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreProductReplyResponse»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»" + } + } + } + } + }, + "/api/front/reply/config/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "商品评论数量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "goodCount": { + "type": "integer", + "format": "int64", + "description": "好评总数" + }, + "inCount": { + "type": "integer", + "format": "int64", + "description": "中评总数" + }, + "poorCount": { + "type": "integer", + "format": "int64", + "description": "差评总数" + }, + "replyChance": { + "type": "string", + "description": "好评率" + }, + "replyStar": { + "type": "integer", + "format": "int32", + "description": "评分星数" + }, + "sumCount": { + "type": "integer", + "format": "int64", + "description": "评论总数" + } + }, + "title": "StoreProductReplayCountResponse对象", + "description": "产品评价数量和好评度", + "$$ref": "#/definitions/StoreProductReplayCountResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreProductReplayCountResponse对象»", + "$$ref": "#/definitions/CommonResult«StoreProductReplayCountResponse对象»" + } + } + } + } + }, + "/api/front/product/detail/{id}": { + "get": { + "tags": [ + "商品" + ], + "summary": "商品详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "activity": { + "type": "array", + "description": "拼团,砍价,秒杀商品集合", + "items": { + "type": "object" + } + }, + "base64Image": { + "type": "string", + "description": "主图base64" + }, + "goodList": { + "type": "array", + "description": "优品推荐列表", + "items": { + "type": "object", + "properties": { + "activity": { + "type": "array", + "description": "秒杀,团购,砍价", + "items": { + "type": "object" + } + }, + "checkCoupon": { + "type": "boolean", + "description": "可用优惠券" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "id" + }, + "image": { + "type": "string", + "description": "img Url" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价" + }, + "storeName": { + "type": "string", + "description": "商品名称" + } + }, + "title": "StoreProductRecommendResponse", + "$$ref": "#/definitions/StoreProductRecommendResponse" + } + }, + "priceName": { + "type": "string", + "description": "返佣金额区间" + }, + "productAttr": { + "type": "array", + "description": "产品属性", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "productValue": { + "type": "object", + "description": "商品属性详情", + "additionalProperties": { + "type": "object" + } + }, + "reply": { + "type": "object", + "description": "最新评价" + }, + "replyChance": { + "type": "integer", + "format": "int32", + "description": "好评率" + }, + "replyCount": { + "type": "integer", + "format": "int32", + "description": "评价数量" + }, + "storeInfo": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cateIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "cateValues": { + "type": "string", + "description": "分类中文" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "content": { + "type": "string", + "description": "商品描述" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "userCollect": { + "type": "boolean", + "description": "收藏标识" + }, + "userLike": { + "type": "boolean", + "description": "点赞标识" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductStoreInfoResponse对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProductStoreInfoResponse对象" + } + }, + "title": "ProductDetailResponse对象", + "description": "商品详情H5", + "$$ref": "#/definitions/ProductDetailResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«ProductDetailResponse对象»", + "$$ref": "#/definitions/CommonResult«ProductDetailResponse对象»" + } + } + } + } + }, + "/api/front/category": { + "get": { + "tags": [ + "商品" + ], + "summary": "获取分类", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "child": { + "type": "array", + "items": { + "originalRef": "CategoryTreeVo", + "$ref": "#/definitions/CategoryTreeVo" + } + }, + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "CategoryTreeVo", + "$$ref": "#/definitions/CategoryTreeVo" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«CategoryTreeVo»»", + "$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»" + } + } + } + } + }, + "/api/front/cart/num": { + "post": { + "tags": [ + "商品 -- 购物车" + ], + "summary": "修改", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + }, + { + "name": "number", + "in": "query", + "required": false, + "description": "number", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/cart/list": { + "get": { + "tags": [ + "商品 -- 购物车" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "isValid", + "in": "query", + "required": false, + "description": "isValid", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addTime": { + "type": "string" + }, + "attrStatus": { + "type": "boolean", + "description": "商品是否有效" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "brokerage": { + "type": "number", + "description": "一级分佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级分佣" + }, + "cartNum": { + "type": "integer", + "format": "int32", + "description": "商品数量" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团id" + }, + "costPrice": { + "type": "number" + }, + "id": { + "type": "integer", + "format": "int64", + "description": "购物车表ID" + }, + "isNew": { + "type": "boolean", + "description": "是否为立即购买" + }, + "isReply": { + "type": "integer", + "format": "int32" + }, + "productAttrUnique": { + "type": "string", + "description": "商品属性" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "productInfo": { + "type": "object", + "properties": { + "attrInfo": { + "type": "object", + "properties": { + "attrValue": { + "type": "string", + "description": "产品属性值和属性名对应关系" + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValue对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValue对象" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductCartProductInfoResponse对象", + "description": "商品信息,购物车列表使用", + "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "truePrice": { + "type": "number" + }, + "trueStock": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "description": "类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "vipTruePrice": { + "type": "number" + } + }, + "title": "StoreCartResponse", + "description": "购物车ListResponse", + "$$ref": "#/definitions/StoreCartResponse" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreCartResponse»", + "$$ref": "#/definitions/CommonPage«StoreCartResponse»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreCartResponse»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreCartResponse»»" + } + } + } + } + }, + "/api/front/cart/delete": { + "post": { + "tags": [ + "商品 -- 购物车" + ], + "summary": "删除", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "ids", + "in": "query", + "required": false, + "description": "ids", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/cart/count": { + "get": { + "tags": [ + "商品 -- 购物车" + ], + "summary": "数量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "numType", + "in": "query", + "required": false, + "description": "numType", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«object,object»»", + "$$ref": "#/definitions/CommonResult«Map«object,object»»" + } + } + } + } + }, + "/api/front/cart/save": { + "post": { + "tags": [ + "商品 -- 购物车" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "cartNum", + "in": "query", + "required": false, + "description": "商品数量", + "type": "string" + }, + { + "name": "isNew", + "in": "query", + "required": false, + "description": "是否为立即购买", + "type": "string" + }, + { + "name": "productAttrUnique", + "in": "query", + "required": false, + "description": "商品属性 -- attr 对象的id", + "type": "string" + }, + { + "name": "productId", + "in": "query", + "required": false, + "description": "商品ID", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,string»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,string»»" + } + } + } + } + }, + "/api/front/cart/resetcart": { + "post": { + "tags": [ + "商品 -- 购物车" + ], + "summary": "购物车重选提交", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "购物车id" + }, + "num": { + "type": "integer", + "format": "int32", + "description": "购物车数量" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "unique": { + "type": "integer", + "format": "int32", + "description": "AttrValue Id" + } + }, + "title": "CartResetRequest", + "$$ref": "#/definitions/CartResetRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/city/list": { + "get": { + "tags": [ + "城市服务" + ], + "summary": "树形结构", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/user/service/lst": { + "get": { + "tags": [ + "客服" + ], + "summary": "客服列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "客服头像" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "customer": { + "type": "boolean", + "description": "是否展示统计管理" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服id" + }, + "nickname": { + "type": "string", + "description": "代理名称" + }, + "notify": { + "type": "integer", + "format": "int32", + "description": "订单通知1开启0关闭" + }, + "status": { + "type": "boolean", + "description": "0隐藏1显示" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "客服uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreService对象", + "description": "客服表", + "$$ref": "#/definitions/StoreService对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«StoreService对象»»", + "$$ref": "#/definitions/CommonResult«List«StoreService对象»»" + } + } + } + } + }, + "/api/front/user/service/record/{toUid}": { + "get": { + "tags": [ + "客服" + ], + "summary": "聊天记录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "toUid", + "in": "path", + "description": "聊天人编号", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "客服用户对话记录表ID" + }, + "msn": { + "type": "string", + "description": "消息内容" + }, + "msnType": { + "type": "boolean", + "description": "消息类型 1=文字 2=表情 3=图片 4=语音" + }, + "remind": { + "type": "boolean", + "description": "是否提醒过" + }, + "toUid": { + "type": "integer", + "format": "int32", + "description": "接收人uid" + }, + "type": { + "type": "boolean", + "description": "是否已读(0:否;1:是;)" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "发送人uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "StoreServiceLog对象", + "description": "客服用户对话记录表", + "$$ref": "#/definitions/StoreServiceLog对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreServiceLog对象»", + "$$ref": "#/definitions/CommonPage«StoreServiceLog对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreServiceLog对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»" + } + } + } + } + }, + "/api/front/wechat/getLogo": { + "get": { + "tags": [ + "微信 -- 开放平台" + ], + "summary": "小程序获取授权logo", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,string»»", + "$$ref": "#/definitions/CommonResult«Map«string,string»»" + } + } + } + } + }, + "/api/front/wechat/authorize/login": { + "get": { + "tags": [ + "微信 -- 开放平台" + ], + "summary": "微信登录公共号授权登录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "code", + "in": "query", + "required": false, + "description": "code", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "expiresTime": { + "type": "string", + "format": "date-time", + "description": "用户登录密钥到期时间" + }, + "token": { + "type": "string", + "description": "用户登录密钥" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "title": "LoginResponse", + "description": "用户登录返回数据", + "$$ref": "#/definitions/LoginResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«LoginResponse»", + "$$ref": "#/definitions/CommonResult«LoginResponse»" + } + } + } + } + }, + "/api/front/wechat/authorize/program/login": { + "post": { + "tags": [ + "微信 -- 开放平台" + ], + "summary": "微信登录小程序授权登录", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "code", + "in": "query", + "required": false, + "description": "code", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "三方用户注册对象", + "schema": { + "type": "object", + "required": [ + "avatar", + "nickName", + "sex", + "spread_spid" + ], + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "city": { + "type": "string", + "description": "普通用户个人资料填写的城市" + }, + "country": { + "type": "string", + "description": "国家,如中国为CN" + }, + "nickName": { + "type": "string", + "description": "用户昵称" + }, + "province": { + "type": "string", + "description": "用户个人资料填写的省份" + }, + "sex": { + "type": "string", + "description": "性别" + }, + "spread_spid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + } + }, + "title": "RegisterThirdUserRequest对象", + "description": "三方用户注册对象", + "$$ref": "#/definitions/RegisterThirdUserRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "expiresTime": { + "type": "string", + "format": "date-time", + "description": "用户登录密钥到期时间" + }, + "token": { + "type": "string", + "description": "用户登录密钥" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "title": "LoginResponse", + "description": "用户登录返回数据", + "$$ref": "#/definitions/LoginResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«LoginResponse»", + "$$ref": "#/definitions/CommonResult«LoginResponse»" + } + } + } + } + }, + "/api/front/wechat/config": { + "get": { + "tags": [ + "微信 -- 开放平台" + ], + "summary": "获取微信公众号js配置", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "url", + "in": "query", + "required": false, + "description": "页面地址url", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/wechat/authorize/get": { + "get": { + "tags": [ + "微信 -- 开放平台" + ], + "summary": "获取授权页面跳转地址", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/wechat/info/{id}": { + "get": { + "tags": [ + "微信 -- 开放平台" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "回复内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "添加时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "模板id" + }, + "name": { + "type": "string", + "description": "模板名" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态" + }, + "tempId": { + "type": "string", + "description": "模板ID" + }, + "tempKey": { + "type": "string", + "description": "模板编号" + }, + "type": { + "type": "boolean", + "description": "0=订阅消息,1=微信模板消息" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + } + }, + "title": "TemplateMessage对象", + "description": "微信模板", + "$$ref": "#/definitions/TemplateMessage对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«TemplateMessage对象»", + "$$ref": "#/definitions/CommonResult«TemplateMessage对象»" + } + } + } + } + }, + "/api/front/store/list": { + "post": { + "tags": [ + "提货点" + ], + "summary": "附近的提货点", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "latitude", + "in": "query", + "required": false, + "description": "经度", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "longitude", + "in": "query", + "required": false, + "description": "纬度", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "required": [ + "list" + ], + "properties": { + "list": { + "type": "array", + "description": "附近的门店列表", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "省市区" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "dayTime": { + "type": "string", + "description": "每日营业开关时间" + }, + "detailedAddress": { + "type": "string", + "description": "详细地址" + }, + "distance": { + "type": "string", + "description": "距离,单位米" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "门店logo" + }, + "introduction": { + "type": "string", + "description": "简介" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "name": { + "type": "string", + "description": "门店名称" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "修改时间" + }, + "validTime": { + "type": "string", + "description": "核销有效日期" + } + }, + "title": "SystemStoreNearVo对象", + "description": "门店自提", + "$$ref": "#/definitions/SystemStoreNearVo对象" + } + }, + "tengXunMapKey": { + "type": "string", + "description": "腾讯地图key" + } + }, + "title": "StoreNearRequest对象", + "description": "附近的门店", + "$$ref": "#/definitions/StoreNearRequest对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«StoreNearRequest对象»", + "$$ref": "#/definitions/CommonResult«StoreNearRequest对象»" + } + } + } + } + }, + "/api/front/article/category/list": { + "get": { + "tags": [ + "文章" + ], + "summary": "分类列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "child": { + "type": "array", + "items": { + "originalRef": "CategoryTreeVo", + "$ref": "#/definitions/CategoryTreeVo" + } + }, + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置" + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "CategoryTreeVo", + "$$ref": "#/definitions/CategoryTreeVo" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«CategoryTreeVo»", + "$$ref": "#/definitions/CommonPage«CategoryTreeVo»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«CategoryTreeVo»»", + "$$ref": "#/definitions/CommonResult«CommonPage«CategoryTreeVo»»" + } + } + } + } + }, + "/api/front/article/list/{cid}": { + "get": { + "tags": [ + "文章" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "cid", + "in": "path", + "description": "cid", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "author": { + "type": "string", + "description": "文章作者" + }, + "categoryName": { + "type": "string", + "description": "分类" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "hide": { + "type": "boolean", + "description": "是否隐藏" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "文章管理ID" + }, + "imageInput": { + "type": "array", + "description": "文章图片 前端用", + "items": { + "type": "string" + } + }, + "imageInputs": { + "type": "string", + "description": "文章图片 后端用" + }, + "isBanner": { + "type": "boolean", + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "description": "是否热门(小程序)" + }, + "mediaId": { + "type": "string", + "description": "微信素材媒体id" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品关联id" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "url": { + "type": "string", + "description": "原文链接" + }, + "visit": { + "type": "string", + "description": "浏览次数" + } + }, + "title": "ArticleVo对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleVo对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ArticleVo对象»", + "$$ref": "#/definitions/CommonPage«ArticleVo对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ArticleVo对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»" + } + } + } + } + }, + "/api/front/article/hot/list": { + "get": { + "tags": [ + "文章" + ], + "summary": "热门列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "author": { + "type": "string", + "description": "文章作者" + }, + "categoryName": { + "type": "string", + "description": "分类" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "hide": { + "type": "boolean", + "description": "是否隐藏" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "文章管理ID" + }, + "imageInput": { + "type": "array", + "description": "文章图片 前端用", + "items": { + "type": "string" + } + }, + "imageInputs": { + "type": "string", + "description": "文章图片 后端用" + }, + "isBanner": { + "type": "boolean", + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "description": "是否热门(小程序)" + }, + "mediaId": { + "type": "string", + "description": "微信素材媒体id" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品关联id" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "url": { + "type": "string", + "description": "原文链接" + }, + "visit": { + "type": "string", + "description": "浏览次数" + } + }, + "title": "ArticleVo对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleVo对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ArticleVo对象»", + "$$ref": "#/definitions/CommonPage«ArticleVo对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ArticleVo对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»" + } + } + } + } + }, + "/api/front/article/info": { + "get": { + "tags": [ + "文章" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "文章ID", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "author": { + "type": "string", + "description": "文章作者" + }, + "categoryName": { + "type": "string", + "description": "分类" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "hide": { + "type": "boolean", + "description": "是否隐藏" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "文章管理ID" + }, + "imageInput": { + "type": "array", + "description": "文章图片 前端用", + "items": { + "type": "string" + } + }, + "imageInputs": { + "type": "string", + "description": "文章图片 后端用" + }, + "isBanner": { + "type": "boolean", + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "description": "是否热门(小程序)" + }, + "mediaId": { + "type": "string", + "description": "微信素材媒体id" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品关联id" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "url": { + "type": "string", + "description": "原文链接" + }, + "visit": { + "type": "string", + "description": "浏览次数" + } + }, + "title": "ArticleVo对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleVo对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«ArticleVo对象»", + "$$ref": "#/definitions/CommonResult«ArticleVo对象»" + } + } + } + } + }, + "/api/front/article/banner/list": { + "get": { + "tags": [ + "文章" + ], + "summary": "轮播列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "adminId": { + "type": "integer", + "format": "int32", + "description": "管理员id" + }, + "author": { + "type": "string", + "description": "文章作者" + }, + "categoryName": { + "type": "string", + "description": "分类" + }, + "cid": { + "type": "string", + "description": "分类id" + }, + "content": { + "type": "string", + "description": "文章内容" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "hide": { + "type": "boolean", + "description": "是否隐藏" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "文章管理ID" + }, + "imageInput": { + "type": "array", + "description": "文章图片 前端用", + "items": { + "type": "string" + } + }, + "imageInputs": { + "type": "string", + "description": "文章图片 后端用" + }, + "isBanner": { + "type": "boolean", + "description": "是否轮播图(小程序)" + }, + "isHot": { + "type": "boolean", + "description": "是否热门(小程序)" + }, + "mediaId": { + "type": "string", + "description": "微信素材媒体id" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品关联id" + }, + "shareSynopsis": { + "type": "string", + "description": "文章分享简介" + }, + "shareTitle": { + "type": "string", + "description": "文章分享标题" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态" + }, + "synopsis": { + "type": "string", + "description": "文章简介" + }, + "title": { + "type": "string", + "description": "文章标题" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "url": { + "type": "string", + "description": "原文链接" + }, + "visit": { + "type": "string", + "description": "浏览次数" + } + }, + "title": "ArticleVo对象", + "description": "文章管理表", + "$$ref": "#/definitions/ArticleVo对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«ArticleVo对象»", + "$$ref": "#/definitions/CommonPage«ArticleVo对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«ArticleVo对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»" + } + } + } + } + }, + "/api/front/logistics": { + "get": { + "tags": [ + "物流公司" + ], + "summary": "列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "快递公司简称" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "快递公司id" + }, + "isShow": { + "type": "boolean", + "description": "是否显示" + }, + "name": { + "type": "string", + "description": "快递公司全称" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + } + }, + "title": "Express对象", + "description": "快递公司表", + "$$ref": "#/definitions/Express对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«Express对象»", + "$$ref": "#/definitions/CommonPage«Express对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«Express对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«Express对象»»" + } + } + } + } + }, + "/api/front/recharge/transferIn": { + "post": { + "tags": [ + "用户 -- 充值" + ], + "summary": "余额转入", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "price", + "in": "query", + "required": false, + "description": "price", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/recharge/index": { + "get": { + "tags": [ + "用户 -- 充值" + ], + "summary": "充值额度选择", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "giveMoney": { + "type": "string", + "description": "赠送金额" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "充值模板id" + }, + "price": { + "type": "string", + "description": "充值金额" + } + }, + "title": "UserRechargeResponse对象", + "description": "c", + "$$ref": "#/definitions/UserRechargeResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserRechargeResponse对象»", + "$$ref": "#/definitions/CommonResult«UserRechargeResponse对象»" + } + } + } + } + }, + "/api/front/recharge/wechat": { + "post": { + "tags": [ + "用户 -- 充值" + ], + "summary": "公众号充值", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "充值", + "schema": { + "type": "object", + "properties": { + "from": { + "type": "string", + "description": "来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序" + }, + "payType": { + "type": "string", + "description": "支付方式| weixin = 微信,alipay = 支付宝" + }, + "price": { + "type": "number", + "description": "充值金额" + }, + "rechar_id": { + "type": "integer", + "format": "int32", + "description": "选择金额组合数据id" + } + }, + "title": "UserRechargeRequest对象", + "description": "充值", + "$$ref": "#/definitions/UserRechargeRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "appId": { + "type": "string", + "description": "调用接口提交的公众账号ID" + }, + "h5PayUrl": { + "type": "string", + "description": "H5支付的跳转url" + }, + "nonceStr": { + "type": "string", + "description": "随机字符串" + }, + "package": { + "type": "string", + "description": "订单详情扩展字符串" + }, + "paySign": { + "type": "string", + "description": "签名" + }, + "prepayId": { + "type": "string", + "description": "微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时,针对H5支付此参数无特殊用途" + }, + "signType": { + "type": "string", + "description": "签名方式" + }, + "timeStamp": { + "type": "integer", + "format": "int32", + "description": "当前的时间,其他详见时间戳规则" + } + }, + "title": "UserRechargePaymentResponse对象", + "description": "充值返回对象", + "$$ref": "#/definitions/UserRechargePaymentResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserRechargePaymentResponse对象»", + "$$ref": "#/definitions/CommonResult«UserRechargePaymentResponse对象»" + } + } + } + } + }, + "/api/front/recharge/routine": { + "post": { + "tags": [ + "用户 -- 充值" + ], + "summary": "小程序充值", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "充值", + "schema": { + "type": "object", + "properties": { + "from": { + "type": "string", + "description": "来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序" + }, + "payType": { + "type": "string", + "description": "支付方式| weixin = 微信,alipay = 支付宝" + }, + "price": { + "type": "number", + "description": "充值金额" + }, + "rechar_id": { + "type": "integer", + "format": "int32", + "description": "选择金额组合数据id" + } + }, + "title": "UserRechargeRequest对象", + "description": "充值", + "$$ref": "#/definitions/UserRechargeRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,object»»", + "$$ref": "#/definitions/CommonResult«Map«string,object»»" + } + } + } + } + }, + "/api/front/address/edit": { + "post": { + "tags": [ + "用户 -- 地址" + ], + "summary": "保存", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户地址", + "schema": { + "type": "object", + "required": [ + "address", + "detail", + "isDefault", + "phone", + "realName" + ], + "properties": { + "address": { + "type": "object", + "required": [ + "city", + "district", + "province" + ], + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "province": { + "type": "string", + "description": "收货人所在省" + } + }, + "title": "UserAddressCityRequest对象", + "description": "用户地址城市", + "$$ref": "#/definitions/UserAddressCityRequest对象" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "example": false, + "description": "是否默认" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + } + }, + "title": "UserAddressRequest对象", + "description": "用户地址", + "$$ref": "#/definitions/UserAddressRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "description": "是否默认" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "postCode": { + "type": "integer", + "format": "int32", + "description": "邮编" + }, + "province": { + "type": "string", + "description": "收货人所在省" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserAddress对象", + "description": "用户地址表", + "$$ref": "#/definitions/UserAddress对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserAddress对象»", + "$$ref": "#/definitions/CommonResult«UserAddress对象»" + } + } + } + } + }, + "/api/front/address/list": { + "get": { + "tags": [ + "用户 -- 地址" + ], + "summary": "列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "description": "是否默认" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "postCode": { + "type": "integer", + "format": "int32", + "description": "邮编" + }, + "province": { + "type": "string", + "description": "收货人所在省" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserAddress对象", + "description": "用户地址表", + "$$ref": "#/definitions/UserAddress对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserAddress对象»", + "$$ref": "#/definitions/CommonPage«UserAddress对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserAddress对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserAddress对象»»" + } + } + } + } + }, + "/api/front/address/del": { + "post": { + "tags": [ + "用户 -- 地址" + ], + "summary": "删除", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户地址", + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + } + }, + "title": "UserAddressDelRequest对象", + "description": "用户地址", + "$$ref": "#/definitions/UserAddressDelRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/address/detail/{id}": { + "get": { + "tags": [ + "用户 -- 地址" + ], + "summary": "获取单个地址", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "description": "是否默认" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "postCode": { + "type": "integer", + "format": "int32", + "description": "邮编" + }, + "province": { + "type": "string", + "description": "收货人所在省" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserAddress对象", + "description": "用户地址表", + "$$ref": "#/definitions/UserAddress对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserAddress对象»", + "$$ref": "#/definitions/CommonResult«UserAddress对象»" + } + } + } + } + }, + "/api/front/address/default": { + "get": { + "tags": [ + "用户 -- 地址" + ], + "summary": "获取默认地址", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "description": "是否默认" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "postCode": { + "type": "integer", + "format": "int32", + "description": "邮编" + }, + "province": { + "type": "string", + "description": "收货人所在省" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserAddress对象", + "description": "用户地址表", + "$$ref": "#/definitions/UserAddress对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserAddress对象»", + "$$ref": "#/definitions/CommonResult«UserAddress对象»" + } + } + } + } + }, + "/api/front/address/default/set": { + "post": { + "tags": [ + "用户 -- 地址" + ], + "summary": "设置默认地址", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户地址", + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + } + }, + "title": "UserAddressDelRequest对象", + "description": "用户地址", + "$$ref": "#/definitions/UserAddressDelRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "description": "是否默认" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "postCode": { + "type": "integer", + "format": "int32", + "description": "邮编" + }, + "province": { + "type": "string", + "description": "收货人所在省" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserAddress对象", + "description": "用户地址表", + "$$ref": "#/definitions/UserAddress对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserAddress对象»", + "$$ref": "#/definitions/CommonResult«UserAddress对象»" + } + } + } + } + }, + "/api/front/collect/del": { + "post": { + "tags": [ + "用户 -- 点赞/收藏" + ], + "summary": "取消收藏产品", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品点赞和收藏表", + "schema": { + "type": "object", + "properties": { + "category": { + "type": "string", + "description": "产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品ID" + } + }, + "title": "UserCollectRequest对象", + "description": "商品点赞和收藏表", + "$$ref": "#/definitions/UserCollectRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/collect/all": { + "post": { + "tags": [ + "用户 -- 点赞/收藏" + ], + "summary": "批量收藏", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品点赞和收藏表", + "schema": { + "type": "object", + "properties": { + "category": { + "type": "string", + "description": "产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)" + }, + "id": { + "type": "array", + "description": "商品ID", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "title": "StoreProductRelationRequest对象", + "description": "商品点赞和收藏表", + "$$ref": "#/definitions/StoreProductRelationRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/collect/add": { + "post": { + "tags": [ + "用户 -- 点赞/收藏" + ], + "summary": "添加收藏产品", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "商品点赞和收藏表", + "schema": { + "type": "object", + "properties": { + "category": { + "type": "string", + "description": "产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品ID" + } + }, + "title": "UserCollectRequest对象", + "description": "商品点赞和收藏表", + "$$ref": "#/definitions/UserCollectRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/collect/user": { + "get": { + "tags": [ + "用户 -- 点赞/收藏" + ], + "summary": "获取收藏产品", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "activity": { + "type": "string", + "description": "活动显示排序1=秒杀,2=砍价,3=拼团" + }, + "addTime": { + "type": "integer", + "format": "int32", + "description": "添加时间" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "browse": { + "type": "integer", + "format": "int32", + "description": "浏览量" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "codePath": { + "type": "string", + "description": "商品二维码地址(用户小程序海报)" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "ficti": { + "type": "integer", + "format": "int32", + "description": "虚拟销量" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isBargain": { + "type": "boolean", + "description": "砍价状态 0未开启 1开启" + }, + "isBenefit": { + "type": "boolean", + "description": "是否优惠" + }, + "isBest": { + "type": "boolean", + "description": "是否精品" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isGood": { + "type": "boolean", + "description": "是否优品推荐" + }, + "isHot": { + "type": "boolean", + "description": "是否热卖" + }, + "isNew": { + "type": "boolean", + "description": "是否新品" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSeckill": { + "type": "boolean", + "description": "秒杀状态 0 未开启 1已开启" + }, + "isShow": { + "type": "boolean", + "description": "状态(0:未上架,1:上架)" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "merUse": { + "type": "boolean", + "description": "商户是否代理 0不可代理1可代理" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "soureLink": { + "type": "string", + "description": "淘宝京东1688类型" + }, + "specType": { + "type": "boolean", + "description": "规格 0单 1多" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "videoLink": { + "type": "string", + "description": "主图视频链接" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProduct对象", + "description": "商品表", + "$$ref": "#/definitions/StoreProduct对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«StoreProduct对象»", + "$$ref": "#/definitions/CommonPage«StoreProduct对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«StoreProduct对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«StoreProduct对象»»" + } + } + } + } + }, + "/api/front/user/level/grade": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "会员等级列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "discount": { + "type": "number", + "description": "享受折扣" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "购买金额|经验达到" + }, + "grade": { + "type": "integer", + "format": "int32", + "description": "会员等级" + }, + "icon": { + "type": "string", + "description": "会员图标" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "image": { + "type": "string", + "description": "会员卡背景" + }, + "isDel": { + "type": "boolean", + "description": "是否删除.1=删除,0=未删除" + }, + "isShow": { + "type": "boolean", + "description": "是否显示 1=显示,0=隐藏" + }, + "memo": { + "type": "string", + "description": "说明" + }, + "name": { + "type": "string", + "description": "会员名称" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "SystemUserLevel对象", + "description": "设置用户等级表", + "$$ref": "#/definitions/SystemUserLevel对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemUserLevel对象»", + "$$ref": "#/definitions/CommonPage«SystemUserLevel对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemUserLevel对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»" + } + } + } + } + }, + "/api/front/brokerage_rank": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "佣金排行", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "type", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«User对象»»", + "$$ref": "#/definitions/CommonResult«List«User对象»»" + } + } + } + } + }, + "/api/front/user/edit": { + "post": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "修改个人资料", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "修改个人资料", + "schema": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + } + }, + "title": "UserEditRequest对象", + "description": "修改个人资料", + "$$ref": "#/definitions/UserEditRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/user/brokerageRankNumber": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "当前用户在佣金排行第几名", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "type", + "in": "query", + "required": false, + "description": "type", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«int»", + "$$ref": "#/definitions/CommonResult«int»" + } + } + } + } + }, + "/api/front/userinfo": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "当前登录用户信息", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«User对象»", + "$$ref": "#/definitions/CommonResult«User对象»" + } + } + } + } + }, + "/api/front/register/reset": { + "post": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "手机号修改密码", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "修改密码", + "schema": { + "type": "object", + "required": [ + "account", + "captcha", + "password" + ], + "properties": { + "account": { + "type": "string", + "description": "手机号" + }, + "captcha": { + "type": "string", + "description": "验证码" + }, + "password": { + "type": "string", + "description": "密码" + } + }, + "title": "PasswordRequest对象", + "description": "修改密码", + "$$ref": "#/definitions/PasswordRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/rank": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广人排行", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "type", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«User对象»»", + "$$ref": "#/definitions/CommonResult«List«User对象»»" + } + } + } + } + }, + "/api/front/spread/count/{type}": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广佣金/提现总和", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "type", + "in": "path", + "description": "类型 佣金类型3=佣金,4=提现", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,bigdecimal»»", + "$$ref": "#/definitions/CommonResult«Map«string,bigdecimal»»" + } + } + } + } + }, + "/api/front/spread/commission/{type}": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广佣金明细", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "type", + "in": "path", + "description": "类型 佣金类型|0=全部,1=消费,2=充值,3=返佣,4=提现", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "月份" + }, + "list": { + "type": "array", + "description": "数据", + "items": { + "type": "object", + "properties": { + "add_time": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "balance": { + "type": "number", + "description": "剩余" + }, + "category": { + "type": "string", + "description": "明细种类" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户账单id" + }, + "linkId": { + "type": "string", + "description": "关联id" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "number": { + "type": "number", + "description": "明细数字" + }, + "pm": { + "type": "integer", + "format": "int32", + "description": "0 = 支出 1 = 获得" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "0 = 带确定 1 = 有效 -1 = 无效" + }, + "title": { + "type": "string", + "description": "账单标题" + }, + "type": { + "type": "string", + "description": "明细类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserBill对象", + "description": "用户账单表", + "$$ref": "#/definitions/UserBill对象" + } + } + }, + "title": "UserSpreadCommissionResponse对象", + "description": "推广佣金明细", + "$$ref": "#/definitions/UserSpreadCommissionResponse对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserSpreadCommissionResponse对象»", + "$$ref": "#/definitions/CommonPage«UserSpreadCommissionResponse对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserSpreadCommissionResponse对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserSpreadCommissionResponse对象»»" + } + } + } + } + }, + "/api/front/commission": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广数据接口(昨天的佣金 累计提现金额 当前佣金)", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "commissionCount": { + "type": "number", + "description": "当前佣金" + }, + "extractCount": { + "type": "number", + "description": "累计提现金额" + }, + "lastDayCount": { + "type": "number", + "description": "昨天的佣金" + } + }, + "title": "UserCommissionResponse对象", + "description": "推广佣金明细", + "$$ref": "#/definitions/UserCommissionResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserCommissionResponse对象»", + "$$ref": "#/definitions/CommonResult«UserCommissionResponse对象»" + } + } + } + } + }, + "/api/front/user/spread/banner": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广海报图", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "id" + }, + "pic": { + "type": "string", + "description": "背景图" + }, + "title": { + "type": "string", + "description": "名称" + } + }, + "title": "UserSpreadBannerResponse对象", + "description": "用户推广海报", + "$$ref": "#/definitions/UserSpreadBannerResponse对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«UserSpreadBannerResponse对象»»", + "$$ref": "#/definitions/CommonResult«List«UserSpreadBannerResponse对象»»" + } + } + } + } + }, + "/api/front/spread/people": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广用户", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "grade", + "in": "query", + "required": false, + "description": "推荐人类型|0=一级|1=二级", + "type": "string" + }, + { + "name": "isAsc", + "in": "query", + "required": false, + "description": "排序值 DESC ASC", + "type": "string" + }, + { + "name": "keyword", + "in": "query", + "required": false, + "description": "搜索关键字", + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "sortKey", + "in": "query", + "required": false, + "description": "排序, 排序|childCount=团队排序,numberCount=金额排序,orderCount=订单排序", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "childCount": { + "type": "integer", + "format": "int32", + "description": "推广人数" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "numberCount": { + "type": "number", + "description": "订单金额" + }, + "orderCount": { + "type": "integer", + "format": "int32", + "description": "订单数量" + }, + "time": { + "type": "string", + "description": "添加时间" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户编号" + } + }, + "title": "UserSpreadPeopleResponse对象", + "description": "推广人信息", + "$$ref": "#/definitions/UserSpreadPeopleResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserSpreadPeopleResponse对象»", + "$$ref": "#/definitions/CommonResult«UserSpreadPeopleResponse对象»" + } + } + } + } + }, + "/api/front/spread/order": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "推广订单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int64", + "description": "累计推广订单" + }, + "list": { + "type": "array", + "description": "推广人列表", + "items": { + "type": "object", + "properties": { + "child": { + "type": "array", + "description": "推广订单信息", + "items": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "number": { + "type": "number", + "description": "返佣金额" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "time": { + "type": "string", + "format": "date-time", + "description": "返佣时间" + }, + "type": { + "type": "string", + "description": "订单显示类型" + } + }, + "title": "UserSpreadOrderItemChildResponse对象", + "description": "推广订单信息子集", + "$$ref": "#/definitions/UserSpreadOrderItemChildResponse对象" + } + }, + "count": { + "type": "integer", + "format": "int32", + "description": "推广条数" + }, + "time": { + "type": "string", + "description": "推广年月" + } + }, + "title": "UserSpreadOrderItemResponse对象", + "description": "推广订单信息", + "$$ref": "#/definitions/UserSpreadOrderItemResponse对象" + } + } + }, + "title": "UserSpreadOrderResponse对象", + "description": "推广订单", + "$$ref": "#/definitions/UserSpreadOrderResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserSpreadOrderResponse对象»", + "$$ref": "#/definitions/CommonResult«UserSpreadOrderResponse对象»" + } + } + } + } + }, + "/api/front/extract/cash": { + "post": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "提现申请", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户提现", + "schema": { + "type": "object", + "properties": { + "alipayCode": { + "type": "string", + "description": "支付宝账号" + }, + "bankname": { + "type": "string", + "description": "提现银行名称" + }, + "cardum": { + "type": "string", + "description": "银行卡" + }, + "extractType": { + "type": "string", + "description": "提现方式| alipay=支付宝,bank=银行卡,weixin=微信" + }, + "money": { + "type": "number", + "description": "提现金额" + }, + "name": { + "type": "string", + "description": "姓名" + }, + "wechat": { + "type": "string", + "description": "微信号" + } + }, + "title": "UserExtractRequest对象", + "description": "用户提现", + "$$ref": "#/definitions/UserExtractRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/extract/bank": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "提现银行/提现最低金额", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "brokenCommission": { + "type": "number", + "description": "冻结佣金" + }, + "brokenDay": { + "type": "string", + "description": "冻结天数" + }, + "commissionCount": { + "type": "number", + "description": "可提现佣金" + }, + "extractBank": { + "type": "array", + "description": "提现银行", + "items": { + "type": "string" + } + }, + "minPrice": { + "type": "string", + "description": "提现最低金额" + } + }, + "title": "UserExtractCashResponse对象", + "description": "提现银行/提现最低金额", + "$$ref": "#/definitions/UserExtractCashResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserExtractCashResponse对象»", + "$$ref": "#/definitions/CommonResult«UserExtractCashResponse对象»" + } + } + } + } + }, + "/api/front/user/balance": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "用户资金统计", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "nowMoney": { + "type": "number", + "description": "当前总资金" + }, + "orderStatusSum": { + "type": "number", + "description": "累计消费" + }, + "recharge": { + "type": "number", + "description": "累计充值" + } + }, + "title": "UserBalanceResponse对象", + "description": "用户资金统计", + "$$ref": "#/definitions/UserBalanceResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserBalanceResponse对象»", + "$$ref": "#/definitions/CommonResult«UserBalanceResponse对象»" + } + } + } + } + }, + "/api/front/integral/list": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "积分记录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "add_time": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "balance": { + "type": "number", + "description": "剩余" + }, + "category": { + "type": "string", + "description": "明细种类" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户账单id" + }, + "linkId": { + "type": "string", + "description": "关联id" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "number": { + "type": "number", + "description": "明细数字" + }, + "pm": { + "type": "integer", + "format": "int32", + "description": "0 = 支出 1 = 获得" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "0 = 带确定 1 = 有效 -1 = 无效" + }, + "title": { + "type": "string", + "description": "账单标题" + }, + "type": { + "type": "string", + "description": "明细类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserBill对象", + "description": "用户账单表", + "$$ref": "#/definitions/UserBill对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserBill对象»", + "$$ref": "#/definitions/CommonPage«UserBill对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserBill对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»" + } + } + } + } + }, + "/api/front/user/expList": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "经验记录", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "add_time": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "balance": { + "type": "number", + "description": "剩余" + }, + "category": { + "type": "string", + "description": "明细种类" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户账单id" + }, + "linkId": { + "type": "string", + "description": "关联id" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "number": { + "type": "number", + "description": "明细数字" + }, + "pm": { + "type": "integer", + "format": "int32", + "description": "0 = 支出 1 = 获得" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "0 = 带确定 1 = 有效 -1 = 无效" + }, + "title": { + "type": "string", + "description": "账单标题" + }, + "type": { + "type": "string", + "description": "明细类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户uid" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserBill对象", + "description": "用户账单表", + "$$ref": "#/definitions/UserBill对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserBill对象»", + "$$ref": "#/definitions/CommonPage«UserBill对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserBill对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»" + } + } + } + } + }, + "/api/front/binding": { + "post": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "绑定手机号", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "绑定手机号", + "schema": { + "type": "object", + "required": [ + "account", + "captcha" + ], + "properties": { + "account": { + "type": "string", + "description": "手机号" + }, + "captcha": { + "type": "string", + "description": "验证码" + } + }, + "title": "UserBindingRequest对象", + "description": "绑定手机号", + "$$ref": "#/definitions/UserBindingRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/menu/user": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "获取个人中心菜单", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,object»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,object»»" + } + } + } + } + }, + "/api/front/user": { + "get": { + "tags": [ + "用户 -- 用户中心" + ], + "summary": "获取个人资料", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "integer", + "format": "int32", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "couponCount": { + "type": "integer", + "format": "int32", + "description": "用户优惠券数量" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "integer", + "format": "int32", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "orderStatusNum": { + "type": "object", + "properties": { + "noBuy": { + "type": "integer", + "format": "int32", + "description": "未支付订单数量" + }, + "noPink": { + "type": "integer", + "format": "int32", + "description": "拼团的订单数量" + }, + "noPostage": { + "type": "integer", + "format": "int32", + "description": "未发货订单数量" + }, + "noRefund": { + "type": "integer", + "format": "int32", + "description": "退款的订单数量" + }, + "noReply": { + "type": "integer", + "format": "int32", + "description": "未评论订单数量" + }, + "noTake": { + "type": "integer", + "format": "int32", + "description": "未收货订单数量" + } + }, + "title": "UserCenterOrderStatusNumResponse对象", + "description": "个人中心 -- 订单状态数量", + "$$ref": "#/definitions/UserCenterOrderStatusNumResponse对象" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "pwd": { + "type": "string", + "description": "用户密码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广元id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + }, + "vip": { + "type": "boolean", + "description": "是否会员" + }, + "vipIcon": { + "type": "string", + "description": "会员图标" + }, + "vipName": { + "type": "string", + "description": "会员名称" + } + }, + "title": "UserCenterResponse对象", + "description": "个人中心", + "$$ref": "#/definitions/UserCenterResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserCenterResponse对象»", + "$$ref": "#/definitions/CommonResult«UserCenterResponse对象»" + } + } + } + } + }, + "/api/front/sendCode": { + "post": { + "tags": [ + "用户 -- 登录注册" + ], + "summary": " 发送短信", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "phone", + "in": "query", + "required": false, + "description": "手机号码", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/login/mobile": { + "post": { + "tags": [ + "用户 -- 登录注册" + ], + "summary": "手机号登录接口", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "手机号注册", + "schema": { + "type": "object", + "required": [ + "account", + "captcha" + ], + "properties": { + "account": { + "type": "string", + "description": "手机号" + }, + "captcha": { + "type": "string", + "description": "验证码" + }, + "spread": { + "type": "integer", + "format": "int32", + "description": "推广人id" + } + }, + "title": "LoginMobileRequest对象", + "description": "手机号注册", + "$$ref": "#/definitions/LoginMobileRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "expiresTime": { + "type": "string", + "format": "date-time", + "description": "用户登录密钥到期时间" + }, + "token": { + "type": "string", + "description": "用户登录密钥" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "title": "LoginResponse", + "description": "用户登录返回数据", + "$$ref": "#/definitions/LoginResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«LoginResponse»", + "$$ref": "#/definitions/CommonResult«LoginResponse»" + } + } + } + } + }, + "/api/front/login": { + "post": { + "tags": [ + "用户 -- 登录注册" + ], + "summary": "账号密码登录", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "手机快速登录", + "schema": { + "type": "object", + "required": [ + "account", + "password" + ], + "properties": { + "account": { + "type": "string", + "example": 18991352728, + "description": "手机号" + }, + "password": { + "type": "string", + "example": "Abc123", + "description": "密码" + } + }, + "title": "LoginRequest对象", + "description": "手机快速登录", + "$$ref": "#/definitions/LoginRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "expiresTime": { + "type": "string", + "format": "date-time", + "description": "用户登录密钥到期时间" + }, + "token": { + "type": "string", + "description": "用户登录密钥" + }, + "user": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + } + }, + "title": "LoginResponse", + "description": "用户登录返回数据", + "$$ref": "#/definitions/LoginResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«LoginResponse»", + "$$ref": "#/definitions/CommonResult«LoginResponse»" + } + } + } + } + }, + "/api/front/logout": { + "get": { + "tags": [ + "用户 -- 登录注册" + ], + "summary": "退出", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/user/sign/list": { + "get": { + "tags": [ + "用户 -- 签到" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createDay": { + "type": "string", + "format": "date-time", + "description": "签到日期" + }, + "number": { + "type": "integer", + "format": "int32", + "description": "获得积分" + }, + "title": { + "type": "string", + "description": "签到说明" + } + }, + "title": "UserSign对象", + "description": "签到记录表", + "$$ref": "#/definitions/UserSign对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserSign对象»", + "$$ref": "#/definitions/CommonPage«UserSign对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserSign对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserSign对象»»" + } + } + } + } + }, + "/api/front/user/sign/month": { + "get": { + "tags": [ + "用户 -- 签到" + ], + "summary": "分页列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createDay": { + "type": "string", + "format": "date-time", + "description": "签到日期" + }, + "number": { + "type": "integer", + "format": "int32", + "description": "获得积分" + }, + "title": { + "type": "string", + "description": "签到说明" + } + }, + "title": "UserSign对象", + "description": "签到记录表", + "$$ref": "#/definitions/UserSign对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«UserSign对象»", + "$$ref": "#/definitions/CommonPage«UserSign对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«UserSign对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«UserSign对象»»" + } + } + } + } + }, + "/api/front/user/sign/integral": { + "get": { + "tags": [ + "用户 -- 签到" + ], + "summary": "签到", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "day": { + "type": "integer", + "format": "int32", + "description": "第几天" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "经验" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "integral": { + "type": "integer", + "format": "int32", + "description": "积分" + }, + "title": { + "type": "string", + "description": "显示文字" + } + }, + "title": "SystemGroupDataSignConfigVo对象", + "description": "签到记录", + "$$ref": "#/definitions/SystemGroupDataSignConfigVo对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«SystemGroupDataSignConfigVo对象»", + "$$ref": "#/definitions/CommonResult«SystemGroupDataSignConfigVo对象»" + } + } + } + } + }, + "/api/front/user/sign/user": { + "post": { + "tags": [ + "用户 -- 签到" + ], + "summary": "签到用户信息", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "个人签到信息", + "schema": { + "type": "object", + "properties": { + "all": { + "type": "boolean", + "description": "是否统计签到和统计积分使用情况|1=是,0=否" + }, + "integral": { + "type": "boolean", + "description": "是否统计积分使用情况|1=是,0=否" + }, + "sign": { + "type": "boolean", + "description": "是否统计签到|1=是,0=否" + } + }, + "title": "UserSignInfoRequest对象", + "description": "个人签到信息", + "$$ref": "#/definitions/UserSignInfoRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "deductionIntegral": { + "type": "integer", + "format": "int32", + "description": "累计抵扣积分" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isDaySign": { + "type": "boolean", + "description": "今天是否签到" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "isYesterdaySign": { + "type": "boolean", + "description": "昨天是否签到" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "sumIntegral": { + "type": "integer", + "format": "int32", + "description": "累计总积分" + }, + "sumSignDay": { + "type": "integer", + "format": "int32", + "description": "累计签到次数" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "yesterdayIntegral": { + "type": "integer", + "format": "int32", + "description": "昨天累计积分" + } + }, + "title": "UserSignInfoResponse对象", + "description": "修改个人资料", + "$$ref": "#/definitions/UserSignInfoResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«UserSignInfoResponse对象»", + "$$ref": "#/definitions/CommonResult«UserSignInfoResponse对象»" + } + } + } + } + }, + "/api/front/user/sign/get": { + "get": { + "tags": [ + "用户 -- 签到" + ], + "summary": "详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,object»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,object»»" + } + } + } + } + }, + "/api/front/user/sign/config": { + "get": { + "tags": [ + "用户 -- 签到" + ], + "summary": "配置", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "day": { + "type": "integer", + "format": "int32", + "description": "第几天" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "经验" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "integral": { + "type": "integer", + "format": "int32", + "description": "积分" + }, + "title": { + "type": "string", + "description": "显示文字" + } + }, + "title": "SystemGroupDataSignConfigVo对象", + "description": "签到记录", + "$$ref": "#/definitions/SystemGroupDataSignConfigVo对象" + } + }, + "page": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "totalPage": { + "type": "integer", + "format": "int32" + } + }, + "title": "CommonPage«SystemGroupDataSignConfigVo对象»", + "$$ref": "#/definitions/CommonPage«SystemGroupDataSignConfigVo对象»" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«CommonPage«SystemGroupDataSignConfigVo对象»»", + "$$ref": "#/definitions/CommonResult«CommonPage«SystemGroupDataSignConfigVo对象»»" + } + } + } + } + }, + "/api/front/coupon/list": { + "get": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "我的优惠券", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "primaryKey" + ], + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "cid": { + "type": "integer", + "format": "int32", + "description": "兑换的项目id" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券发布id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "过期时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "id" + }, + "isValid": { + "type": "boolean", + "description": "用户头像" + }, + "minPrice": { + "type": "number", + "description": "最低消费多少金额可用优惠券" + }, + "money": { + "type": "number", + "description": "优惠券的面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "开始使用时间" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态(0:未使用,1:已使用, 2:已失效)" + }, + "type": { + "type": "string", + "description": "获取方式" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "领取人id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "useTime": { + "type": "string", + "format": "date-time", + "description": "使用时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCouponUserResponse对象", + "description": "优惠券记录表", + "$$ref": "#/definitions/StoreCouponUserResponse对象" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«StoreCouponUserResponse对象»»", + "$$ref": "#/definitions/CommonResult«List«StoreCouponUserResponse对象»»" + } + } + } + } + }, + "/api/front/coupon/receive/batch": { + "post": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "批量领券", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户领券", + "schema": { + "type": "object", + "properties": { + "couponId": { + "type": "array", + "description": "优惠券id", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "title": "UserCouponReceiveRequest对象", + "description": "用户领券", + "$$ref": "#/definitions/UserCouponReceiveRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/coupon/receive": { + "post": { + "tags": [ + "营销 -- 优惠券" + ], + "summary": "领券", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "用户领券", + "schema": { + "type": "object", + "properties": { + "couponId": { + "type": "array", + "description": "优惠券id", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "title": "UserCouponReceiveRequest对象", + "description": "用户领券", + "$$ref": "#/definitions/UserCouponReceiveRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«string»", + "$$ref": "#/definitions/CommonResult«string»" + } + } + } + } + }, + "/api/front/order/again": { + "post": { + "tags": [ + "订单" + ], + "summary": "再次下单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "nui": { + "type": "string", + "description": "订单id" + } + }, + "title": "OrderAgainRequest", + "$$ref": "#/definitions/OrderAgainRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/del": { + "post": { + "tags": [ + "订单" + ], + "summary": "删除订单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/order/product": { + "post": { + "tags": [ + "订单" + ], + "summary": "待评价商品信息查询", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "orderId": { + "type": "integer", + "format": "int32", + "description": "订单id" + }, + "uni": { + "type": "string", + "description": "商品attrid" + } + }, + "title": "GetProductReply", + "$$ref": "#/definitions/GetProductReply" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/pay": { + "post": { + "tags": [ + "订单" + ], + "summary": "支付", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "订单支付", + "schema": { + "type": "object", + "properties": { + "from": { + "type": "string", + "description": "支付平台" + }, + "paytype": { + "type": "string", + "description": "支付类型" + }, + "uni": { + "type": "string", + "description": "订单id" + } + }, + "title": "OrderPayRequest对象", + "description": "订单支付", + "$$ref": "#/definitions/OrderPayRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/express/{orderId}": { + "get": { + "tags": [ + "订单" + ], + "summary": "物流信息查询", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "orderId", + "in": "path", + "description": "orderId", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/create/{key}": { + "post": { + "tags": [ + "订单" + ], + "summary": "生成订单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "key", + "in": "path", + "description": "key", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "创建订单参数", + "schema": { + "type": "object", + "required": [ + "isNew" + ], + "properties": { + "addressId": { + "type": "integer", + "format": "int32", + "description": "收货地址id" + }, + "bargainId": { + "type": "integer", + "format": "int32" + }, + "combinationId": { + "type": "integer", + "format": "int32" + }, + "couponId": { + "type": "integer", + "format": "int32" + }, + "formId": { + "type": "integer", + "format": "int32" + }, + "from": { + "type": "string" + }, + "isNew": { + "type": "boolean", + "description": "是否为立即购买" + }, + "mark": { + "type": "string" + }, + "payType": { + "type": "string" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "pinkId": { + "type": "integer", + "format": "int32" + }, + "realName": { + "type": "string", + "description": "真实名称" + }, + "seckillId": { + "type": "integer", + "format": "int32" + }, + "shippingType": { + "type": "integer", + "format": "int32", + "description": "快递类型" + }, + "storeId": { + "type": "integer", + "format": "int32" + }, + "useIntegral": { + "type": "boolean" + } + }, + "title": "OrderCreateRequest对象", + "description": "创建订单参数", + "$$ref": "#/definitions/OrderCreateRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/confirm": { + "post": { + "tags": [ + "订单" + ], + "summary": "确认订单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "cartIds", + "in": "query", + "required": false, + "description": "cartIds", + "type": "string" + }, + { + "name": "isNew", + "in": "query", + "required": false, + "description": "isNew", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "addressInfo": { + "type": "object", + "properties": { + "city": { + "type": "string", + "description": "收货人所在市" + }, + "cityId": { + "type": "integer", + "format": "int32", + "description": "城市id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "detail": { + "type": "string", + "description": "收货人详细地址" + }, + "district": { + "type": "string", + "description": "收货人所在区" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "用户地址id" + }, + "isDefault": { + "type": "boolean", + "description": "是否默认" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "latitude": { + "type": "string", + "description": "纬度" + }, + "longitude": { + "type": "string", + "description": "经度" + }, + "phone": { + "type": "string", + "description": "收货人电话" + }, + "postCode": { + "type": "integer", + "format": "int32", + "description": "邮编" + }, + "province": { + "type": "string", + "description": "收货人所在省" + }, + "realName": { + "type": "string", + "description": "收货人姓名" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + } + }, + "title": "UserAddress对象", + "description": "用户地址表", + "$$ref": "#/definitions/UserAddress对象" + }, + "cartInfo": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addTime": { + "type": "string" + }, + "attrStatus": { + "type": "boolean", + "description": "商品是否有效" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "brokerage": { + "type": "number", + "description": "一级分佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级分佣" + }, + "cartNum": { + "type": "integer", + "format": "int32", + "description": "商品数量" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团id" + }, + "costPrice": { + "type": "number" + }, + "id": { + "type": "integer", + "format": "int64", + "description": "购物车表ID" + }, + "isNew": { + "type": "boolean", + "description": "是否为立即购买" + }, + "isReply": { + "type": "integer", + "format": "int32" + }, + "productAttrUnique": { + "type": "string", + "description": "商品属性" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "productInfo": { + "type": "object", + "properties": { + "attrInfo": { + "type": "object", + "properties": { + "attrValue": { + "type": "string", + "description": "产品属性值和属性名对应关系" + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValue对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValue对象" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductCartProductInfoResponse对象", + "description": "商品信息,购物车列表使用", + "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "truePrice": { + "type": "number" + }, + "trueStock": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "description": "类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "vipTruePrice": { + "type": "number" + } + }, + "title": "StoreCartResponse", + "description": "购物车ListResponse", + "$$ref": "#/definitions/StoreCartResponse" + } + }, + "deduction": { + "type": "boolean" + }, + "integralRatio": { + "type": "string" + }, + "offlinePayStatus": { + "type": "string" + }, + "offlinePostage": { + "type": "string" + }, + "orderKey": { + "type": "string" + }, + "other": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "payWeixinOpen": { + "type": "string" + }, + "priceGroup": { + "type": "object", + "properties": { + "costPrice": { + "type": "number" + }, + "couponPrice": { + "type": "number" + }, + "deductionPrice": { + "type": "number" + }, + "payPostage": { + "type": "number" + }, + "payPrice": { + "type": "number" + }, + "storeFreePostage": { + "type": "number" + }, + "storePostage": { + "type": "number" + }, + "totalPrice": { + "type": "number" + }, + "usedIntegral": { + "type": "number" + }, + "vipPrice": { + "type": "number" + } + }, + "title": "PriceGroupResponse", + "$$ref": "#/definitions/PriceGroupResponse" + }, + "storeSelfMention": { + "type": "string" + }, + "systemStore": { + "type": "string" + }, + "usableCoupon": { + "type": "object", + "required": [ + "primaryKey" + ], + "properties": { + "avatar": { + "type": "string", + "description": "用户头像" + }, + "cid": { + "type": "integer", + "format": "int32", + "description": "兑换的项目id" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券发布id" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "过期时间" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "id" + }, + "isValid": { + "type": "boolean", + "description": "用户头像" + }, + "minPrice": { + "type": "number", + "description": "最低消费多少金额可用优惠券" + }, + "money": { + "type": "number", + "description": "优惠券的面值" + }, + "name": { + "type": "string", + "description": "优惠券名称" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "primaryKey": { + "type": "string", + "description": "主键id 商品id/分类id" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "开始使用时间" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "状态(0:未使用,1:已使用, 2:已失效)" + }, + "type": { + "type": "string", + "description": "获取方式" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "领取人id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "更新时间" + }, + "useTime": { + "type": "string", + "format": "date-time", + "description": "使用时间" + }, + "useType": { + "type": "integer", + "format": "int32", + "description": "使用类型 1 全场通用, 2 商品券, 3 品类券" + } + }, + "title": "StoreCouponUserResponse对象", + "description": "优惠券记录表", + "$$ref": "#/definitions/StoreCouponUserResponse对象" + }, + "userInfo": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "用户账号" + }, + "addIp": { + "type": "string", + "description": "添加ip" + }, + "addres": { + "type": "string", + "description": "详细地址" + }, + "adminid": { + "type": "integer", + "format": "int32", + "description": "管理员编号 " + }, + "avatar": { + "type": "string", + "description": "用户头像" + }, + "birthday": { + "type": "string", + "description": "生日" + }, + "brokeragePrice": { + "type": "number", + "description": "佣金金额" + }, + "cardId": { + "type": "string", + "description": "身份证号码" + }, + "cleanTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "experience": { + "type": "integer", + "format": "int32", + "description": "用户剩余经验" + }, + "groupId": { + "type": "string", + "description": "用户分组id" + }, + "integral": { + "type": "number", + "description": "用户剩余积分" + }, + "isPromoter": { + "type": "boolean", + "description": "是否为推广员" + }, + "lastIp": { + "type": "string", + "description": "最后一次登录ip" + }, + "lastLoginTime": { + "type": "string", + "format": "date-time", + "description": "最后一次登录时间" + }, + "level": { + "type": "integer", + "format": "int32", + "description": "等级" + }, + "loginType": { + "type": "string", + "description": "用户登陆类型,h5,wechat,routine" + }, + "mark": { + "type": "string", + "description": "用户备注" + }, + "nickname": { + "type": "string", + "description": "用户昵称" + }, + "nowMoney": { + "type": "number", + "description": "用户余额" + }, + "partnerId": { + "type": "integer", + "format": "int32", + "description": "合伙人id" + }, + "path": { + "type": "string", + "description": "用户推广等级" + }, + "payCount": { + "type": "integer", + "format": "int32", + "description": "用户购买次数" + }, + "phone": { + "type": "string", + "description": "手机号码" + }, + "realName": { + "type": "string", + "description": "真实姓名" + }, + "signNum": { + "type": "integer", + "format": "int32", + "description": "连续签到天数" + }, + "spreadCount": { + "type": "integer", + "format": "int32", + "description": "下级人数" + }, + "spreadTime": { + "type": "string", + "format": "date-time", + "description": "推广员关联时间" + }, + "spreadUid": { + "type": "integer", + "format": "int32", + "description": "推广人id" + }, + "status": { + "type": "boolean", + "description": "1为正常,0为禁止" + }, + "subscribe": { + "type": "boolean", + "description": "是否关注公众号" + }, + "tagId": { + "type": "string", + "description": "用户标签id" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "userType": { + "type": "string", + "description": "用户类型" + } + }, + "title": "User对象", + "description": "用户表", + "$$ref": "#/definitions/User对象" + }, + "yuePayStatus": { + "type": "string" + } + }, + "title": "ConfirmOrderResponse", + "$$ref": "#/definitions/ConfirmOrderResponse" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«ConfirmOrderResponse»", + "$$ref": "#/definitions/CommonResult«ConfirmOrderResponse»" + } + } + } + } + }, + "/api/front/order/computed/{key}": { + "post": { + "tags": [ + "订单" + ], + "summary": "计算价格", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "key", + "in": "path", + "description": "key", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "addressId": { + "type": "integer", + "format": "int32", + "description": "地址id" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券id" + }, + "payType": { + "type": "string", + "description": "支付类型" + }, + "shippingType": { + "type": "integer", + "format": "int32", + "description": "快递类型" + }, + "useIntegral": { + "type": "boolean", + "description": "抵扣积分" + } + }, + "title": "OrderComputedRequest", + "$$ref": "#/definitions/OrderComputedRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/list": { + "get": { + "tags": [ + "订单" + ], + "summary": "订单列表", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "评价等级|0=未支付,1=待发货,2=待收货,3=待评价,4=已完成", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addTime": { + "type": "string" + }, + "cartInfo": { + "type": "array", + "items": { + "type": "object", + "properties": { + "info": { + "type": "object", + "properties": { + "addTime": { + "type": "string" + }, + "attrStatus": { + "type": "boolean", + "description": "商品是否有效" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "brokerage": { + "type": "number", + "description": "一级分佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级分佣" + }, + "cartNum": { + "type": "integer", + "format": "int32", + "description": "商品数量" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团id" + }, + "costPrice": { + "type": "number" + }, + "id": { + "type": "integer", + "format": "int64", + "description": "购物车表ID" + }, + "isNew": { + "type": "boolean", + "description": "是否为立即购买" + }, + "isReply": { + "type": "integer", + "format": "int32" + }, + "productAttrUnique": { + "type": "string", + "description": "商品属性" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "productInfo": { + "type": "object", + "properties": { + "attrInfo": { + "type": "object", + "properties": { + "attrValue": { + "type": "string", + "description": "产品属性值和属性名对应关系" + }, + "barCode": { + "type": "string", + "description": "商品条码" + }, + "brokerage": { + "type": "number", + "description": "一级返佣" + }, + "brokerageTwo": { + "type": "number", + "description": "二级返佣" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "attrId" + }, + "image": { + "type": "string", + "description": "图片" + }, + "otPrice": { + "type": "number", + "description": "原价" + }, + "price": { + "type": "number", + "description": "属性金额" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "活动限购数量" + }, + "quotaShow": { + "type": "integer", + "format": "int32", + "description": "活动限购数量显示" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "属性对应的库存" + }, + "suk": { + "type": "string", + "description": "商品属性索引值 (attr_value|attr_value[|....])" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团" + }, + "unique": { + "type": "string", + "description": "唯一值" + }, + "volume": { + "type": "number", + "description": "体积" + }, + "weight": { + "type": "number", + "description": "重量" + } + }, + "title": "StoreProductAttrValue对象", + "description": "商品属性值表", + "$$ref": "#/definitions/StoreProductAttrValue对象" + }, + "barCode": { + "type": "string", + "description": "商品条码(一维码)" + }, + "cateId": { + "type": "string", + "description": "分类id" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "giveIntegral": { + "type": "number", + "description": "获得积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "isPostage": { + "type": "boolean", + "description": "是否包邮" + }, + "isSub": { + "type": "boolean", + "description": "是否单独分佣" + }, + "keyword": { + "type": "string", + "description": "关键字" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "postage": { + "type": "number", + "description": "邮费" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sliderImage": { + "type": "string", + "description": "轮播图" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeInfo": { + "type": "string", + "description": "商品简介" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "tempId": { + "type": "integer", + "format": "int32", + "description": "运费模板ID" + }, + "unitName": { + "type": "string", + "description": "单位名" + }, + "vipPrice": { + "type": "number", + "description": "会员价格" + } + }, + "title": "StoreProductCartProductInfoResponse对象", + "description": "商品信息,购物车列表使用", + "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "truePrice": { + "type": "number" + }, + "trueStock": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "description": "类型" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户ID" + }, + "vipTruePrice": { + "type": "number" + } + }, + "title": "StoreCartResponse", + "description": "购物车ListResponse", + "$$ref": "#/definitions/StoreCartResponse" + }, + "orderId": { + "type": "integer", + "format": "int32", + "description": "订单id" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品ID" + }, + "unique": { + "type": "string", + "description": "唯一id" + } + }, + "title": "StoreOrderInfoVo对象", + "description": "订单购物详情表", + "$$ref": "#/definitions/StoreOrderInfoVo对象" + } + }, + "offlinePayStatus": { + "type": "integer", + "format": "int32" + }, + "payTime": { + "type": "string" + }, + "status": { + "type": "object", + "properties": { + "deliveryType": { + "type": "string" + }, + "msg": { + "type": "string" + }, + "payType": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "integer", + "format": "int32" + } + }, + "title": "OrderAgainItemVo", + "$$ref": "#/definitions/OrderAgainItemVo" + }, + "statusPic": { + "type": "string" + }, + "storeOrder": { + "type": "object", + "properties": { + "backIntegral": { + "type": "number", + "description": "给用户退了多少积分" + }, + "bargainId": { + "type": "integer", + "format": "int32", + "description": "砍价id" + }, + "clerkId": { + "type": "integer", + "format": "int32", + "description": "店员id" + }, + "combinationId": { + "type": "integer", + "format": "int32", + "description": "拼团商品id0一般商品" + }, + "cost": { + "type": "number", + "description": "成本价" + }, + "couponId": { + "type": "integer", + "format": "int32", + "description": "优惠券id" + }, + "couponPrice": { + "type": "number", + "description": "优惠券金额" + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "创建时间" + }, + "deductionPrice": { + "type": "number", + "description": "抵扣金额" + }, + "deliveryId": { + "type": "string", + "description": "快递单号/手机号" + }, + "deliveryName": { + "type": "string", + "description": "快递名称/送货人姓名" + }, + "deliveryType": { + "type": "string", + "description": "发货类型" + }, + "freightPrice": { + "type": "number", + "description": "运费金额" + }, + "gainIntegral": { + "type": "number", + "description": "消费赚取积分" + }, + "id": { + "type": "integer", + "format": "int32", + "description": "订单ID" + }, + "isChannel": { + "type": "integer", + "format": "int32", + "description": "支付渠道(0微信公众号1微信小程序)" + }, + "isDel": { + "type": "boolean", + "description": "是否删除" + }, + "isMerCheck": { + "type": "integer", + "format": "int32" + }, + "isRemind": { + "type": "boolean", + "description": "消息提醒" + }, + "isSystemDel": { + "type": "boolean", + "description": "后台是否删除" + }, + "mark": { + "type": "string", + "description": "备注" + }, + "merId": { + "type": "integer", + "format": "int32", + "description": "商户ID" + }, + "orderId": { + "type": "string", + "description": "订单号" + }, + "paid": { + "type": "boolean", + "description": "支付状态" + }, + "payPostage": { + "type": "number", + "description": "支付邮费" + }, + "payPrice": { + "type": "number", + "description": "实际支付金额" + }, + "payTime": { + "type": "string", + "format": "date-time", + "description": "支付时间" + }, + "payType": { + "type": "string", + "description": "支付方式" + }, + "pinkId": { + "type": "integer", + "format": "int32", + "description": "拼团id 0没有拼团" + }, + "realName": { + "type": "string", + "description": "用户姓名" + }, + "refundPrice": { + "type": "number", + "description": "退款金额" + }, + "refundReason": { + "type": "string", + "description": "不退款的理由" + }, + "refundReasonTime": { + "type": "string", + "format": "date-time", + "description": "退款时间" + }, + "refundReasonWap": { + "type": "string", + "description": "前台退款原因" + }, + "refundReasonWapExplain": { + "type": "string", + "description": "退款用户说明" + }, + "refundReasonWapImg": { + "type": "string", + "description": "退款图片" + }, + "refundStatus": { + "type": "integer", + "format": "int32", + "description": "0 未退款 1 申请中 2 已退款" + }, + "remark": { + "type": "string", + "description": "管理员备注" + }, + "seckillId": { + "type": "integer", + "format": "int32", + "description": "秒杀商品ID" + }, + "shippingType": { + "type": "integer", + "format": "int32", + "description": "配送方式 1=快递 ,2=门店自提" + }, + "status": { + "type": "integer", + "format": "int32", + "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)" + }, + "storeId": { + "type": "integer", + "format": "int32", + "description": "门店id" + }, + "totalNum": { + "type": "integer", + "format": "int32", + "description": "订单商品总数" + }, + "totalPostage": { + "type": "number", + "description": "邮费" + }, + "totalPrice": { + "type": "number", + "description": "订单总价" + }, + "uid": { + "type": "integer", + "format": "int32", + "description": "用户id" + }, + "unique": { + "type": "string", + "description": "唯一id(md5加密)类似id" + }, + "useIntegral": { + "type": "number", + "description": "使用积分" + }, + "userAddress": { + "type": "string", + "description": "详细地址" + }, + "userPhone": { + "type": "string", + "description": "用户电话" + }, + "verifyCode": { + "type": "string", + "description": "核销码" + } + }, + "title": "StoreOrder对象", + "description": "订单表", + "$$ref": "#/definitions/StoreOrder对象" + } + }, + "title": "OrderAgainVo", + "$$ref": "#/definitions/OrderAgainVo" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«OrderAgainVo»»", + "$$ref": "#/definitions/CommonResult«List«OrderAgainVo»»" + } + } + } + } + }, + "/api/front/order/cancel": { + "post": { + "tags": [ + "订单" + ], + "summary": "订单取消", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/order/data": { + "get": { + "tags": [ + "订单" + ], + "summary": "订单头部数量", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/take": { + "post": { + "tags": [ + "订单" + ], + "summary": "订单收货", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "id", + "in": "query", + "required": false, + "description": "id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/order/detail/{orderId}": { + "get": { + "tags": [ + "订单" + ], + "summary": "订单详情", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "orderId", + "in": "path", + "description": "orderId", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/refund/reason": { + "get": { + "tags": [ + "订单" + ], + "summary": "订单退款理由", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/order/refund": { + "post": { + "tags": [ + "订单" + ], + "summary": "订单退款申请", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "订单申请退款", + "schema": { + "type": "object", + "required": [ + "id", + "text" + ], + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "订单id" + }, + "refund_reason_wap_explain": { + "type": "string", + "description": "备注说明" + }, + "refund_reason_wap_img": { + "type": "string", + "description": "退款凭证(多个图片请用,(英文逗号)隔开)" + }, + "text": { + "type": "string", + "description": "退款原因" + } + }, + "title": "OrderRefundApplyRequest对象", + "description": "订单申请退款", + "$$ref": "#/definitions/OrderRefundApplyRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/order/comment": { + "post": { + "tags": [ + "订单" + ], + "summary": "评价订单", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "description": "评论表", + "schema": { + "type": "object", + "required": [ + "comment", + "pics", + "productId", + "productScore", + "serviceScore" + ], + "properties": { + "comment": { + "type": "string", + "description": "评论内容" + }, + "oid": { + "type": "integer", + "format": "int32", + "description": "订单ID, 移动端必须传递此参数" + }, + "pics": { + "type": "string", + "description": "评论图片" + }, + "productId": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "productScore": { + "type": "integer", + "format": "int32", + "example": 5, + "description": "商品分数" + }, + "serviceScore": { + "type": "integer", + "format": "int32", + "example": 5, + "description": "服务分数" + }, + "unique": { + "type": "string", + "description": "商品 属性id" + }, + "userId": { + "type": "integer", + "format": "int32", + "description": "用户id, 后端必须传递此参数" + } + }, + "title": "StoreProductReplyAddRequest对象", + "description": "评论表", + "$$ref": "#/definitions/StoreProductReplyAddRequest对象" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«boolean»", + "$$ref": "#/definitions/CommonResult«boolean»" + } + } + } + } + }, + "/api/front/order/refund/verify": { + "post": { + "tags": [ + "订单" + ], + "summary": "退款订单验证", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "object", + "properties": { + "refund_reason_wap_explain": { + "type": "string", + "description": "退款备注说明" + }, + "refund_reason_wap_img": { + "type": "string", + "description": "退款凭证图片" + }, + "text": { + "type": "string", + "description": "退款原因" + }, + "uni": { + "type": "string", + "description": "待退款订单" + } + }, + "title": "OrderRefundVerifyRequest", + "$$ref": "#/definitions/OrderRefundVerifyRequest" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/front/share": { + "get": { + "tags": [ + "首页" + ], + "summary": "分享配置", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«HashMap«string,string»»", + "$$ref": "#/definitions/CommonResult«HashMap«string,string»»" + } + } + } + } + }, + "/api/front/search/keyword": { + "get": { + "tags": [ + "首页" + ], + "summary": "热门搜索", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«List«HashMap«string,object»»»", + "$$ref": "#/definitions/CommonResult«List«HashMap«string,object»»»" + } + } + } + } + }, + "/api/front/groom/list/{type}": { + "get": { + "tags": [ + "首页" + ], + "summary": "首页产品的轮播图和产品信息", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "type", + "in": "path", + "description": "类型 【1 精品推荐 2 热门榜单 3首发新品 4促销单品】", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "每页数量", + "type": "string" + }, + { + "name": "page", + "in": "query", + "required": false, + "description": "页码", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "activity": { + "type": "array", + "description": "活动区域图片", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "banner": { + "type": "array", + "description": "首页banner滚动图", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "benefit": { + "type": "array", + "description": "首页促销单品", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "couponList": { + "type": "array", + "description": "优惠券", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "explosiveMoney": { + "type": "array", + "description": "首页超值爆款", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "info": { + "type": "object", + "properties": { + "bastBanner": { + "type": "array", + "description": "首页精品推荐图片", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "bastInfo": { + "type": "string", + "description": "精品推荐简介" + }, + "bastList": { + "type": "array", + "description": "精品推荐", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "bastNumber": { + "type": "string", + "description": "精品推荐个数" + }, + "fastInfo": { + "type": "string", + "description": "快速选择简介" + }, + "fastList": { + "type": "array", + "description": "分类", + "items": { + "type": "object", + "properties": { + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 " + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "Category对象", + "description": "分类表", + "$$ref": "#/definitions/Category对象" + } + }, + "fastNumber": { + "type": "string", + "description": "快速选择分类个数" + }, + "firstInfo": { + "type": "string", + "description": "首发新品简介" + }, + "firstList": { + "type": "array", + "description": "首发新品", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "firstNumber": { + "type": "string", + "description": "首发新品个数" + }, + "promotionNumber": { + "type": "string", + "description": "首页促销单品" + }, + "salesInfo": { + "type": "string", + "description": "促销单品简介" + } + }, + "title": "IndexInfoItemResponse对象", + "description": "用户登录返回数据", + "$$ref": "#/definitions/IndexInfoItemResponse对象" + }, + "likeInfo": { + "type": "array", + "description": "热门榜单", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "list": { + "type": "array", + "description": "商品", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "logoUrl": { + "type": "string", + "description": "企业logo" + }, + "lovely": { + "type": "object", + "description": "首发新品广告图", + "additionalProperties": { + "type": "object" + } + }, + "menus": { + "type": "array", + "description": "导航模块", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "roll": { + "type": "array", + "description": "新闻简报消息滚动", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "subscribe": { + "type": "boolean", + "description": "是否关注" + } + }, + "title": "IndexInfoResponse对象", + "description": "用户登录返回数据", + "$$ref": "#/definitions/IndexInfoResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«IndexInfoResponse对象»", + "$$ref": "#/definitions/CommonResult«IndexInfoResponse对象»" + } + } + } + } + }, + "/api/front/index": { + "get": { + "tags": [ + "首页" + ], + "summary": "首页数据", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "properties": { + "activity": { + "type": "array", + "description": "活动区域图片", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "banner": { + "type": "array", + "description": "首页banner滚动图", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "benefit": { + "type": "array", + "description": "首页促销单品", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "couponList": { + "type": "array", + "description": "优惠券", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "explosiveMoney": { + "type": "array", + "description": "首页超值爆款", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "info": { + "type": "object", + "properties": { + "bastBanner": { + "type": "array", + "description": "首页精品推荐图片", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "bastInfo": { + "type": "string", + "description": "精品推荐简介" + }, + "bastList": { + "type": "array", + "description": "精品推荐", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "bastNumber": { + "type": "string", + "description": "精品推荐个数" + }, + "fastInfo": { + "type": "string", + "description": "快速选择简介" + }, + "fastList": { + "type": "array", + "description": "分类", + "items": { + "type": "object", + "properties": { + "extra": { + "type": "string", + "description": "扩展字段" + }, + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "description": "分类名称" + }, + "path": { + "type": "string", + "description": "路径" + }, + "pid": { + "type": "integer", + "format": "int32", + "description": "父级ID" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "status": { + "type": "boolean", + "description": "状态, 0正常,1失效" + }, + "type": { + "type": "integer", + "format": "int32", + "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 " + }, + "url": { + "type": "string", + "description": "地址" + } + }, + "title": "Category对象", + "description": "分类表", + "$$ref": "#/definitions/Category对象" + } + }, + "fastNumber": { + "type": "string", + "description": "快速选择分类个数" + }, + "firstInfo": { + "type": "string", + "description": "首发新品简介" + }, + "firstList": { + "type": "array", + "description": "首发新品", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "firstNumber": { + "type": "string", + "description": "首发新品个数" + }, + "promotionNumber": { + "type": "string", + "description": "首页促销单品" + }, + "salesInfo": { + "type": "string", + "description": "促销单品简介" + } + }, + "title": "IndexInfoItemResponse对象", + "description": "用户登录返回数据", + "$$ref": "#/definitions/IndexInfoItemResponse对象" + }, + "likeInfo": { + "type": "array", + "description": "热门榜单", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "list": { + "type": "array", + "description": "商品", + "items": { + "type": "object", + "properties": { + "cateId": { + "type": "array", + "description": "分类id", + "items": { + "type": "integer", + "format": "int32" + } + }, + "id": { + "type": "integer", + "format": "int32", + "description": "商品id" + }, + "image": { + "type": "string", + "description": "商品图片" + }, + "otPrice": { + "type": "number", + "description": "市场价" + }, + "price": { + "type": "number", + "description": "商品价格" + }, + "sales": { + "type": "integer", + "format": "int32", + "description": "销量" + }, + "sort": { + "type": "integer", + "format": "int32", + "description": "排序" + }, + "stock": { + "type": "integer", + "format": "int32", + "description": "库存" + }, + "storeName": { + "type": "string", + "description": "商品名称" + }, + "unitName": { + "type": "string", + "description": "单位名" + } + }, + "title": "ProductResponse对象", + "description": "商品表", + "$$ref": "#/definitions/ProductResponse对象" + } + }, + "logoUrl": { + "type": "string", + "description": "企业logo" + }, + "lovely": { + "type": "object", + "description": "首发新品广告图", + "additionalProperties": { + "type": "object" + } + }, + "menus": { + "type": "array", + "description": "导航模块", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "roll": { + "type": "array", + "description": "新闻简报消息滚动", + "items": { + "type": "object", + "title": "HashMap«string,object»", + "additionalProperties": { + "type": "object" + }, + "$$ref": "#/definitions/HashMap«string,object»" + } + }, + "subscribe": { + "type": "boolean", + "description": "是否关注" + } + }, + "title": "IndexInfoResponse对象", + "description": "用户登录返回数据", + "$$ref": "#/definitions/IndexInfoResponse对象" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«IndexInfoResponse对象»", + "$$ref": "#/definitions/CommonResult«IndexInfoResponse对象»" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/接口文档/公共接口/public_api.html b/接口文档/公共接口/public_api.html new file mode 100644 index 00000000..ad9c6f4a --- /dev/null +++ b/接口文档/公共接口/public_api.html @@ -0,0 +1,853 @@ + + + + crmeb_java_public + + + + + +
+
+ +
+ + + \ No newline at end of file diff --git a/接口文档/公共接口/public_api.json b/接口文档/公共接口/public_api.json new file mode 100644 index 00000000..3eadaf1e --- /dev/null +++ b/接口文档/公共接口/public_api.json @@ -0,0 +1,443 @@ +[ + { + "index": 0, + "name": "Admin管理员 密码操作", + "desc": "Authorization Admin", + "add_time": 1597369015, + "up_time": 1597369015, + "list": [ + { + "query_path": { + "path": "/api/public/auth/test/account/encode", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7178, + "method": "POST", + "title": "密码加密", + "path": "/api/public/auth/test/account/encode", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eab7bc7e8e560914fbe9", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35eab7bc7e8e560914fbeb", + "name": "account", + "desc": "账号" + }, + { + "required": "0", + "_id": "5f35eab7bc7e8e560914fbea", + "name": "password", + "desc": "密码" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map»\",\n \"$$ref\": \"#/definitions/CommonResult«Map»\"\n}", + "project_id": 55, + "catid": 4838, + "uid": 93, + "add_time": 1597369015, + "up_time": 1597369015, + "__v": 0 + }, + { + "query_path": { + "path": "/api/public/auth/test/account/decode", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7176, + "method": "POST", + "title": "破解密码", + "path": "/api/public/auth/test/account/decode", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eab7bc7e8e560914fbe6", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35eab7bc7e8e560914fbe8", + "name": "account", + "desc": "账号" + }, + { + "required": "0", + "_id": "5f35eab7bc7e8e560914fbe7", + "name": "encodeString", + "desc": "加密字符串" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map»\",\n \"$$ref\": \"#/definitions/CommonResult«Map»\"\n}", + "project_id": 55, + "catid": 4838, + "uid": 93, + "add_time": 1597369015, + "up_time": 1597369015, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "Redis测试操作", + "desc": "Redis Test Controller", + "add_time": 1597369015, + "up_time": 1597369015, + "list": [ + { + "query_path": { + "path": "/api/public/test/redis/delete", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7182, + "method": "GET", + "title": "删除", + "path": "/api/public/test/redis/delete", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbed", + "name": "key", + "desc": "redis key" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 55, + "catid": 4847, + "uid": 93, + "add_time": 1597369016, + "up_time": 1597369016, + "__v": 0 + }, + { + "query_path": { + "path": "/api/public/test/redis/set", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7186, + "method": "POST", + "title": "新增", + "path": "/api/public/test/redis/set", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eab8bc7e8e560914fbef", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbf1", + "name": "key", + "desc": "redis key" + }, + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbf0", + "name": "value", + "desc": "内容" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 55, + "catid": 4847, + "uid": 93, + "add_time": 1597369016, + "up_time": 1597369016, + "__v": 0 + }, + { + "query_path": { + "path": "/api/public/test/redis/get", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7184, + "method": "GET", + "title": "查询", + "path": "/api/public/test/redis/get", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbee", + "name": "key", + "desc": "redis key" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 55, + "catid": 4847, + "uid": 93, + "add_time": 1597369016, + "up_time": 1597369016, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "企业微信消息推送", + "desc": "We Chat Push Controller", + "add_time": 1597369015, + "up_time": 1597369015, + "list": [ + { + "query_path": { + "path": "/api/public/wechat/gitlab", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7188, + "method": "POST", + "title": "gitlab钩子", + "path": "/api/public/wechat/gitlab", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eab8bc7e8e560914fbf2", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [ + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbf3", + "name": "token", + "desc": "企业微信群token" + } + ], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "req_body_other": "{\n \"type\": \"string\"\n}", + "project_id": 55, + "catid": 4856, + "uid": 93, + "add_time": 1597369016, + "up_time": 1597369016, + "__v": 0 + }, + { + "query_path": { + "path": "/api/public/wechat/push", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": false, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7192, + "method": "GET", + "title": "消息推送", + "path": "/api/public/wechat/push", + "req_params": [], + "req_body_form": [], + "req_headers": [], + "req_query": [ + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbf6", + "name": "message", + "desc": "推送消息内容" + }, + { + "required": "0", + "_id": "5f35eab8bc7e8e560914fbf5", + "name": "token", + "desc": "企业微信群token" + } + ], + "req_body_type": "raw", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«object»\",\n \"$$ref\": \"#/definitions/CommonResult«object»\"\n}", + "project_id": 55, + "catid": 4856, + "uid": 93, + "add_time": 1597369016, + "up_time": 1597369016, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "图片操作", + "desc": "Image Merge Controller", + "add_time": 1597369015, + "up_time": 1597369015, + "list": [ + { + "query_path": { + "path": "/api/public/qrcode/mergeList", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7180, + "method": "POST", + "title": "合并图片返回文件", + "path": "/api/public/qrcode/mergeList", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eab7bc7e8e560914fbec", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"data\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"title\": \"CommonResult«Map«string,string»»\",\n \"$$ref\": \"#/definitions/CommonResult«Map«string,string»»\"\n}", + "req_body_other": "{\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\n \"path\",\n \"x\",\n \"y\"\n ],\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"图片地址\"\n },\n \"x\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"x轴\"\n },\n \"y\": {\n \"type\": \"integer\",\n \"format\": \"int32\",\n \"description\": \"y轴\"\n }\n },\n \"title\": \"ImageMergeUtilVo\",\n \"$$ref\": \"#/definitions/ImageMergeUtilVo\"\n }\n}", + "project_id": 55, + "catid": 4865, + "uid": 93, + "add_time": 1597369015, + "up_time": 1597369015, + "__v": 0 + } + ] + }, + { + "index": 0, + "name": "微信开放平台 -- 消息", + "desc": "We Chat Message Controller", + "add_time": 1597369015, + "up_time": 1597369015, + "list": [ + { + "query_path": { + "path": "/api/public/wechat/message/webHook", + "params": [] + }, + "edit_uid": 0, + "status": "undone", + "type": "static", + "req_body_is_json_schema": true, + "res_body_is_json_schema": true, + "api_opened": false, + "index": 0, + "tag": [], + "_id": 7190, + "method": "POST", + "title": "接受微信推送过来的消息", + "path": "/api/public/wechat/message/webHook", + "req_params": [], + "req_body_form": [], + "req_headers": [ + { + "required": "1", + "_id": "5f35eab8bc7e8e560914fbf4", + "name": "Content-Type", + "value": "application/json" + } + ], + "req_query": [], + "req_body_type": "json", + "res_body_type": "json", + "res_body": "{\n \"type\": \"string\"\n}", + "project_id": 55, + "catid": 4874, + "uid": 93, + "add_time": 1597369016, + "up_time": 1597369016, + "__v": 0 + } + ] + } +] \ No newline at end of file diff --git a/接口文档/公共接口/public_api.md b/接口文档/公共接口/public_api.md new file mode 100644 index 00000000..ba7bee77 --- /dev/null +++ b/接口文档/公共接口/public_api.md @@ -0,0 +1,320 @@ + +

crmeb_java_public

+ crmeb_java_public + + +# Admin管理员 密码操作 + +## 密码加密 + +### 基本信息 + +**Path:** /api/public/auth/test/account/encode + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 否 | | 账号 | +| password | 否 | | 密码 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 破解密码 + +### 基本信息 + +**Path:** /api/public/auth/test/account/decode + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| account | 否 | | 账号 | +| encodeString | 否 | | 加密字符串 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# Redis测试操作 + +## 删除 + +### 基本信息 + +**Path:** /api/public/test/redis/delete + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| key | 否 | | redis key | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 新增 + +### 基本信息 + +**Path:** /api/public/test/redis/set + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| key | 否 | | redis key | +| value | 否 | | 内容 | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 查询 + +### 基本信息 + +**Path:** /api/public/test/redis/get + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| key | 否 | | redis key | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 企业微信消息推送 + +## gitlab钩子 + +### 基本信息 + +**Path:** /api/public/wechat/gitlab + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| token | 否 | | 企业微信群token | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
string非必须
+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +## 消息推送 + +### 基本信息 + +**Path:** /api/public/wechat/push + +**Method:** GET + +**接口描述:** + + +### 请求参数 +**Query** + +| 参数名称 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | +| message | 否 | | 推送消息内容 | +| token | 否 | | 企业微信群token | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 图片操作 + +## 合并图片返回文件 + +### 基本信息 + +**Path:** /api/public/qrcode/mergeList + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | +**Body** + + + + + + + + +
名称类型是否必须默认值备注其他信息
object []非必须

item 类型: object

├─ pathstring必须图片地址
├─ xinteger必须x轴

format: int32

├─ yinteger必须y轴

format: int32

+ +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
codeinteger非必须

format: int64

dataobject非必须
messagestring非必须
+ +# 微信开放平台 -- 消息 + +## 接受微信推送过来的消息 + +### 基本信息 + +**Path:** /api/public/wechat/message/webHook + +**Method:** POST + +**接口描述:** + + +### 请求参数 +**Headers** + +| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | +| ------------ | ------------ | ------------ | ------------ | ------------ | +| Content-Type | application/json | 是 | | | + +### 返回数据 + + + + + + + + +
名称类型是否必须默认值备注其他信息
string非必须
+ \ No newline at end of file diff --git a/接口文档/公共接口/public_swaggerApi.json b/接口文档/公共接口/public_swaggerApi.json new file mode 100644 index 00000000..c73df23a --- /dev/null +++ b/接口文档/公共接口/public_swaggerApi.json @@ -0,0 +1,483 @@ +{ + "swagger": "2.0", + "info": { + "title": "crmeb_java_public", + "version": "last", + "description": "crmeb_java_public" + }, + "basePath": "/", + "tags": [ + { + "name": "Admin管理员 密码操作", + "description": "Authorization Admin" + }, + { + "name": "Redis测试操作", + "description": "Redis Test Controller" + }, + { + "name": "企业微信消息推送", + "description": "We Chat Push Controller" + }, + { + "name": "图片操作", + "description": "Image Merge Controller" + }, + { + "name": "微信开放平台 -- 消息", + "description": "We Chat Message Controller" + } + ], + "schemes": [ + "http" + ], + "paths": { + "/api/public/auth/test/account/encode": { + "post": { + "tags": [ + "Admin管理员 密码操作" + ], + "summary": "密码加密", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "账号", + "type": "string" + }, + { + "name": "password", + "in": "query", + "required": false, + "description": "密码", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map»", + "$$ref": "#/definitions/CommonResult«Map»" + } + } + } + } + }, + "/api/public/auth/test/account/decode": { + "post": { + "tags": [ + "Admin管理员 密码操作" + ], + "summary": "破解密码", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "account", + "in": "query", + "required": false, + "description": "账号", + "type": "string" + }, + { + "name": "encodeString", + "in": "query", + "required": false, + "description": "加密字符串", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map»", + "$$ref": "#/definitions/CommonResult«Map»" + } + } + } + } + }, + "/api/public/test/redis/delete": { + "get": { + "tags": [ + "Redis测试操作" + ], + "summary": "删除", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "key", + "in": "query", + "required": false, + "description": "redis key", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/public/test/redis/set": { + "post": { + "tags": [ + "Redis测试操作" + ], + "summary": "新增", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "key", + "in": "query", + "required": false, + "description": "redis key", + "type": "string" + }, + { + "name": "value", + "in": "query", + "required": false, + "description": "内容", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/public/test/redis/get": { + "get": { + "tags": [ + "Redis测试操作" + ], + "summary": "查询", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "key", + "in": "query", + "required": false, + "description": "redis key", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/public/wechat/gitlab": { + "post": { + "tags": [ + "企业微信消息推送" + ], + "summary": "gitlab钩子", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "token", + "in": "query", + "required": false, + "description": "企业微信群token", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/public/wechat/push": { + "get": { + "tags": [ + "企业微信消息推送" + ], + "summary": "消息推送", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "message", + "in": "query", + "required": false, + "description": "推送消息内容", + "type": "string" + }, + { + "name": "token", + "in": "query", + "required": false, + "description": "企业微信群token", + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object" + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«object»", + "$$ref": "#/definitions/CommonResult«object»" + } + } + } + } + }, + "/api/public/qrcode/mergeList": { + "post": { + "tags": [ + "图片操作" + ], + "summary": "合并图片返回文件", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "root", + "in": "body", + "schema": { + "type": "array", + "items": { + "type": "object", + "required": [ + "path", + "x", + "y" + ], + "properties": { + "path": { + "type": "string", + "description": "图片地址" + }, + "x": { + "type": "integer", + "format": "int32", + "description": "x轴" + }, + "y": { + "type": "integer", + "format": "int32", + "description": "y轴" + } + }, + "title": "ImageMergeUtilVo", + "$$ref": "#/definitions/ImageMergeUtilVo" + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "title": "CommonResult«Map«string,string»»", + "$$ref": "#/definitions/CommonResult«Map«string,string»»" + } + } + } + } + }, + "/api/public/wechat/message/webHook": { + "post": { + "tags": [ + "微信开放平台 -- 消息" + ], + "summary": "接受微信推送过来的消息", + "consumes": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "string" + } + } + } + } + } + } +} \ No newline at end of file