diff --git a/app/api/controller/Dictionary.php b/app/api/controller/Dictionary.php index 7e0baaf..4254b83 100644 --- a/app/api/controller/Dictionary.php +++ b/app/api/controller/Dictionary.php @@ -52,7 +52,7 @@ class Dictionary extends Common } /** - * @OA\Post (path="demo/add",tags={"测试案例"},summary="添加DEMO数据",description="添加后台DEMO管理数据", + * @OA\Post (path="dictionary/add",tags={"测试案例"},summary="添加DEMO数据",description="添加后台DEMO管理数据", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -86,7 +86,7 @@ class Dictionary extends Common } /** - * @OA\Post (path="demo/edit/id/{id}",tags={"测试案例"},summary="修改DEMO数据",description="修改后台DEMO管理数据", + * @OA\Post (path="dictionary/edit/id/{id}",tags={"测试案例"},summary="修改DEMO数据",description="修改后台DEMO管理数据", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -122,7 +122,7 @@ class Dictionary extends Common /** * @OA\Post ( - * path="demo/delete",tags={"测试案例"},summary="删除DEMO数据",description="根据ID删除DEMO信息", + * path="dictionary/delete",tags={"测试案例"},summary="删除DEMO数据",description="根据ID删除DEMO信息", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -159,7 +159,7 @@ class Dictionary extends Common /** * @OA\Post ( - * path="demo/status",tags={"测试案例"},summary="更新DEMO状态",description="根据ID及status更新DEMO状态", + * path="dictionary/status",tags={"测试案例"},summary="更新DEMO状态",description="根据ID及status更新DEMO状态", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", diff --git a/app/api/controller/DictionaryType.php b/app/api/controller/DictionaryType.php index 143e174..2dba59a 100644 --- a/app/api/controller/DictionaryType.php +++ b/app/api/controller/DictionaryType.php @@ -56,7 +56,7 @@ class DictionaryType extends Common } /** - * @OA\Post (path="demo/add",tags={"测试案例"},summary="添加DEMO数据",description="添加后台DEMO管理数据", + * @OA\Post (path="dictionary_type/add",tags={"测试案例"},summary="添加dictionary_type数据",description="添加后台dictionary_type管理数据", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -90,7 +90,7 @@ class DictionaryType extends Common } /** - * @OA\Post (path="demo/edit/id/{id}",tags={"测试案例"},summary="修改DEMO数据",description="修改后台DEMO管理数据", + * @OA\Post (path="dictionary_type/edit/id/{id}",tags={"测试案例"},summary="修改dictionary_type数据",description="修改后台dictionary_type管理数据", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -126,7 +126,7 @@ class DictionaryType extends Common /** * @OA\Post ( - * path="demo/delete",tags={"测试案例"},summary="删除DEMO数据",description="根据ID删除DEMO信息", + * path="dictionary_type/delete",tags={"测试案例"},summary="删除DEMO数据",description="根据ID删除DEMO信息", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -163,7 +163,7 @@ class DictionaryType extends Common /** * @OA\Post ( - * path="demo/status",tags={"测试案例"},summary="更新DEMO状态",description="根据ID及status更新DEMO状态", + * path="dictionary_type/status",tags={"测试案例"},summary="更新DEMO状态",description="根据ID及status更新DEMO状态", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", diff --git a/app/api/controller/Group.php b/app/api/controller/Group.php index 54c0885..a02f7e0 100644 --- a/app/api/controller/Group.php +++ b/app/api/controller/Group.php @@ -365,7 +365,7 @@ class Group extends Common * @OA\Property( * property="rules", * type="string", - * description="用户组拥有的规则id, 多个规则","隔开" + * description="用户组拥有的规则id, 多个规则,隔开" * ), * @OA\Property( * property="type", diff --git a/app/api/controller/Message.php b/app/api/controller/Message.php index ac29b5b..85b963c 100644 --- a/app/api/controller/Message.php +++ b/app/api/controller/Message.php @@ -49,7 +49,7 @@ class Message extends Common } /** - * @OA\Post (path="demo/add",tags={"测试案例"},summary="添加DEMO数据",description="添加后台DEMO管理数据", + * @OA\Post (path="message/add",tags={"测试案例"},summary="添加message数据",description="添加后台message管理数据", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -83,7 +83,7 @@ class Message extends Common } /** - * @OA\Post (path="demo/edit/id/{id}",tags={"测试案例"},summary="修改DEMO数据",description="修改后台DEMO管理数据", + * @OA\Post (path="message/edit/id/{id}",tags={"测试案例"},summary="修改message数据",description="修改后台message管理数据", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -119,7 +119,7 @@ class Message extends Common /** * @OA\Post ( - * path="demo/delete",tags={"测试案例"},summary="删除DEMO数据",description="根据ID删除DEMO信息", + * path="message/delete",tags={"测试案例"},summary="删除message数据",description="根据ID删除message信息", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", @@ -156,7 +156,7 @@ class Message extends Common /** * @OA\Post ( - * path="demo/status",tags={"测试案例"},summary="更新DEMO状态",description="根据ID及status更新DEMO状态", + * path="message/status",tags={"测试案例"},summary="更新message状态",description="根据ID及status更新message状态", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\RequestBody( * @OA\MediaType(mediaType="application/json", diff --git a/app/api/controller/Swagger.php b/app/api/controller/Swagger.php index 1e4aa19..a996864 100644 --- a/app/api/controller/Swagger.php +++ b/app/api/controller/Swagger.php @@ -3,8 +3,6 @@ declare (strict_types=1); namespace app\api\controller; -use function OpenApi\scan; - class Swagger { /** @@ -12,10 +10,10 @@ class Swagger */ public function createFile() { - - $openapi = @scan(dirname(__DIR__)); - $spec = json_encode($openapi, JSON_PRETTY_PRINT); - if (file_put_contents('openapi.json', $spec)) { +// echo dirname(__DIR__);exit; + $openapi = \OpenApi\Generator::scan([dirname(__DIR__)]); + header('Content-Type: application/json'); + if (file_put_contents('openapi.json', $openapi->toJson())) { echo 'http://' . \request()->server()['HTTP_HOST'] . '/openapi.json'; } } diff --git a/app/api/controller/UploadLog.php b/app/api/controller/UploadLog.php index c4a43fb..837f159 100644 --- a/app/api/controller/UploadLog.php +++ b/app/api/controller/UploadLog.php @@ -21,7 +21,7 @@ class UploadLog extends Common } /** * @OA\Get ( - * path="log/index",tags={"上传日志管理"},summary="获取上传日志列表",description="根据相关参数获取日志列表", + * path="uploadLog/index",tags={"上传日志管理"},summary="获取上传日志列表",description="根据相关参数获取日志列表", * @OA\Parameter(ref="#/components/parameters/token"), * @OA\Parameter(name="username",in="query",description="管理员名称",@OA\Schema (type="string")), * @OA\Parameter(name="model",in="query",description="操作模块",@OA\Schema (type="string")), @@ -30,7 +30,6 @@ class UploadLog extends Common * @OA\Response( * response=200, * description="返回管理员用户数据信息", - * @OA\JsonContent(ref="#/components/schemas/LogMsgExport"), * ), * ), */ diff --git a/composer.lock b/composer.lock index f33beea..332ea86 100644 --- a/composer.lock +++ b/composer.lock @@ -211,23 +211,24 @@ }, { "name": "lcobucci/clock", - "version": "2.1.0", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/lcobucci/clock.git", - "reference": "903513d28e85376a33385ebc601afd2ee69e5653" + "reference": "fb533e093fd61321bfcbac08b131ce805fe183d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/clock/zipball/903513d28e85376a33385ebc601afd2ee69e5653", - "reference": "903513d28e85376a33385ebc601afd2ee69e5653", + "url": "https://api.github.com/repos/lcobucci/clock/zipball/fb533e093fd61321bfcbac08b131ce805fe183d3", + "reference": "fb533e093fd61321bfcbac08b131ce805fe183d3", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.0", + "stella-maris/clock": "^0.1.4" }, "require-dev": { - "infection/infection": "^0.25", + "infection/infection": "^0.26", "lcobucci/coding-standard": "^8.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^0.12", @@ -255,7 +256,7 @@ "description": "Yet another clock abstraction", "support": { "issues": "https://github.com/lcobucci/clock/issues", - "source": "https://github.com/lcobucci/clock/tree/2.1.0" + "source": "https://github.com/lcobucci/clock/tree/2.2.0" }, "funding": [ { @@ -267,7 +268,7 @@ "type": "patreon" } ], - "time": "2021-10-31T21:32:07+00:00" + "time": "2022-04-19T19:34:17+00:00" }, { "name": "lcobucci/jwt", @@ -490,16 +491,16 @@ }, { "name": "league/mime-type-detection", - "version": "1.9.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69" + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc927863d47309b4c23e69", - "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", "shasum": "" }, "require": { @@ -530,7 +531,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.9.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" }, "funding": [ { @@ -542,7 +543,7 @@ "type": "tidelift" } ], - "time": "2021-11-21T11:48:40+00:00" + "time": "2022-04-17T13:12:02+00:00" }, { "name": "psr/cache", @@ -796,17 +797,64 @@ "time": "2017-10-23T01:57:42+00:00" }, { + "name": "stella-maris/clock", + "version": "0.1.4", + "source": { + "type": "git", + "url": "https://gitlab.com/stella-maris/clock.git", + "reference": "8a0a967896df4c63417385dc69328a0aec84d9cf" + }, + "dist": { + "type": "zip", + "url": "https://gitlab.com/api/v4/projects/stella-maris%2Fclock/repository/archive.zip?sha=8a0a967896df4c63417385dc69328a0aec84d9cf", + "reference": "8a0a967896df4c63417385dc69328a0aec84d9cf", + "shasum": "" + }, + "require": { + "php": "^7.0|^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "StellaMaris\\Clock\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andreas Heigl", + "role": "Maintainer" + } + ], + "description": "A pre-release of the proposed PSR-20 Clock-Interface", + "homepage": "https://gitlab.com/stella-maris/clock", + "keywords": [ + "clock", + "datetime", + "point in time", + "psr20" + ], + "support": { + "issues": "https://gitlab.com/stella-maris/clock/-/issues", + "source": "https://gitlab.com/stella-maris/clock/-/tree/0.1.4" + }, + "time": "2022-04-17T14:12:26+00:00" + }, + { "name": "symfony/finder", - "version": "v6.0.3", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "8661b74dbabc23223f38c9b99d3f8ade71170430" + "reference": "af7edab28d17caecd1f40a9219fc646ae751c21f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8661b74dbabc23223f38c9b99d3f8ade71170430", - "reference": "8661b74dbabc23223f38c9b99d3f8ade71170430", + "url": "https://api.github.com/repos/symfony/finder/zipball/af7edab28d17caecd1f40a9219fc646ae751c21f", + "reference": "af7edab28d17caecd1f40a9219fc646ae751c21f", "shasum": "" }, "require": { @@ -838,7 +886,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.0.3" + "source": "https://github.com/symfony/finder/tree/v6.0.8" }, "funding": [ { @@ -854,7 +902,7 @@ "type": "tidelift" } ], - "time": "2022-01-26T17:23:29+00:00" + "time": "2022-04-15T08:07:58+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1601,16 +1649,16 @@ }, { "name": "symfony/var-dumper", - "version": "v4.4.39", + "version": "v4.4.41", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "35237c5e5dcb6593a46a860ba5b29c1d4683d80e" + "reference": "58eb36075c04aaf92a7a9f38ee9a8b97e24eb481" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/35237c5e5dcb6593a46a860ba5b29c1d4683d80e", - "reference": "35237c5e5dcb6593a46a860ba5b29c1d4683d80e", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/58eb36075c04aaf92a7a9f38ee9a8b97e24eb481", + "reference": "58eb36075c04aaf92a7a9f38ee9a8b97e24eb481", "shasum": "" }, "require": { @@ -1670,7 +1718,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v4.4.39" + "source": "https://github.com/symfony/var-dumper/tree/v4.4.41" }, "funding": [ { @@ -1686,7 +1734,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T10:38:15+00:00" + "time": "2022-04-25T21:15:06+00:00" }, { "name": "topthink/think-trace", diff --git a/public/openapi.json b/public/openapi.json index 47bdc6f..93bb480 100644 --- a/public/openapi.json +++ b/public/openapi.json @@ -1,12 +1,12 @@ { "openapi": "3.0.0", "info": { - "title": "\u8fd9\u662f\u6211\u7684swagger\u6587\u6863\u7b2c\u4e00\u4e2aApi", - "description": "\u7528\u6237Api\u63a5\u53e3", - "termsOfService": "http:\/\/swagger.io\/terms\/", + "title": "这是我的swagger文档第一个Api", + "description": "用户Api接口", + "termsOfService": "http://swagger.io/terms/", "contact": { - "name": "\u5b89\u5fbd\u4e91\u638c\u6280\u672f\u652f\u6301", - "url": "http:\/\/www.ahbmz.com", + "name": "安徽云掌技术支持", + "url": "http://www.ahbmz.com", "email": "txg@huamill.com" }, "license": { @@ -21,22 +21,22 @@ } ], "paths": { - "config\/index": { + "config/index": { "get": { "tags": [ - "\u7cfb\u7edf\u914d\u7f6e" + "系统配置" ], - "summary": "\u83b7\u53d6\u7cfb\u7edf\u914d\u7f6e", - "description": "\u83b7\u53d6\u7cfb\u7edf\u914d\u7f6e", + "summary": "获取系统配置", + "description": "获取系统配置", "operationId": "318bb054d5c78946534cd27a70bf2e19", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "name", "in": "query", - "description": "\u914d\u7f6e\u540d\u79f0", + "description": "配置名称", "schema": { "type": "string" } @@ -44,7 +44,7 @@ { "name": "type", "in": "query", - "description": "\u914d\u7f6e\u6807\u8bc6", + "description": "配置标识", "schema": { "type": "string" } @@ -52,7 +52,7 @@ { "name": "value", "in": "query", - "description": "\u914d\u7f6e\u503c", + "description": "配置值", "schema": { "type": "string" } @@ -60,35 +60,35 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u6240\u6709\u914d\u7f6e\u4fe1\u606f" + "description": "返回所有配置信息" } } } }, - "config\/save": { + "config/save": { "post": { "tags": [ - "\u7cfb\u7edf\u914d\u7f6e" + "系统配置" ], - "summary": "\u7cfb\u7edf\u914d\u7f6e", - "description": "\u7cfb\u7edf\u914d\u7f6e", + "summary": "系统配置", + "description": "系统配置", "operationId": "91b9e70a9bc831f86ec2f312bb3b1a84", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "name": { - "description": "\u6b64\u90a3\u4e48\u53ef\u81ea\u884c\u5b9a\u4e49 \u6bd4\u5982 seo_title", + "description": "此那么可自行定义 比如 seo_title", "type": "string" }, "value": { - "description": "\u6b64\u90a3\u4e48\u53ef\u81ea\u884c\u5b9a\u4e49 \u6bd4\u5982 \u5408\u80a5\u7f51\u7ad9\u4f18\u5316", + "description": "此那么可自行定义 比如 合肥网站优化", "type": "string" } }, @@ -99,27 +99,27 @@ }, "responses": { "200": { - "description": "\u6dfb\u52a0\u6210\u529f", + "description": "添加成功", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", + "description": "添加成功的的数据ID", "type": "integer", "format": "int32" } @@ -132,22 +132,22 @@ } } }, - "demo\/index": { + "demo/index": { "get": { "tags": [ - "\u6d4b\u8bd5\u6848\u4f8b" + "测试案例" ], - "summary": "\u83b7\u53d6DEMO\u5217\u8868", - "description": "\u6839\u636e\u76f8\u5173\u53c2\u6570\u83b7\u53d6DEMO\u5217\u8868", + "summary": "获取DEMO列表", + "description": "根据相关参数获取DEMO列表", "operationId": "3821ee044ba1221e3de1e58ce7fa3283", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "username", "in": "query", - "description": "\u7528\u6237\u540d\u79f0", + "description": "用户名称", "schema": { "type": "string" } @@ -155,7 +155,7 @@ { "name": "sex", "in": "query", - "description": "\u7528\u6237\u5e74\u9f84", + "description": "用户年龄", "schema": { "type": "integer", "format": "int15" @@ -164,7 +164,7 @@ { "name": "page", "in": "query", - "description": "\u5f53\u524d\u9875\u7801", + "description": "当前页码", "schema": { "type": "integer", "format": "int15" @@ -173,7 +173,7 @@ { "name": "limit", "in": "query", - "description": "\u5206\u9875\u6570\u91cf", + "description": "分页数量", "schema": { "type": "integer", "format": "int15" @@ -182,11 +182,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56deDEMo\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回DEMo用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/DemoMsgExport" + "$ref": "#/components/schemas/DemoMsgExport" } } } @@ -194,17 +194,17 @@ } } }, - "demo\/read\/{id}": { + "demo/read/{id}": { "get": { "tags": [ - "\u6d4b\u8bd5\u6848\u4f8b" + "测试案例" ], - "summary": "\u83b7\u53d6DEMO\u8be6\u60c5", - "description": "\u6839\u636eID\u67e5\u8be2DEMO\u4fe1\u606f", + "summary": "获取DEMO详情", + "description": "根据ID查询DEMO信息", "operationId": "bc4192b86801298eb1a5dff9da3ccf54", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "id", @@ -219,11 +219,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56deDEMO\u5355\u6761\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回DEMO单条用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/DemoMsgExport" + "$ref": "#/components/schemas/DemoMsgExport" } } } @@ -231,51 +231,51 @@ } } }, - "demo\/add": { + "demo/add": { "post": { "tags": [ - "\u6d4b\u8bd5\u6848\u4f8b" + "测试案例" ], - "summary": "\u6dfb\u52a0DEMO\u6570\u636e", - "description": "\u6dfb\u52a0\u540e\u53f0DEMO\u7ba1\u7406\u6570\u636e", + "summary": "添加DEMO数据", + "description": "添加后台DEMO管理数据", "operationId": "705135f3cdd044f61acf716558c1f273", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/DemoField" + "$ref": "#/components/schemas/DemoField" } } } }, "responses": { "200": { - "description": "\u6dfb\u52a0\u6210\u529f", + "description": "添加成功", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", + "description": "添加成功的的数据ID", "type": "integer", "format": "int32" } @@ -288,51 +288,51 @@ } } }, - "demo\/edit\/id\/{id}": { + "demo/edit/id/{id}": { "post": { "tags": [ - "\u6d4b\u8bd5\u6848\u4f8b" + "测试案例" ], - "summary": "\u4fee\u6539DEMO\u6570\u636e", - "description": "\u4fee\u6539\u540e\u53f0DEMO\u7ba1\u7406\u6570\u636e", + "summary": "修改DEMO数据", + "description": "修改后台DEMO管理数据", "operationId": "7eda1f7cee4b22e05892ca95b0067207", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/DemoField" + "$ref": "#/components/schemas/DemoField" } } } }, "responses": { "200": { - "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", + "description": "修改数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -344,29 +344,29 @@ } } }, - "demo\/delete": { + "demo/delete": { "post": { "tags": [ - "\u6d4b\u8bd5\u6848\u4f8b" + "测试案例3333" ], - "summary": "\u5220\u9664DEMO\u6570\u636e", - "description": "\u6839\u636eID\u5220\u9664DEMO\u4fe1\u606f", + "summary": "删除DEMO数据", + "description": "根据ID删除DEMO信息", "operationId": "cad5e01e841f62af87728adcd8fa75a6", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id" ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" } }, @@ -377,27 +377,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -409,22 +409,22 @@ } } }, - "demo\/status": { + "demo/status": { "post": { "tags": [ - "\u6d4b\u8bd5\u6848\u4f8b" + "测试案例" ], - "summary": "\u66f4\u65b0DEMO\u72b6\u6001", - "description": "\u6839\u636eID\u53castatus\u66f4\u65b0DEMO\u72b6\u6001", + "summary": "更新DEMO状态", + "description": "根据ID及status更新DEMO状态", "operationId": "fb2ab3a11928e35d7be41cc0984bca10", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id", @@ -432,11 +432,11 @@ ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" }, "status": { - "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", + "description": "数据状态 0禁用 1启用", "type": "integer", "format": "int15" } @@ -448,27 +448,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -480,22 +480,520 @@ } } }, - "group\/index": { + "dictionary/add": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "添加DEMO数据", + "description": "添加后台DEMO管理数据", + "operationId": "6946bc94d5690a28eeff9d9a302547dc", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoField" + } + } + } + }, + "responses": { + "200": { + "description": "添加成功", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "添加成功的的数据ID", + "type": "integer", + "format": "int32" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary/edit/id/{id}": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "修改DEMO数据", + "description": "修改后台DEMO管理数据", + "operationId": "42d9bfbcba2101deed513baf69dce5b2", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoField" + } + } + } + }, + "responses": { + "200": { + "description": "修改数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary/delete": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "删除DEMO数据", + "description": "根据ID删除DEMO信息", + "operationId": "2d57c9c55d82ed8ebeebcaf519d9a405", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "id" + ], + "properties": { + "id": { + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "删除数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary/status": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "更新DEMO状态", + "description": "根据ID及status更新DEMO状态", + "operationId": "2c658b27c41cb1bd84ad221973a799be", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", + "type": "string" + }, + "status": { + "description": "数据状态 0禁用 1启用", + "type": "integer", + "format": "int15" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "删除数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary_type/add": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "添加dictionary_type数据", + "description": "添加后台dictionary_type管理数据", + "operationId": "6a282f7a8fe54c0a8f57048caf638bb2", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoField" + } + } + } + }, + "responses": { + "200": { + "description": "添加成功", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "添加成功的的数据ID", + "type": "integer", + "format": "int32" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary_type/edit/id/{id}": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "修改dictionary_type数据", + "description": "修改后台dictionary_type管理数据", + "operationId": "e48b16b1e00dbf0999b43bb6708a075b", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoField" + } + } + } + }, + "responses": { + "200": { + "description": "修改数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary_type/delete": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "删除DEMO数据", + "description": "根据ID删除DEMO信息", + "operationId": "74f869a0de78ca66e386e4fef3e79858", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "id" + ], + "properties": { + "id": { + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "删除数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "dictionary_type/status": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "更新DEMO状态", + "description": "根据ID及status更新DEMO状态", + "operationId": "e93be31b1544b02564d407d8d196a994", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", + "type": "string" + }, + "status": { + "description": "数据状态 0禁用 1启用", + "type": "integer", + "format": "int15" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "删除数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "group/index": { "get": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u83b7\u53d6\u89d2\u8272\u7ba1\u7406", - "description": "\u6839\u636e\u76f8\u5173\u53c2\u6570\u83b7\u53d6\u89d2\u8272\u7ba1\u7406", + "summary": "获取角色管理", + "description": "根据相关参数获取角色管理", "operationId": "2ef6ea2bf239ea90bd908e92b89da00b", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "title", "in": "query", - "description": "\u89d2\u8272\u540d\u79f0", + "description": "角色名称", "schema": { "type": "string" } @@ -503,7 +1001,7 @@ { "name": "role_code", "in": "query", - "description": "\u89d2\u8272\u6807\u8bc6", + "description": "角色标识", "schema": { "type": "string" } @@ -511,7 +1009,7 @@ { "name": "page", "in": "query", - "description": "\u5f53\u524d\u9875\u7801", + "description": "当前页码", "schema": { "type": "integer", "format": "int15" @@ -520,7 +1018,7 @@ { "name": "limit", "in": "query", - "description": "\u5206\u9875\u6570\u91cf", + "description": "分页数量", "schema": { "type": "integer", "format": "int15" @@ -529,11 +1027,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回管理员用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/GroupMsgExport" + "$ref": "#/components/schemas/GroupMsgExport" } } } @@ -541,22 +1039,22 @@ } } }, - "group\/getGroupRule": { + "group/getGroupRule": { "get": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u67e5\u8be2\u89d2\u8272\u6743\u9650", - "description": "\u67e5\u8be2\u89d2\u8272\u6240\u6709\u7684\u6743\u9650\u83dc\u5355,\u5e76\u8fdb\u884c\u6807\u8bb0checked", + "summary": "查询角色权限", + "description": "查询角色所有的权限菜单,并进行标记checked", "operationId": "e5e4613bf731f310b9b0f4b35acf51e1", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "role_id", "in": "path", - "description": "\u89d2\u8272ID", + "description": "角色ID", "required": true, "schema": { "type": "integer", @@ -566,11 +1064,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回管理员用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/MenuMsgExport" + "$ref": "#/components/schemas/MenuMsgExport" } } } @@ -578,51 +1076,51 @@ } } }, - "group\/add": { + "group/add": { "post": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u6dfb\u52a0\u89d2\u8272\u6570\u636e", - "description": "\u6dfb\u52a0\u540e\u53f0\u89d2\u8272\u6570\u636e", + "summary": "添加角色数据", + "description": "添加后台角色数据", "operationId": "945786fdf4da92aedadb5f81a1d10336", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/GroupField" + "$ref": "#/components/schemas/GroupField" } } } }, "responses": { "200": { - "description": "\u6dfb\u52a0\u6210\u529f", + "description": "添加成功", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", + "description": "添加成功的的数据ID", "type": "integer", "format": "int32" } @@ -635,29 +1133,29 @@ } } }, - "group\/addGroupRule\/role_id\/{role_id}": { + "group/addGroupRule/role_id/{role_id}": { "post": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u6dfb\u52a0\u89d2\u8272\u6743\u9650", - "description": "\u6dfb\u52a0\u540e\u53f0\u89d2\u8272\u6743\u9650", + "summary": "添加角色权限", + "description": "添加后台角色权限", "operationId": "a01ee69e06334c94d2292a0d46a698c0", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "menu_id" ], "properties": { "menu_id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" } }, @@ -668,27 +1166,27 @@ }, "responses": { "200": { - "description": "\u6dfb\u52a0\u6210\u529f", + "description": "添加成功", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", + "description": "添加成功的的数据ID", "type": "integer", "format": "int32" } @@ -701,51 +1199,51 @@ } } }, - "group\/edit\/id\/{id}": { + "group/edit/id/{id}": { "post": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u4fee\u6539\u89d2\u8272\u6570\u636e", - "description": "\u4fee\u6539\u89d2\u8272\u6570\u636e", + "summary": "修改角色数据", + "description": "修改角色数据", "operationId": "7b77235e8461f44f65890cdad130ec3c", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/GroupField" + "$ref": "#/components/schemas/GroupField" } } } }, "responses": { "200": { - "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", + "description": "修改数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -757,22 +1255,22 @@ } } }, - "group\/status": { + "group/status": { "post": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u66f4\u65b0\u89d2\u8272\u72b6\u6001", - "description": "\u6839\u636eID\u53castatus\u66f4\u65b0\u89d2\u8272\u72b6\u6001", + "summary": "更新角色状态", + "description": "根据ID及status更新角色状态", "operationId": "66bcbe4a88f80c1bf464f2c71c118935", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id", @@ -780,11 +1278,11 @@ ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" }, "status": { - "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", + "description": "数据状态 0禁用 1启用", "type": "integer", "format": "int15" } @@ -796,27 +1294,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -828,29 +1326,29 @@ } } }, - "group\/delete": { + "group/delete": { "post": { "tags": [ - "\u89d2\u8272\u7ba1\u7406" + "角色管理" ], - "summary": "\u5220\u9664\u89d2\u8272\u6570\u636e", - "description": "\u6839\u636eID\u5220\u9664\u89d2\u8272\u6570\u636e", + "summary": "删除角色数据", + "description": "根据ID删除角色数据", "operationId": "2a8b861bfae21554fc371a6252252e27", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id" ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" } }, @@ -861,27 +1359,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -893,22 +1391,22 @@ } } }, - "log\/index": { + "log/index": { "get": { "tags": [ - "\u65e5\u5fd7\u7ba1\u7406" + "日志管理" ], - "summary": "\u83b7\u53d6\u65e5\u5fd7\u5217\u8868", - "description": "\u6839\u636e\u76f8\u5173\u53c2\u6570\u83b7\u53d6\u65e5\u5fd7\u5217\u8868", + "summary": "获取日志列表", + "description": "根据相关参数获取日志列表", "operationId": "96ca56a7a4d14428de24129ef1da72b0", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "username", "in": "query", - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "schema": { "type": "string" } @@ -916,7 +1414,7 @@ { "name": "model", "in": "query", - "description": "\u64cd\u4f5c\u6a21\u5757", + "description": "操作模块", "schema": { "type": "string" } @@ -924,7 +1422,7 @@ { "name": "page", "in": "query", - "description": "\u5f53\u524d\u9875\u7801", + "description": "当前页码", "schema": { "type": "integer", "format": "int15" @@ -933,7 +1431,7 @@ { "name": "limit", "in": "query", - "description": "\u5206\u9875\u6570\u91cf", + "description": "分页数量", "schema": { "type": "integer", "format": "int15" @@ -942,11 +1440,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回管理员用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/LogMsgExport" + "$ref": "#/components/schemas/LogMsgExport" } } } @@ -954,17 +1452,17 @@ } } }, - "login\/login": { + "login/login": { "post": { "tags": [ - "\u516c\u5171\u5206\u7c7b" + "公共分类" ], - "summary": "\u7528\u6237\u767b\u5f55", - "description": "\u7528\u6237\u767b\u5f55", + "summary": "用户登录", + "description": "用户登录", "operationId": "f217bf5966dcac036da1ae0fa1928a71", "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "username", @@ -974,25 +1472,25 @@ ], "properties": { "username": { - "description": "\u767b\u5f55\u8d26\u53f7", + "description": "登录账号", "type": "string", "maxLength": 20, "minLength": 2 }, "password": { - "description": "\u767b\u5f55\u5bc6\u7801", + "description": "登录密码", "type": "string", "maxLength": 20, "minLength": 6 }, "key": { - "description": "\u9a8c\u8bc1\u7801\u5b89\u5168\u6807\u8bc6 \u9a8c\u8bc1\u7801\u63a5\u53e3\u8fd4\u56de", + "description": "验证码安全标识 验证码接口返回", "type": "string", "maxLength": 100, "minLength": 1 }, "code": { - "description": "\u9a8c\u8bc1\u7801", + "description": "验证码", "type": "integer", "format": "int15", "maxLength": 6, @@ -1006,24 +1504,24 @@ }, "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f,token\u4fe1\u606f\u3001\u7ba1\u7406\u5458\u4fe1\u606f" + "description": "返回管理员用户数据信息,token信息、管理员信息" } } } }, - "login\/captcha": { + "login/captcha": { "get": { "tags": [ - "\u516c\u5171\u5206\u7c7b" + "公共分类" ], - "summary": "\u83b7\u53d6\u9a8c\u8bc1\u7801", - "description": "\u83b7\u53d6\u9a8c\u8bc1\u7801", + "summary": "获取验证码", + "description": "获取验证码", "operationId": "c3ff68af4e7c6d6444865475c6cac652", "responses": { "200": { - "description": "\u8fd4\u56de\u9a8c\u8bc1\u7801\u4fe1\u606f", + "description": "返回验证码信息", "content": { - "application\/json": { + "application/json": { "schema": {} } } @@ -1031,22 +1529,22 @@ } } }, - "manager\/index": { + "manager/index": { "get": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u83b7\u53d6\u7528\u6237\u5217\u8868", - "description": "\u6839\u636e\u76f8\u5173\u53c2\u6570\u83b7\u53d6\u7528\u6237\u5217\u8868", + "summary": "获取用户列表", + "description": "根据相关参数获取用户列表", "operationId": "48c4130bb04784491efd891f40dacf79", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "username", "in": "query", - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "schema": { "type": "string" } @@ -1054,7 +1552,7 @@ { "name": "truename", "in": "query", - "description": "\u771f\u5b9e\u59d3\u540d", + "description": "真实姓名", "schema": { "type": "string" } @@ -1062,7 +1560,7 @@ { "name": "phone", "in": "query", - "description": "\u624b\u673a\u53f7", + "description": "手机号", "schema": { "type": "integer", "format": "int15" @@ -1071,7 +1569,7 @@ { "name": "sex", "in": "query", - "description": "\u6027\u522b", + "description": "性别", "schema": { "type": "integer", "format": "int15" @@ -1080,7 +1578,7 @@ { "name": "page", "in": "query", - "description": "\u5f53\u524d\u9875\u7801", + "description": "当前页码", "schema": { "type": "integer", "format": "int15" @@ -1089,7 +1587,7 @@ { "name": "limit", "in": "query", - "description": "\u5206\u9875\u6570\u91cf", + "description": "分页数量", "schema": { "type": "integer", "format": "int15" @@ -1098,11 +1596,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回管理员用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/ManagerMsgExport" + "$ref": "#/components/schemas/ManagerMsgExport" } } } @@ -1110,17 +1608,17 @@ } } }, - "manager\/read\/id\/{id}": { + "manager/read/id/{id}": { "get": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u83b7\u53d6\u7528\u6237\u8be6\u60c5", - "description": "\u6839\u636eID\u67e5\u8be2\u7528\u6237\u4fe1\u606f", + "summary": "获取用户详情", + "description": "根据ID查询用户信息", "operationId": "53984b6aed246c23f0575db9523d8027", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "id", @@ -1135,11 +1633,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", + "description": "返回管理员用户数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/ManagerMsgExport" + "$ref": "#/components/schemas/ManagerMsgExport" } } } @@ -1147,26 +1645,26 @@ } } }, - "manager\/readPersional": { + "manager/readPersional": { "get": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u83b7\u53d6\u4e2a\u4eba\u8be6\u60c5", - "description": "\u83b7\u53d6\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u4e2a\u4eba\u8d44\u6599", + "summary": "获取个人详情", + "description": "获取当前登录用户的个人资料", "operationId": "35498b796c23750dddf6df0d5419f18a", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "responses": { "200": { - "description": "\u8fd4\u56de\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u6570\u636e\u4fe1\u606f", + "description": "返回当前登录用户的数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/ManagerMsgExport" + "$ref": "#/components/schemas/ManagerMsgExport" } } } @@ -1174,26 +1672,26 @@ } } }, - "manager\/permissMenu": { + "manager/permissMenu": { "get": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u83b7\u53d6\u7528\u6237\u6743\u9650", - "description": "\u6839\u636e\u5f53\u524d\u767b\u5f55\u7528\u6237UID\u83b7\u53d6\u5f53\u524d\u7528\u6237\u6743\u9650\u83dc\u5355", + "summary": "获取用户权限", + "description": "根据当前登录用户UID获取当前用户权限菜单", "operationId": "6f5b9320c40835990026b3900c8c37c2", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "responses": { "200": { - "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u6743\u9650\u83dc\u5355\u6570\u636e", + "description": "返回管理员权限菜单数据", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/MenuMsgExport" + "$ref": "#/components/schemas/MenuMsgExport" } } } @@ -1201,51 +1699,51 @@ } } }, - "manager\/add": { + "manager/add": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u6dfb\u52a0\u7ba1\u7406\u5458\u6570\u636e", - "description": "\u6dfb\u52a0\u540e\u53f0\u7ba1\u7406\u5458\u6570\u636e", + "summary": "添加管理员数据", + "description": "添加后台管理员数据", "operationId": "cb1a845fbc97ceac6e1f1624378595c0", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/ManagerField" + "$ref": "#/components/schemas/ManagerField" } } } }, "responses": { "200": { - "description": "\u6dfb\u52a0\u6210\u529f", + "description": "添加成功", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", + "description": "添加成功的的数据ID", "type": "integer", "format": "int32" } @@ -1258,51 +1756,51 @@ } } }, - "manager\/edit\/id\/{id}": { + "manager/edit/id/{id}": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u4fee\u6539\u7528\u6237\u6570\u636e", - "description": "\u4fee\u6539\u7ba1\u7406\u5458\u6570\u636e", + "summary": "修改用户数据", + "description": "修改管理员数据", "operationId": "a211dd98950a33ae2917d25099b72efd", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/ManagerField" + "$ref": "#/components/schemas/ManagerField" } } } }, "responses": { "200": { - "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", + "description": "修改数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1314,51 +1812,51 @@ } } }, - "manager\/editPersional": { + "manager/editPersional": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u4fee\u6539\u4e2a\u4eba\u6570\u636e", - "description": "\u4fee\u6539\u81ea\u5df1\u7684\u4e2a\u4eba\u8d44\u6599", + "summary": "修改个人数据", + "description": "修改自己的个人资料", "operationId": "152febbfddd2ab76fe49cdf2bf928fee", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/ManagerField" + "$ref": "#/components/schemas/ManagerField" } } } }, "responses": { "200": { - "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", + "description": "修改数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1370,22 +1868,22 @@ } } }, - "manager\/passwordEdit": { + "manager/passwordEdit": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", - "description": "\u6839\u636eID\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", + "summary": "重置用户密码", + "description": "根据ID重置用户密码", "operationId": "8fb2bcc0cddd135d6f2157061c4846f7", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id", @@ -1395,24 +1893,24 @@ ], "properties": { "id": { - "description": "\u7528\u6237ID", + "description": "用户ID", "type": "integer", "format": "int15" }, "password": { - "description": "\u65b0\u5bc6\u7801", + "description": "新密码", "type": "string", "maxLength": 20, "minLength": 6 }, "old_password": { - "description": "\u539f\u59cb\u5bc6\u7801", + "description": "原始密码", "type": "string", "maxLength": 20, "minLength": 6 }, "username": { - "description": "\u7ba1\u7406\u5458\u8d26\u53f7", + "description": "管理员账号", "type": "string", "maxLength": 20, "minLength": 2 @@ -1425,27 +1923,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1457,22 +1955,22 @@ } } }, - "manager\/passwordReset": { + "manager/passwordReset": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", - "description": "\u6839\u636eID\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", + "summary": "重置用户密码", + "description": "根据ID重置用户密码", "operationId": "a40a095e006f10490189d362ecd6bb3b", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id", @@ -1481,18 +1979,18 @@ ], "properties": { "id": { - "description": "\u7528\u6237ID", + "description": "用户ID", "type": "integer", "format": "int15" }, "password": { - "description": "\u7ba1\u7406\u5458\u5bc6\u7801", + "description": "管理员密码", "type": "string", "maxLength": 20, "minLength": 6 }, "username": { - "description": "\u7ba1\u7406\u5458\u8d26\u53f7", + "description": "管理员账号", "type": "string", "maxLength": 20, "minLength": 2 @@ -1505,27 +2003,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1537,29 +2035,29 @@ } } }, - "manager\/delete": { + "manager/delete": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u5220\u9664\u7528\u6237\u6570\u636e", - "description": "\u6839\u636eID\u5220\u9664\u7528\u6237\u6570\u636e", + "summary": "删除用户数据", + "description": "根据ID删除用户数据", "operationId": "9794029a4fce27ecd83dcd58d2ab8111", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id" ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" } }, @@ -1570,27 +2068,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1602,22 +2100,22 @@ } } }, - "manager\/status": { + "manager/status": { "post": { "tags": [ - "\u7528\u6237\u7ba1\u7406" + "用户管理" ], - "summary": "\u66f4\u65b0\u7528\u6237\u72b6\u6001", - "description": "\u6839\u636eID\u53castatus\u66f4\u65b0\u7528\u6237\u72b6\u6001", + "summary": "更新用户状态", + "description": "根据ID及status更新用户状态", "operationId": "8636449e58b375690e0dcb62cbca646a", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id", @@ -1625,11 +2123,11 @@ ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" }, "status": { - "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", + "description": "数据状态 0禁用 1启用", "type": "integer", "format": "int15" } @@ -1641,27 +2139,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1673,22 +2171,22 @@ } } }, - "menu\/index": { + "menu/index": { "get": { "tags": [ - "\u6743\u9650\u83dc\u5355" + "权限菜单" ], - "summary": "\u83b7\u53d6\u83dc\u5355\u5217\u8868", - "description": "\u6839\u636e\u76f8\u5173\u53c2\u6570\u83b7\u53d6\u83dc\u5355\u5217\u8868", + "summary": "获取菜单列表", + "description": "根据相关参数获取菜单列表", "operationId": "45fd7c26f4ab954b7721b185569fb251", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "path", "in": "query", - "description": "\u524d\u7aef\u6743\u9650\u8def\u7531", + "description": "前端权限路由", "schema": { "type": "string" } @@ -1696,7 +2194,7 @@ { "name": "name", "in": "query", - "description": "\u6743\u9650\u83dc\u5355\u540d\u79f0", + "description": "权限菜单名称", "schema": { "type": "string" } @@ -1704,7 +2202,7 @@ { "name": "page", "in": "query", - "description": "\u5f53\u524d\u9875\u7801", + "description": "当前页码", "schema": { "type": "integer", "format": "int15" @@ -1713,7 +2211,7 @@ { "name": "limit", "in": "query", - "description": "\u5206\u9875\u6570\u91cf", + "description": "分页数量", "schema": { "type": "integer", "format": "int15" @@ -1722,11 +2220,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u6743\u9650\u83dc\u5355\u83dc\u5355\u6570\u636e\u4fe1\u606f", + "description": "返回权限菜单菜单数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/MenuMsgExport" + "$ref": "#/components/schemas/MenuMsgExport" } } } @@ -1734,51 +2232,51 @@ } } }, - "menu\/add": { + "menu/add": { "post": { "tags": [ - "\u6743\u9650\u83dc\u5355" + "权限菜单" ], - "summary": "\u6dfb\u52a0\u6743\u9650\u83dc\u5355\u6570\u636e", - "description": "\u6dfb\u52a0\u540e\u53f0\u6743\u9650\u83dc\u5355\u6570\u636e", + "summary": "添加权限菜单数据", + "description": "添加后台权限菜单数据", "operationId": "e69d06da84039471d53965bb3cf2a5c6", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/MenuField" + "$ref": "#/components/schemas/MenuField" } } } }, "responses": { "200": { - "description": "\u6dfb\u52a0\u6210\u529f", + "description": "添加成功", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", + "description": "添加成功的的数据ID", "type": "integer", "format": "int32" } @@ -1791,17 +2289,17 @@ } } }, - "menu\/read\/id\/{id}": { + "menu/read/id/{id}": { "get": { "tags": [ - "\u6743\u9650\u83dc\u5355" + "权限菜单" ], - "summary": "\u83b7\u53d6\u83dc\u5355\u8be6\u60c5", - "description": "\u6839\u636eID\u67e5\u8be2\u83dc\u5355\u4fe1\u606f", + "summary": "获取菜单详情", + "description": "根据ID查询菜单信息", "operationId": "74e2c1983e057043fff056d04713c943", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" }, { "name": "id", @@ -1816,11 +2314,11 @@ ], "responses": { "200": { - "description": "\u8fd4\u56de\u6743\u9650\u83dc\u5355\u83dc\u5355\u6570\u636e\u4fe1\u606f", + "description": "返回权限菜单菜单数据信息", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/MenuMsgExport" + "$ref": "#/components/schemas/MenuMsgExport" } } } @@ -1828,51 +2326,51 @@ } } }, - "menu\/edit\/id\/{id}": { + "menu/edit/id/{id}": { "post": { "tags": [ - "\u6743\u9650\u83dc\u5355" + "权限菜单" ], - "summary": "\u4fee\u6539\u83dc\u5355\u6570\u636e", - "description": "\u4fee\u6539\u6743\u9650\u83dc\u5355\u6570\u636e", + "summary": "修改菜单数据", + "description": "修改权限菜单数据", "operationId": "e3999d3ad05ab8c8e806d4f3d3fe4c7c", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "#\/components\/schemas\/MenuField" + "$ref": "#/components/schemas/MenuField" } } } }, "responses": { "200": { - "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", + "description": "修改数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1884,29 +2382,29 @@ } } }, - "menu\/delete": { + "menu/delete": { "post": { "tags": [ - "\u6743\u9650\u83dc\u5355" + "权限菜单" ], - "summary": "\u5220\u9664\u83dc\u5355\u6570\u636e", - "description": "\u6839\u636eID\u5220\u9664\u83dc\u5355\u6570\u636e", + "summary": "删除菜单数据", + "description": "根据ID删除菜单数据", "operationId": "d845fa36cd423930297d855778bfc8f8", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id" ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" } }, @@ -1917,27 +2415,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -1949,22 +2447,271 @@ } } }, - "menu\/status": { + "menu/status": { "post": { "tags": [ - "\u6743\u9650\u83dc\u5355" + "权限菜单" ], - "summary": "\u66f4\u65b0\u83dc\u5355\u72b6\u6001", - "description": "\u6839\u636eID\u53castatus\u66f4\u65b0\u83dc\u5355\u72b6\u6001", + "summary": "更新菜单状态", + "description": "根据ID及status更新菜单状态", "operationId": "13d4640ece58f4fd7f2ec7532c8dd7c9", "parameters": [ { - "$ref": "#\/components\/parameters\/token" + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", + "type": "string" + }, + "status": { + "description": "数据状态 0禁用 1启用", + "type": "integer", + "format": "int15" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "删除数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "message/add": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "添加message数据", + "description": "添加后台message管理数据", + "operationId": "337119b99a8da09798c48bae15a4c21f", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoField" + } + } + } + }, + "responses": { + "200": { + "description": "添加成功", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "添加成功的的数据ID", + "type": "integer", + "format": "int32" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "message/edit/id/{id}": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "修改message数据", + "description": "修改后台message管理数据", + "operationId": "e2cd8d41fcfdc0383c1991a921fda62a", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoField" + } + } + } + }, + "responses": { + "200": { + "description": "修改数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "message/delete": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "删除message数据", + "description": "根据ID删除message信息", + "operationId": "aafaa21f52a0fd2286e665d5ccc3d684", + "parameters": [ + { + "$ref": "#/components/parameters/token" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "id" + ], + "properties": { + "id": { + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "删除数据状态", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "description": "状态码", + "type": "integer", + "format": "int32" + }, + "msg": { + "description": "提示信息", + "type": "string" + }, + "count": { + "description": "记录数", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "不返回", + "type": "string" + } + }, + "type": "object" + } + } + } + } + } + } + }, + "message/status": { + "post": { + "tags": [ + "测试案例" + ], + "summary": "更新message状态", + "description": "根据ID及status更新message状态", + "operationId": "b802154b614acb329c7a89a0f6696af3", + "parameters": [ + { + "$ref": "#/components/parameters/token" } ], "requestBody": { "content": { - "application\/json": { + "application/json": { "schema": { "required": [ "id", @@ -1972,11 +2719,11 @@ ], "properties": { "id": { - "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", + "description": "数据ID或数据ID集合 id=1或 id=1,2,8", "type": "string" }, "status": { - "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", + "description": "数据状态 0禁用 1启用", "type": "integer", "format": "int15" } @@ -1988,27 +2735,27 @@ }, "responses": { "200": { - "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", + "description": "删除数据状态", "content": { - "application\/json": { + "application/json": { "schema": { "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u4fe1\u606f", + "description": "提示信息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u6570", + "description": "记录数", "type": "integer", "format": "int32" }, "data": { - "description": "\u4e0d\u8fd4\u56de", + "description": "不返回", "type": "string" } }, @@ -2019,12 +2766,66 @@ } } } + }, + "uploadLog/index": { + "get": { + "tags": [ + "上传日志管理" + ], + "summary": "获取上传日志列表", + "description": "根据相关参数获取日志列表", + "operationId": "986ec004d7a7b882db41794b686d13b5", + "parameters": [ + { + "$ref": "#/components/parameters/token" + }, + { + "name": "username", + "in": "query", + "description": "管理员名称", + "schema": { + "type": "string" + } + }, + { + "name": "model", + "in": "query", + "description": "操作模块", + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "当前页码", + "schema": { + "type": "integer", + "format": "int15" + } + }, + { + "name": "limit", + "in": "query", + "description": "分页数量", + "schema": { + "type": "integer", + "format": "int15" + } + } + ], + "responses": { + "200": { + "description": "返回管理员用户数据信息" + } + } + } } }, "components": { "schemas": { "DemoField": { - "description": "Demo\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", + "description": "Demo类添加、修改等公共请求参数", "required": [ "id", "username", @@ -2034,7 +2835,7 @@ ], "properties": { "username": { - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "type": "string", "default": "Jessica Smitch", "maxLength": 20, @@ -2044,7 +2845,7 @@ } }, "truename": { - "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", + "description": "管理员真实姓名", "type": "string", "default": "jack ", "maxLength": 20, @@ -2054,7 +2855,7 @@ } }, "password": { - "description": "\u7ba1\u7406\u5458\u5bc6\u7801", + "description": "管理员密码", "type": "string", "default": "", "maxLength": 20, @@ -2064,7 +2865,7 @@ } }, "phone": { - "description": "\u624b\u673a\u53f7", + "description": "手机号", "type": "integer", "format": "int15", "default": "", @@ -2072,7 +2873,7 @@ "minLength": 11 }, "email": { - "description": "\u7ba1\u7406\u5458\u90ae\u7bb1", + "description": "管理员邮箱", "type": "string", "default": "", "maxLength": 50, @@ -2082,13 +2883,13 @@ } }, "birthday": { - "description": "\u7ba1\u7406\u5458\u751f\u65e5", + "description": "管理员生日", "type": "string", "format": "datetime", "default": "2017-02-02 18:31:45" }, "age": { - "description": "\u5e74\u9f84", + "description": "年龄", "type": "integer", "format": "int32", "default": "1", @@ -2103,7 +2904,7 @@ "type": "object" }, "GroupField": { - "description": "Manager\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", + "description": "Manager类添加、修改等公共请求参数", "required": [ "id", "username", @@ -2113,9 +2914,9 @@ ], "properties": { "title": { - "description": "\u7528\u6237\u7ec4\u4e2d\u6587\u540d\u79f0", + "description": "用户组中文名称", "type": "string", - "default": "\u5546\u52a1\u90e8", + "default": "商务部", "maxLength": 100, "minLength": 1, "mock": { @@ -2123,7 +2924,7 @@ } }, "role_code": { - "description": "\u89d2\u8272\u6807\u8bc6", + "description": "角色标识", "type": "string", "default": "bussiness ", "maxLength": 100, @@ -2133,7 +2934,7 @@ } }, "remark": { - "description": "\u5907\u6ce8", + "description": "备注", "type": "string", "default": "", "maxLength": 100, @@ -2146,7 +2947,7 @@ "type": "object" }, "GroupMsgExport": { - "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", + "description": "swagger response返回数据引用", "required": [ "code", "msg", @@ -2155,21 +2956,21 @@ ], "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u6d88\u606f", + "description": "提示消息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u8bf7\u6c42\u7ed3\u679c", + "description": "请求结果", "type": "array", "items": { "properties": { @@ -2178,43 +2979,43 @@ "type": "integer" }, "site_id": { - "description": "\u7ad9\u70b9ID", + "description": "站点ID", "type": "integer" }, "remark": { - "description": "\u5907\u6ce8", + "description": "备注", "type": "string" }, "title": { - "description": "\u7528\u6237\u7ec4\u4e2d\u6587\u540d\u79f0", + "description": "用户组中文名称", "type": "string" }, "role_code": { - "description": "\u89d2\u8272\u6807\u8bc6", + "description": "角色标识", "type": "string" }, "status": { - "description": "\u72b6\u6001\uff1a\u4e3a1\u6b63\u5e38\uff0c\u4e3a0\u7981\u7528", + "description": "状态:为1正常,为0禁用", "type": "integer" }, "rules": { - "description": "\u7528\u6237\u7ec4\u62e5\u6709\u7684\u89c4\u5219id\uff0c \u591a\u4e2a\u89c4\u5219", + "description": "用户组拥有的规则id, 多个规则,隔开", "type": "string" }, "type": { - "description": "\u7ec4\u7684\u7c7b\u578b 1\uff1a\u5171\u7528 2\uff1a\u4e2a\u4eba", + "description": "组的类型 1:共用 2:个人", "type": "integer" }, "delete_time": { - "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", + "description": "是否删除 null:未删除", "type": "integer" }, "update_time": { - "description": "\u66f4\u65b0\u65f6\u95f4", + "description": "更新时间", "type": "integer" }, "create_time": { - "description": "\u521b\u5efa\u65f6\u95f4", + "description": "创建时间", "type": "integer" } }, @@ -2225,7 +3026,7 @@ "type": "object" }, "ManagerField": { - "description": "Manager\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", + "description": "Manager类添加、修改等公共请求参数", "required": [ "username", "password", @@ -2234,7 +3035,7 @@ ], "properties": { "username": { - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "type": "string", "default": "Jessica Smitch", "maxLength": 20, @@ -2244,7 +3045,7 @@ } }, "truename": { - "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", + "description": "管理员真实姓名", "type": "string", "default": "jack ", "maxLength": 20, @@ -2254,7 +3055,7 @@ } }, "password": { - "description": "\u7ba1\u7406\u5458\u5bc6\u7801", + "description": "管理员密码", "type": "string", "default": "", "maxLength": 20, @@ -2264,7 +3065,7 @@ } }, "sex": { - "description": "\u6027\u522b", + "description": "性别", "type": "integer", "format": "int15", "default": "0", @@ -2272,7 +3073,7 @@ "minLength": 1 }, "phone": { - "description": "\u624b\u673a\u53f7", + "description": "手机号", "type": "integer", "format": "int15", "default": "", @@ -2280,7 +3081,7 @@ "minLength": 11 }, "email": { - "description": "\u7ba1\u7406\u5458\u90ae\u7bb1", + "description": "管理员邮箱", "type": "string", "default": "", "maxLength": 50, @@ -2290,7 +3091,7 @@ } }, "status": { - "description": "\u72b6\u6001", + "description": "状态", "type": "integer", "format": "int15", "default": "1", @@ -2298,7 +3099,7 @@ "minLength": 1 }, "introduction": { - "description": "\u7ba1\u7406\u5458\u7b80\u4ecb", + "description": "管理员简介", "type": "string", "default": " ", "maxLength": 200, @@ -2311,7 +3112,7 @@ "type": "object" }, "MenuField": { - "description": "Menu\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", + "description": "Menu类添加、修改等公共请求参数", "required": [ "id", "name", @@ -2319,9 +3120,9 @@ ], "properties": { "name": { - "description": "\u6743\u9650\u83dc\u5355\u540d\u79f0", + "description": "权限菜单名称", "type": "string", - "default": "\u680f\u76ee\u83dc\u5355", + "default": "栏目菜单", "maxLength": 30, "minLength": 1, "mock": { @@ -2329,7 +3130,7 @@ } }, "parent_id": { - "description": "\u7236\u7ea7ID", + "description": "父级ID", "type": "integer", "format": "int15", "default": "0", @@ -2337,9 +3138,9 @@ "minLength": 1 }, "model_name": { - "description": "\u6a21\u5757\u540d\/\u63a7\u5236\u5668\/\u65b9\u6cd5", + "description": "模块名/控制器/方法", "type": "string", - "default": "\/api\/menu\/index ", + "default": "/api/menu/index ", "maxLength": 20, "minLength": 2, "mock": { @@ -2347,43 +3148,43 @@ } }, "path": { - "description": "\u6743\u9650\u83dc\u5355\u524d\u7aef\u8def\u7531", + "description": "权限菜单前端路由", "type": "string", - "default": "\/system\/menu" + "default": "/system/menu" }, "component": { - "description": "\u5bf9\u5e94\u524d\u53f0\u7684\u6a21\u677f\u7684\u8def\u7531\u5730\u5740", + "description": "对应前台的模板的路由地址", "type": "string", - "default": "\/system\/menu" + "default": "/system/menu" }, "authority": { - "description": "\u6309\u94ae\u6743\u9650\u6807\u8bc6", + "description": "按钮权限标识", "type": "string", "default": "sys:menu:add" }, "icon": { - "description": "\u83dc\u5355\u56fe\u6807", + "description": "菜单图标", "type": "string", "default": "" }, "color": { - "description": "icon\u989c\u8272", + "description": "icon颜色", "type": "string", "default": "" }, "target": { - "description": "\u662f\u5426\u65b0\u7a97\u53e3 _target", + "description": "是否新窗口 _target", "type": "string", "default": "" }, "iframe": { - "description": "\u662f\u5426\u4e3a iframe\u6a21\u5f0f 0\uff1a\u4e0d\u662f 1\uff1a\u662f", + "description": "是否为 iframe模式 0:不是 1:是", "type": "integer", "format": "int15", "default": "0" }, "hide": { - "description": "\u662f\u5426\u663e\u793a 0\uff1a\u663e\u793a 1\uff1a\u9690\u85cf", + "description": "是否显示 0:显示 1:隐藏", "type": "integer", "format": "int15", "default": "0", @@ -2391,7 +3192,7 @@ "minLength": 1 }, "sort": { - "description": "\u6392\u5e8f", + "description": "排序", "type": "integer", "format": "int15", "default": "0", @@ -2399,7 +3200,7 @@ "minLength": 1 }, "menu_type": { - "description": "\u83dc\u5355\u7c7b\u578b 0:\u83dc\u5355 1\uff1a\u6309\u94ae", + "description": "菜单类型 0:菜单 1:按钮", "type": "integer", "format": "int15", "default": "0", @@ -2407,7 +3208,7 @@ "minLength": 1 }, "open_type": { - "description": "\u6253\u5f00\u65b9\u5f0f 0\uff1a\u7ec4\u4ef6 1\uff1a\u5185\u94fe 2\uff1a\u5916\u94fe", + "description": "打开方式 0:组件 1:内链 2:外链", "type": "integer", "format": "int15", "default": "0", @@ -2415,7 +3216,7 @@ "minLength": 1 }, "is_dev": { - "description": "1\uff1a\u5f00\u53d1\u8005\u6a21\u5f0f\uff08\u5373tp\u8c03\u8bd5\u6a21\u5f0f\u5f00\u542f\uff09", + "description": "1:开发者模式(即tp调试模式开启)", "type": "integer", "format": "int15", "default": "0", @@ -2423,7 +3224,7 @@ "minLength": 1 }, "status": { - "description": "\u72b6\u6001\uff1a\u4e3a1\u6b63\u5e38\uff0c\u4e3a0\u7981\u7528", + "description": "状态:为1正常,为0禁用", "type": "integer", "format": "int15", "default": "1", @@ -2431,21 +3232,21 @@ "minLength": 1 }, "condition": { - "description": "\u89c4\u5219\u8868\u8fbe\u5f0f\uff0c\u4e3a\u7a7a\u8868\u793a\u5b58\u5728\u5c31\u9a8c\u8bc1\uff0c\u4e0d\u4e3a\u7a7a\u8868\u793a\u6309\u7167\u6761\u4ef6\u9a8c\u8bc1", + "description": "规则表达式,为空表示存在就验证,不为空表示按照条件验证", "type": "string", "default": " ", "maxLength": 100, "minLength": 1 }, "remarks": { - "description": "\u5907\u6ce8", + "description": "备注", "type": "string", "default": " ", "maxLength": 200, "minLength": 1 }, "child_list": { - "description": "100100 \u5b50\u96c6\u83dc\u5355\u96c6\u5408", + "description": "100100 子集菜单集合", "type": "string", "default": " ", "maxLength": 200, @@ -2455,7 +3256,7 @@ "type": "object" }, "ConfigMsgExport": { - "description": "\/\/ swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", + "description": "// swagger response返回数据引用", "required": [ "code", "msg", @@ -2464,21 +3265,21 @@ ], "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u6d88\u606f", + "description": "提示消息", "type": "string" }, "count": { - "description": "\u6570\u91cf", + "description": "数量", "type": "integer", "format": "int32" }, "data": { - "description": "\u8bf7\u6c42\u7ed3\u679c", + "description": "请求结果", "type": "array", "items": { "properties": { @@ -2487,11 +3288,11 @@ "type": "integer" }, "username": { - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "type": "string" }, "truename": { - "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", + "description": "管理员真实姓名", "type": "string" } }, @@ -2502,7 +3303,7 @@ "type": "object" }, "DemoMsgExport": { - "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", + "description": "swagger response返回数据引用", "required": [ "code", "msg", @@ -2511,21 +3312,21 @@ ], "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u6d88\u606f", + "description": "提示消息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u8bf7\u6c42\u7ed3\u679c", + "description": "请求结果", "type": "array", "items": { "properties": { @@ -2534,27 +3335,27 @@ "type": "integer" }, "site_id": { - "description": "\u7ad9\u70b9ID", + "description": "站点ID", "type": "integer" }, "username": { - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "type": "string" }, "sex": { - "description": "\u6027\u522b", + "description": "性别", "type": "integer" }, "delete_time": { - "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", + "description": "是否删除 null:未删除", "type": "integer" }, "update_time": { - "description": "\u66f4\u65b0\u65f6\u95f4", + "description": "更新时间", "type": "integer" }, "create_time": { - "description": "\u521b\u5efa\u65f6\u95f4", + "description": "创建时间", "type": "integer" } }, @@ -2565,7 +3366,7 @@ "type": "object" }, "LogMsgExport": { - "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", + "description": "swagger response返回数据引用", "required": [ "code", "msg", @@ -2574,21 +3375,21 @@ ], "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u6d88\u606f", + "description": "提示消息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u8bf7\u6c42\u7ed3\u679c", + "description": "请求结果", "type": "array", "items": { "properties": { @@ -2597,87 +3398,87 @@ "type": "integer" }, "site_id": { - "description": "\u7ad9\u70b9ID", + "description": "站点ID", "type": "integer" }, "user_id": { - "description": "\u7ba1\u7406\u5458ID", + "description": "管理员ID", "type": "integer" }, "username": { - "description": "\u7ba1\u7406\u5458\u7528\u6237\u540d", + "description": "管理员用户名", "type": "string" }, "action_ip": { - "description": "\u6267\u884c\u884c\u4e3a\u8005ip", + "description": "执行行为者ip", "type": "string" }, "model": { - "description": "\u64cd\u4f5c\u6a21\u5757", + "description": "操作模块", "type": "string" }, "request_param": { - "description": "\u8bf7\u6c42\u53c2\u6570", + "description": "请求参数", "type": "string" }, "url": { - "description": "\u89e6\u53d1\u884c\u4e3a\u5b8c\u6574\u7684url", + "description": "触发行为完整的url", "type": "string" }, "request_method": { - "description": "\u8bf7\u6c42\u65b9\u5f0f", + "description": "请求方式", "type": "string" }, "spend_time": { - "description": "\u8017\u65f6\u51e0\u79d2", + "description": "耗时几秒", "type": "float" }, "record_id": { - "description": "\u89e6\u53d1\u884c\u4e3a\u7684\u6570\u636eid", + "description": "触发行为的数据id", "type": "integer" }, "remark": { - "description": "\u65e5\u5fd7\u5907\u6ce8", + "description": "日志备注", "type": "string" }, "data": { - "description": "\u4fee\u6539\u540e\u6570\u636e\u96c6\u5408", + "description": "修改后数据集合", "type": "string" }, "origin": { - "description": "\u4fee\u6539\u524d\u6e90\u6570\u636e", + "description": "修改前源数据", "type": "string" }, "sql": { - "description": "\u6267\u884c\u7684sql\u8bb0\u5f55", + "description": "执行的sql记录", "type": "string" }, "status": { - "description": "\u72b6\u6001 0\uff1a\u7981\u7528 1\uff1a\u542f\u7528", + "description": "状态 0:禁用 1:启用", "type": "integer" }, "client_os": { - "description": "\u5ba2\u6237\u7aef\u7cfb\u7edf\u7c7b\u578b", + "description": "客户端系统类型", "type": "string" }, "client_browser": { - "description": "\u5ba2\u6237\u7aef\u6d4f\u89c8\u5668\u7c7b\u578b", + "description": "客户端浏览器类型", "type": "string" }, "client_device": { - "description": "\u5ba2\u6237\u7aef\u8bbe\u5907\u578b\u53f7\uff0c\u5982 phone x \u7531api\u4f20\u8fc7\u6765", + "description": "客户端设备型号,如 phone x 由api传过来", "type": "string" }, "delete_time": { - "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", + "description": "是否删除 null:未删除", "type": "integer" }, "update_time": { - "description": "\u66f4\u65b0\u65f6\u95f4", + "description": "更新时间", "type": "integer" }, "create_time": { - "description": "\u521b\u5efa\u65f6\u95f4", + "description": "创建时间", "type": "integer" } }, @@ -2688,7 +3489,7 @@ "type": "object" }, "ManagerMsgExport": { - "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", + "description": "swagger response返回数据引用", "required": [ "code", "msg", @@ -2697,21 +3498,21 @@ ], "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u6d88\u606f", + "description": "提示消息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u8bf7\u6c42\u7ed3\u679c", + "description": "请求结果", "type": "array", "items": { "properties": { @@ -2720,31 +3521,31 @@ "type": "integer" }, "site_id": { - "description": "\u7ad9\u70b9ID", + "description": "站点ID", "type": "integer" }, "username": { - "description": "\u7ba1\u7406\u5458\u540d\u79f0", + "description": "管理员名称", "type": "string" }, "truename": { - "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", + "description": "管理员真实姓名", "type": "string" }, "sex": { - "description": "\u6027\u522b", + "description": "性别", "type": "integer" }, "phone": { - "description": "\u624b\u673a\u53f7", + "description": "手机号", "type": "integer" }, "email": { - "description": "\u90ae\u7bb1", + "description": "邮箱", "type": "string" }, "status": { - "description": "\u72b6\u6001", + "description": "状态", "type": "integer" }, "ip": { @@ -2752,27 +3553,27 @@ "type": "integer" }, "avatar": { - "description": "\u5934\u50cf\u5730\u5740", + "description": "头像地址", "type": "string" }, "introduction": { - "description": "\u7528\u6237\u7b80\u4ecb", + "description": "用户简介", "type": "string" }, "delete_time": { - "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", + "description": "是否删除 null:未删除", "type": "integer" }, "login_time": { - "description": "\u6700\u540e\u767b\u5f55\u65f6\u95f4", + "description": "最后登录时间", "type": "integer" }, "update_time": { - "description": "\u66f4\u65b0\u65f6\u95f4", + "description": "更新时间", "type": "integer" }, "create_time": { - "description": "\u521b\u5efa\u65f6\u95f4", + "description": "创建时间", "type": "integer" } }, @@ -2783,7 +3584,7 @@ "type": "object" }, "MenuMsgExport": { - "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", + "description": "swagger response返回数据引用", "required": [ "code", "msg", @@ -2792,126 +3593,126 @@ ], "properties": { "code": { - "description": "\u72b6\u6001\u7801", + "description": "状态码", "type": "integer", "format": "int32" }, "msg": { - "description": "\u63d0\u793a\u6d88\u606f", + "description": "提示消息", "type": "string" }, "count": { - "description": "\u8bb0\u5f55\u603b\u6570", + "description": "记录总数", "type": "integer", "format": "int32" }, "data": { - "description": "\u8bf7\u6c42\u7ed3\u679c", + "description": "请求结果", "type": "array", "items": { "properties": { "id": { - "description": "\u83dc\u5355ID", + "description": "菜单ID", "type": "integer" }, "site_id": { - "description": "\u7ad9\u70b9ID", + "description": "站点ID", "type": "integer" }, "name": { - "description": "\u83dc\u5355\u540d\u79f0", + "description": "菜单名称", "type": "string" }, "parent_id": { - "description": "\u7236\u7ea7ID", + "description": "父级ID", "type": "integer" }, "model_name": { - "description": "\u6a21\u5757\u540d\/\u63a7\u5236\u5668\/\u65b9\u6cd5", + "description": "模块名/控制器/方法", "type": "string" }, "path": { - "description": "\u5bf9\u5e94\u524d\u53f0\u7684\u6a21\u677f\u7684\u8def\u7531\u5730\u5740", + "description": "对应前台的模板的路由地址", "type": "string" }, "component": { - "description": "\u524d\u53f0\u5bf9\u5e94\u7684\u7ec4\u4ef6\u8def\u5f84", + "description": "前台对应的组件路径", "type": "string" }, "authority": { - "description": "\u6309\u94ae\u6743\u9650\u6807\u8bc6", + "description": "按钮权限标识", "type": "string" }, "icon": { - "description": "\u83dc\u5355\u56fe\u6807", + "description": "菜单图标", "type": "string" }, "color": { - "description": "icon\u989c\u8272", + "description": "icon颜色", "type": "string" }, "target": { - "description": "\u662f\u5426\u65b0\u7a97\u53e3 _target\/_self", + "description": "是否新窗口 _target/_self", "type": "string" }, "iframe": { - "description": "\u662f\u5426\u4e3a iframe\u6a21\u5f0f 0\uff1a\u4e0d\u662f 1\uff1a\u662f", + "description": "是否为 iframe模式 0:不是 1:是", "type": "integer" }, "hide": { - "description": "\u662f\u5426\u663e\u793a 0\uff1a\u663e\u793a 1\uff1a\u9690\u85cf", + "description": "是否显示 0:显示 1:隐藏", "type": "integer" }, "type": { - "description": "\u5728think_auth_rule \u8868\u4e2d\u5b9a\u4e49\u4e00\u6761\u89c4\u5219\u65f6\uff0c\u5982\u679ctype\u4e3a1\uff0c condition\u5b57\u6bb5\u5c31\u53ef\u4ee5\u5b9a\u4e49\u89c4\u5219\u8868\u8fbe\u5f0f\u3002 \u5982\u5b9a\u4e49{score}>5 and {score}<100 \u8868\u793a\u7528\u6237\u7684\u5206\u6570\u57285-100\u4e4b\u95f4\u65f6\u8fd9\u6761\u89c4\u5219\u624d\u4f1a\u901a\u8fc7\u3002", + "description": "在think_auth_rule 表中定义一条规则时,如果type为1, condition字段就可以定义规则表达式。 如定义{score}>5 and {score}<100 表示用户的分数在5-100之间时这条规则才会通过。", "type": "integer" }, "sort": { - "description": "\u6392\u5e8f", + "description": "排序", "type": "integer" }, "menu_type": { - "description": "\u83dc\u5355\u7c7b\u578b 0:\u83dc\u5355 1\uff1a\u6309\u94ae", + "description": "菜单类型 0:菜单 1:按钮", "type": "integer" }, "open_type": { - "description": "\u6253\u5f00\u65b9\u5f0f 0\uff1a\u7ec4\u4ef6 1\uff1a\u5185\u94fe 2\uff1a\u5916\u94fe", + "description": "打开方式 0:组件 1:内链 2:外链", "type": "integer" }, "is_dev": { - "description": "1\uff1a\u5f00\u53d1\u8005\u6a21\u5f0f\uff08\u5373tp\u8c03\u8bd5\u6a21\u5f0f\u5f00\u542f\uff09", + "description": "1:开发者模式(即tp调试模式开启)", "type": "integer" }, "status": { - "description": "\u72b6\u6001\uff1a\u4e3a1\u6b63\u5e38\uff0c\u4e3a0\u7981\u7528", + "description": "状态:为1正常,为0禁用", "type": "integer" }, "condition": { - "description": "\u89c4\u5219\u8868\u8fbe\u5f0f\uff0c\u4e3a\u7a7a\u8868\u793a\u5b58\u5728\u5c31\u9a8c\u8bc1\uff0c\u4e0d\u4e3a\u7a7a\u8868\u793a\u6309\u7167\u6761\u4ef6\u9a8c\u8bc1", + "description": "规则表达式,为空表示存在就验证,不为空表示按照条件验证", "type": "string" }, "remarks": { - "description": "\u5907\u6ce8", + "description": "备注", "type": "string" }, "child_list": { - "description": "100100 \u5b50\u96c6\u83dc\u5355\u96c6\u5408", + "description": "100100 子集菜单集合", "type": "string" }, "children": { - "description": "\u5b50\u96c6\u83dc\u5355\u5bf9\u8c61", + "description": "子集菜单对象", "type": "object" }, "delete_time": { - "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", + "description": "是否删除 null:未删除", "type": "integer" }, "update_time": { - "description": "\u66f4\u65b0\u65f6\u95f4", + "description": "更新时间", "type": "integer" }, "create_time": { - "description": "\u521b\u5efa\u65f6\u95f4", + "description": "创建时间", "type": "integer" } }, @@ -2926,7 +3727,7 @@ "token": { "name": "token", "in": "header", - "description": "\u7528\u6237\u767b\u5f55\u8fd4\u56de\u7684jwt-token\u503c", + "description": "用户登录返回的jwt-token值", "required": true, "schema": { "type": "string"