{ "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\/", "contact": { "name": "\u5b89\u5fbd\u4e91\u638c\u6280\u672f\u652f\u6301", "url": "http:\/\/www.ahbmz.com", "email": "txg@huamill.com" }, "license": { "name": "BMZMIT" }, "version": "1.0.0" }, "servers": [ { "url": "base.ahbmz.com", "description": "API server" } ], "paths": { "config\/index": { "get": { "tags": [ "\u7cfb\u7edf\u914d\u7f6e" ], "summary": "\u83b7\u53d6\u7cfb\u7edf\u914d\u7f6e", "description": "\u83b7\u53d6\u7cfb\u7edf\u914d\u7f6e", "operationId": "318bb054d5c78946534cd27a70bf2e19", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "name", "in": "query", "description": "\u914d\u7f6e\u540d\u79f0", "schema": { "type": "string" } }, { "name": "type", "in": "query", "description": "\u914d\u7f6e\u6807\u8bc6", "schema": { "type": "string" } }, { "name": "value", "in": "query", "description": "\u914d\u7f6e\u503c", "schema": { "type": "string" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u6240\u6709\u914d\u7f6e\u4fe1\u606f" } } } }, "config\/save": { "post": { "tags": [ "\u7cfb\u7edf\u914d\u7f6e" ], "summary": "\u7cfb\u7edf\u914d\u7f6e", "description": "\u7cfb\u7edf\u914d\u7f6e", "operationId": "91b9e70a9bc831f86ec2f312bb3b1a84", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "properties": { "name": { "description": "\u6b64\u90a3\u4e48\u53ef\u81ea\u884c\u5b9a\u4e49 \u6bd4\u5982 seo_title", "type": "string" }, "value": { "description": "\u6b64\u90a3\u4e48\u53ef\u81ea\u884c\u5b9a\u4e49 \u6bd4\u5982 \u5408\u80a5\u7f51\u7ad9\u4f18\u5316", "type": "string" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u6dfb\u52a0\u6210\u529f", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", "type": "integer", "format": "int32" } }, "type": "object" } } } } } } }, "demo\/index": { "get": { "tags": [ "\u6d4b\u8bd5\u6848\u4f8b" ], "summary": "\u83b7\u53d6DEMO\u5217\u8868", "description": "\u6839\u636e\u76f8\u5173\u53c2\u6570\u83b7\u53d6DEMO\u5217\u8868", "operationId": "3821ee044ba1221e3de1e58ce7fa3283", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "username", "in": "query", "description": "\u7528\u6237\u540d\u79f0", "schema": { "type": "string" } }, { "name": "sex", "in": "query", "description": "\u7528\u6237\u5e74\u9f84", "schema": { "type": "integer", "format": "int15" } }, { "name": "page", "in": "query", "description": "\u5f53\u524d\u9875\u7801", "schema": { "type": "integer", "format": "int15" } }, { "name": "limit", "in": "query", "description": "\u5206\u9875\u6570\u91cf", "schema": { "type": "integer", "format": "int15" } } ], "responses": { "200": { "description": "\u8fd4\u56deDEMo\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/DemoMsgExport" } } } } } } }, "demo\/read\/{id}": { "get": { "tags": [ "\u6d4b\u8bd5\u6848\u4f8b" ], "summary": "\u83b7\u53d6DEMO\u8be6\u60c5", "description": "\u6839\u636eID\u67e5\u8be2DEMO\u4fe1\u606f", "operationId": "bc4192b86801298eb1a5dff9da3ccf54", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "id", "in": "path", "description": "ID", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "\u8fd4\u56deDEMO\u5355\u6761\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/DemoMsgExport" } } } } } } }, "demo\/add": { "post": { "tags": [ "\u6d4b\u8bd5\u6848\u4f8b" ], "summary": "\u6dfb\u52a0DEMO\u6570\u636e", "description": "\u6dfb\u52a0\u540e\u53f0DEMO\u7ba1\u7406\u6570\u636e", "operationId": "705135f3cdd044f61acf716558c1f273", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/DemoField" } } } }, "responses": { "200": { "description": "\u6dfb\u52a0\u6210\u529f", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", "type": "integer", "format": "int32" } }, "type": "object" } } } } } } }, "demo\/edit\/id\/{id}": { "post": { "tags": [ "\u6d4b\u8bd5\u6848\u4f8b" ], "summary": "\u4fee\u6539DEMO\u6570\u636e", "description": "\u4fee\u6539\u540e\u53f0DEMO\u7ba1\u7406\u6570\u636e", "operationId": "7eda1f7cee4b22e05892ca95b0067207", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/DemoField" } } } }, "responses": { "200": { "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "demo\/delete": { "post": { "tags": [ "\u6d4b\u8bd5\u6848\u4f8b" ], "summary": "\u5220\u9664DEMO\u6570\u636e", "description": "\u6839\u636eID\u5220\u9664DEMO\u4fe1\u606f", "operationId": "cad5e01e841f62af87728adcd8fa75a6", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "demo\/status": { "post": { "tags": [ "\u6d4b\u8bd5\u6848\u4f8b" ], "summary": "\u66f4\u65b0DEMO\u72b6\u6001", "description": "\u6839\u636eID\u53castatus\u66f4\u65b0DEMO\u72b6\u6001", "operationId": "fb2ab3a11928e35d7be41cc0984bca10", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id", "status" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" }, "status": { "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", "type": "integer", "format": "int15" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "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", "operationId": "2ef6ea2bf239ea90bd908e92b89da00b", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "title", "in": "query", "description": "\u89d2\u8272\u540d\u79f0", "schema": { "type": "string" } }, { "name": "role_code", "in": "query", "description": "\u89d2\u8272\u6807\u8bc6", "schema": { "type": "string" } }, { "name": "page", "in": "query", "description": "\u5f53\u524d\u9875\u7801", "schema": { "type": "integer", "format": "int15" } }, { "name": "limit", "in": "query", "description": "\u5206\u9875\u6570\u91cf", "schema": { "type": "integer", "format": "int15" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/GroupMsgExport" } } } } } } }, "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", "operationId": "e5e4613bf731f310b9b0f4b35acf51e1", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "role_id", "in": "path", "description": "\u89d2\u8272ID", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/MenuMsgExport" } } } } } } }, "group\/add": { "post": { "tags": [ "\u89d2\u8272\u7ba1\u7406" ], "summary": "\u6dfb\u52a0\u89d2\u8272\u6570\u636e", "description": "\u6dfb\u52a0\u540e\u53f0\u89d2\u8272\u6570\u636e", "operationId": "945786fdf4da92aedadb5f81a1d10336", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/GroupField" } } } }, "responses": { "200": { "description": "\u6dfb\u52a0\u6210\u529f", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", "type": "integer", "format": "int32" } }, "type": "object" } } } } } } }, "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", "operationId": "a01ee69e06334c94d2292a0d46a698c0", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "menu_id" ], "properties": { "menu_id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u6dfb\u52a0\u6210\u529f", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", "type": "integer", "format": "int32" } }, "type": "object" } } } } } } }, "group\/edit\/id\/{id}": { "post": { "tags": [ "\u89d2\u8272\u7ba1\u7406" ], "summary": "\u4fee\u6539\u89d2\u8272\u6570\u636e", "description": "\u4fee\u6539\u89d2\u8272\u6570\u636e", "operationId": "7b77235e8461f44f65890cdad130ec3c", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/GroupField" } } } }, "responses": { "200": { "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "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", "operationId": "66bcbe4a88f80c1bf464f2c71c118935", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id", "status" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" }, "status": { "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", "type": "integer", "format": "int15" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "group\/delete": { "post": { "tags": [ "\u89d2\u8272\u7ba1\u7406" ], "summary": "\u5220\u9664\u89d2\u8272\u6570\u636e", "description": "\u6839\u636eID\u5220\u9664\u89d2\u8272\u6570\u636e", "operationId": "2a8b861bfae21554fc371a6252252e27", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "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", "operationId": "96ca56a7a4d14428de24129ef1da72b0", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "username", "in": "query", "description": "\u7ba1\u7406\u5458\u540d\u79f0", "schema": { "type": "string" } }, { "name": "model", "in": "query", "description": "\u64cd\u4f5c\u6a21\u5757", "schema": { "type": "string" } }, { "name": "page", "in": "query", "description": "\u5f53\u524d\u9875\u7801", "schema": { "type": "integer", "format": "int15" } }, { "name": "limit", "in": "query", "description": "\u5206\u9875\u6570\u91cf", "schema": { "type": "integer", "format": "int15" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/LogMsgExport" } } } } } } }, "login\/login": { "post": { "tags": [ "\u516c\u5171\u5206\u7c7b" ], "summary": "\u7528\u6237\u767b\u5f55", "description": "\u7528\u6237\u767b\u5f55", "operationId": "f217bf5966dcac036da1ae0fa1928a71", "requestBody": { "content": { "application\/json": { "schema": { "required": [ "username", "password", "key", "code" ], "properties": { "username": { "description": "\u767b\u5f55\u8d26\u53f7", "type": "string", "maxLength": 20, "minLength": 2 }, "password": { "description": "\u767b\u5f55\u5bc6\u7801", "type": "string", "maxLength": 20, "minLength": 6 }, "key": { "description": "\u9a8c\u8bc1\u7801\u5b89\u5168\u6807\u8bc6 \u9a8c\u8bc1\u7801\u63a5\u53e3\u8fd4\u56de", "type": "string", "maxLength": 100, "minLength": 1 }, "code": { "description": "\u9a8c\u8bc1\u7801", "type": "integer", "format": "int15", "maxLength": 6, "minLength": 1 } }, "type": "object" } } } }, "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f,token\u4fe1\u606f\u3001\u7ba1\u7406\u5458\u4fe1\u606f" } } } }, "login\/captcha": { "get": { "tags": [ "\u516c\u5171\u5206\u7c7b" ], "summary": "\u83b7\u53d6\u9a8c\u8bc1\u7801", "description": "\u83b7\u53d6\u9a8c\u8bc1\u7801", "operationId": "c3ff68af4e7c6d6444865475c6cac652", "responses": { "200": { "description": "\u8fd4\u56de\u9a8c\u8bc1\u7801\u4fe1\u606f", "content": { "application\/json": { "schema": {} } } } } } }, "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", "operationId": "48c4130bb04784491efd891f40dacf79", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "username", "in": "query", "description": "\u7ba1\u7406\u5458\u540d\u79f0", "schema": { "type": "string" } }, { "name": "truename", "in": "query", "description": "\u771f\u5b9e\u59d3\u540d", "schema": { "type": "string" } }, { "name": "phone", "in": "query", "description": "\u624b\u673a\u53f7", "schema": { "type": "integer", "format": "int15" } }, { "name": "sex", "in": "query", "description": "\u6027\u522b", "schema": { "type": "integer", "format": "int15" } }, { "name": "page", "in": "query", "description": "\u5f53\u524d\u9875\u7801", "schema": { "type": "integer", "format": "int15" } }, { "name": "limit", "in": "query", "description": "\u5206\u9875\u6570\u91cf", "schema": { "type": "integer", "format": "int15" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/ManagerMsgExport" } } } } } } }, "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", "operationId": "53984b6aed246c23f0575db9523d8027", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "id", "in": "path", "description": "ID", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u7528\u6237\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/ManagerMsgExport" } } } } } } }, "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", "operationId": "35498b796c23750dddf6df0d5419f18a", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "responses": { "200": { "description": "\u8fd4\u56de\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/ManagerMsgExport" } } } } } } }, "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", "operationId": "6f5b9320c40835990026b3900c8c37c2", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "responses": { "200": { "description": "\u8fd4\u56de\u7ba1\u7406\u5458\u6743\u9650\u83dc\u5355\u6570\u636e", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/MenuMsgExport" } } } } } } }, "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", "operationId": "cb1a845fbc97ceac6e1f1624378595c0", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/ManagerField" } } } }, "responses": { "200": { "description": "\u6dfb\u52a0\u6210\u529f", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", "type": "integer", "format": "int32" } }, "type": "object" } } } } } } }, "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", "operationId": "a211dd98950a33ae2917d25099b72efd", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/ManagerField" } } } }, "responses": { "200": { "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "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", "operationId": "152febbfddd2ab76fe49cdf2bf928fee", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/ManagerField" } } } }, "responses": { "200": { "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "manager\/passwordEdit": { "post": { "tags": [ "\u7528\u6237\u7ba1\u7406" ], "summary": "\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", "description": "\u6839\u636eID\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", "operationId": "8fb2bcc0cddd135d6f2157061c4846f7", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id", "password", "old_password", "username" ], "properties": { "id": { "description": "\u7528\u6237ID", "type": "integer", "format": "int15" }, "password": { "description": "\u65b0\u5bc6\u7801", "type": "string", "maxLength": 20, "minLength": 6 }, "old_password": { "description": "\u539f\u59cb\u5bc6\u7801", "type": "string", "maxLength": 20, "minLength": 6 }, "username": { "description": "\u7ba1\u7406\u5458\u8d26\u53f7", "type": "string", "maxLength": 20, "minLength": 2 } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "manager\/passwordReset": { "post": { "tags": [ "\u7528\u6237\u7ba1\u7406" ], "summary": "\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", "description": "\u6839\u636eID\u91cd\u7f6e\u7528\u6237\u5bc6\u7801", "operationId": "a40a095e006f10490189d362ecd6bb3b", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id", "password", "username" ], "properties": { "id": { "description": "\u7528\u6237ID", "type": "integer", "format": "int15" }, "password": { "description": "\u7ba1\u7406\u5458\u5bc6\u7801", "type": "string", "maxLength": 20, "minLength": 6 }, "username": { "description": "\u7ba1\u7406\u5458\u8d26\u53f7", "type": "string", "maxLength": 20, "minLength": 2 } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "manager\/delete": { "post": { "tags": [ "\u7528\u6237\u7ba1\u7406" ], "summary": "\u5220\u9664\u7528\u6237\u6570\u636e", "description": "\u6839\u636eID\u5220\u9664\u7528\u6237\u6570\u636e", "operationId": "9794029a4fce27ecd83dcd58d2ab8111", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "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", "operationId": "8636449e58b375690e0dcb62cbca646a", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id", "status" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" }, "status": { "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", "type": "integer", "format": "int15" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "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", "operationId": "45fd7c26f4ab954b7721b185569fb251", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "path", "in": "query", "description": "\u524d\u7aef\u6743\u9650\u8def\u7531", "schema": { "type": "string" } }, { "name": "name", "in": "query", "description": "\u6743\u9650\u83dc\u5355\u540d\u79f0", "schema": { "type": "string" } }, { "name": "page", "in": "query", "description": "\u5f53\u524d\u9875\u7801", "schema": { "type": "integer", "format": "int15" } }, { "name": "limit", "in": "query", "description": "\u5206\u9875\u6570\u91cf", "schema": { "type": "integer", "format": "int15" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u6743\u9650\u83dc\u5355\u83dc\u5355\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/MenuMsgExport" } } } } } } }, "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", "operationId": "e69d06da84039471d53965bb3cf2a5c6", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/MenuField" } } } }, "responses": { "200": { "description": "\u6dfb\u52a0\u6210\u529f", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u6dfb\u52a0\u6210\u529f\u7684\u7684\u6570\u636eID", "type": "integer", "format": "int32" } }, "type": "object" } } } } } } }, "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", "operationId": "74e2c1983e057043fff056d04713c943", "parameters": [ { "$ref": "#\/components\/parameters\/token" }, { "name": "id", "in": "path", "description": "ID", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "\u8fd4\u56de\u6743\u9650\u83dc\u5355\u83dc\u5355\u6570\u636e\u4fe1\u606f", "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/MenuMsgExport" } } } } } } }, "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", "operationId": "e3999d3ad05ab8c8e806d4f3d3fe4c7c", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "$ref": "#\/components\/schemas\/MenuField" } } } }, "responses": { "200": { "description": "\u4fee\u6539\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "menu\/delete": { "post": { "tags": [ "\u6743\u9650\u83dc\u5355" ], "summary": "\u5220\u9664\u83dc\u5355\u6570\u636e", "description": "\u6839\u636eID\u5220\u9664\u83dc\u5355\u6570\u636e", "operationId": "d845fa36cd423930297d855778bfc8f8", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } }, "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", "operationId": "13d4640ece58f4fd7f2ec7532c8dd7c9", "parameters": [ { "$ref": "#\/components\/parameters\/token" } ], "requestBody": { "content": { "application\/json": { "schema": { "required": [ "id", "status" ], "properties": { "id": { "description": "\u6570\u636eID\u6216\u6570\u636eID\u96c6\u5408 id=1\u6216 id=1,2,8", "type": "string" }, "status": { "description": "\u6570\u636e\u72b6\u6001 0\u7981\u7528 1\u542f\u7528", "type": "integer", "format": "int15" } }, "type": "object" } } } }, "responses": { "200": { "description": "\u5220\u9664\u6570\u636e\u72b6\u6001", "content": { "application\/json": { "schema": { "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u4fe1\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u4e0d\u8fd4\u56de", "type": "string" } }, "type": "object" } } } } } } } }, "components": { "schemas": { "DemoField": { "description": "Demo\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", "required": [ "id", "username", "password", "sex", "phone" ], "properties": { "username": { "description": "\u7ba1\u7406\u5458\u540d\u79f0", "type": "string", "default": "Jessica Smitch", "maxLength": 20, "minLength": 2, "mock": { "mock": "@uname" } }, "truename": { "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", "type": "string", "default": "jack ", "maxLength": 20, "minLength": 2, "mock": { "mock": "@uname" } }, "password": { "description": "\u7ba1\u7406\u5458\u5bc6\u7801", "type": "string", "default": "", "maxLength": 20, "minLength": 6, "mock": { "mock": "@string" } }, "phone": { "description": "\u624b\u673a\u53f7", "type": "integer", "format": "int15", "default": "", "maxLength": 11, "minLength": 11 }, "email": { "description": "\u7ba1\u7406\u5458\u90ae\u7bb1", "type": "string", "default": "", "maxLength": 50, "minLength": 5, "mock": { "mock": "@email" } }, "birthday": { "description": "\u7ba1\u7406\u5458\u751f\u65e5", "type": "string", "format": "datetime", "default": "2017-02-02 18:31:45" }, "age": { "description": "\u5e74\u9f84", "type": "integer", "format": "int32", "default": "1", "maximum": 150, "exclusiveMaximum": true, "minimum": 1, "exclusiveMinimum": true, "maxLength": 3, "minLength": 1 } }, "type": "object" }, "GroupField": { "description": "Manager\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", "required": [ "id", "username", "password", "sex", "phone" ], "properties": { "title": { "description": "\u7528\u6237\u7ec4\u4e2d\u6587\u540d\u79f0", "type": "string", "default": "\u5546\u52a1\u90e8", "maxLength": 100, "minLength": 1, "mock": { "mock": "@cname" } }, "role_code": { "description": "\u89d2\u8272\u6807\u8bc6", "type": "string", "default": "bussiness ", "maxLength": 100, "minLength": 1, "mock": { "mock": "@name" } }, "remark": { "description": "\u5907\u6ce8", "type": "string", "default": "", "maxLength": 100, "minLength": 1, "mock": { "mock": "@string" } } }, "type": "object" }, "GroupMsgExport": { "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", "required": [ "code", "msg", "count", "data" ], "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u6d88\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u8bf7\u6c42\u7ed3\u679c", "type": "array", "items": { "properties": { "id": { "description": "ID", "type": "integer" }, "site_id": { "description": "\u7ad9\u70b9ID", "type": "integer" }, "remark": { "description": "\u5907\u6ce8", "type": "string" }, "title": { "description": "\u7528\u6237\u7ec4\u4e2d\u6587\u540d\u79f0", "type": "string" }, "role_code": { "description": "\u89d2\u8272\u6807\u8bc6", "type": "string" }, "status": { "description": "\u72b6\u6001\uff1a\u4e3a1\u6b63\u5e38\uff0c\u4e3a0\u7981\u7528", "type": "integer" }, "rules": { "description": "\u7528\u6237\u7ec4\u62e5\u6709\u7684\u89c4\u5219id\uff0c \u591a\u4e2a\u89c4\u5219", "type": "string" }, "type": { "description": "\u7ec4\u7684\u7c7b\u578b 1\uff1a\u5171\u7528 2\uff1a\u4e2a\u4eba", "type": "integer" }, "delete_time": { "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", "type": "integer" }, "update_time": { "description": "\u66f4\u65b0\u65f6\u95f4", "type": "integer" }, "create_time": { "description": "\u521b\u5efa\u65f6\u95f4", "type": "integer" } }, "type": "object" } } }, "type": "object" }, "ManagerField": { "description": "Manager\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", "required": [ "username", "password", "sex", "phone" ], "properties": { "username": { "description": "\u7ba1\u7406\u5458\u540d\u79f0", "type": "string", "default": "Jessica Smitch", "maxLength": 20, "minLength": 2, "mock": { "mock": "@word" } }, "truename": { "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", "type": "string", "default": "jack ", "maxLength": 20, "minLength": 2, "mock": { "mock": "@cname" } }, "password": { "description": "\u7ba1\u7406\u5458\u5bc6\u7801", "type": "string", "default": "", "maxLength": 20, "minLength": 6, "mock": { "mock": "@string" } }, "sex": { "description": "\u6027\u522b", "type": "integer", "format": "int15", "default": "0", "maxLength": 1, "minLength": 1 }, "phone": { "description": "\u624b\u673a\u53f7", "type": "integer", "format": "int15", "default": "", "maxLength": 11, "minLength": 11 }, "email": { "description": "\u7ba1\u7406\u5458\u90ae\u7bb1", "type": "string", "default": "", "maxLength": 50, "minLength": 5, "mock": { "mock": "@email" } }, "status": { "description": "\u72b6\u6001", "type": "integer", "format": "int15", "default": "1", "maxLength": 1, "minLength": 1 }, "introduction": { "description": "\u7ba1\u7406\u5458\u7b80\u4ecb", "type": "string", "default": " ", "maxLength": 200, "minLength": 1, "mock": { "mock": "@cparagraph" } } }, "type": "object" }, "MenuField": { "description": "Menu\u7c7b\u6dfb\u52a0\u3001\u4fee\u6539\u7b49\u516c\u5171\u8bf7\u6c42\u53c2\u6570", "required": [ "id", "name", "model_name" ], "properties": { "name": { "description": "\u6743\u9650\u83dc\u5355\u540d\u79f0", "type": "string", "default": "\u680f\u76ee\u83dc\u5355", "maxLength": 30, "minLength": 1, "mock": { "mock": "@cname" } }, "parent_id": { "description": "\u7236\u7ea7ID", "type": "integer", "format": "int15", "default": "0", "maxLength": 100, "minLength": 1 }, "model_name": { "description": "\u6a21\u5757\u540d\/\u63a7\u5236\u5668\/\u65b9\u6cd5", "type": "string", "default": "\/api\/menu\/index ", "maxLength": 20, "minLength": 2, "mock": { "mock": "@word" } }, "path": { "description": "\u6743\u9650\u83dc\u5355\u524d\u7aef\u8def\u7531", "type": "string", "default": "\/system\/menu" }, "component": { "description": "\u5bf9\u5e94\u524d\u53f0\u7684\u6a21\u677f\u7684\u8def\u7531\u5730\u5740", "type": "string", "default": "\/system\/menu" }, "authority": { "description": "\u6309\u94ae\u6743\u9650\u6807\u8bc6", "type": "string", "default": "sys:menu:add" }, "icon": { "description": "\u83dc\u5355\u56fe\u6807", "type": "string", "default": "" }, "color": { "description": "icon\u989c\u8272", "type": "string", "default": "" }, "target": { "description": "\u662f\u5426\u65b0\u7a97\u53e3 _target", "type": "string", "default": "" }, "iframe": { "description": "\u662f\u5426\u4e3a iframe\u6a21\u5f0f 0\uff1a\u4e0d\u662f 1\uff1a\u662f", "type": "integer", "format": "int15", "default": "0" }, "hide": { "description": "\u662f\u5426\u663e\u793a 0\uff1a\u663e\u793a 1\uff1a\u9690\u85cf", "type": "integer", "format": "int15", "default": "0", "maxLength": 1, "minLength": 1 }, "sort": { "description": "\u6392\u5e8f", "type": "integer", "format": "int15", "default": "0", "maxLength": 100, "minLength": 1 }, "menu_type": { "description": "\u83dc\u5355\u7c7b\u578b 0:\u83dc\u5355 1\uff1a\u6309\u94ae", "type": "integer", "format": "int15", "default": "0", "maxLength": 1, "minLength": 1 }, "open_type": { "description": "\u6253\u5f00\u65b9\u5f0f 0\uff1a\u7ec4\u4ef6 1\uff1a\u5185\u94fe 2\uff1a\u5916\u94fe", "type": "integer", "format": "int15", "default": "0", "maxLength": 1, "minLength": 1 }, "is_dev": { "description": "1\uff1a\u5f00\u53d1\u8005\u6a21\u5f0f\uff08\u5373tp\u8c03\u8bd5\u6a21\u5f0f\u5f00\u542f\uff09", "type": "integer", "format": "int15", "default": "0", "maxLength": 1, "minLength": 1 }, "status": { "description": "\u72b6\u6001\uff1a\u4e3a1\u6b63\u5e38\uff0c\u4e3a0\u7981\u7528", "type": "integer", "format": "int15", "default": "1", "maxLength": 1, "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", "type": "string", "default": " ", "maxLength": 100, "minLength": 1 }, "remarks": { "description": "\u5907\u6ce8", "type": "string", "default": " ", "maxLength": 200, "minLength": 1 }, "child_list": { "description": "100100 \u5b50\u96c6\u83dc\u5355\u96c6\u5408", "type": "string", "default": " ", "maxLength": 200, "minLength": 1 } }, "type": "object" }, "ConfigMsgExport": { "description": "\/\/ swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", "required": [ "code", "msg", "count", "data" ], "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u6d88\u606f", "type": "string" }, "count": { "description": "\u6570\u91cf", "type": "integer", "format": "int32" }, "data": { "description": "\u8bf7\u6c42\u7ed3\u679c", "type": "array", "items": { "properties": { "id": { "description": "ID", "type": "integer" }, "username": { "description": "\u7ba1\u7406\u5458\u540d\u79f0", "type": "string" }, "truename": { "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", "type": "string" } }, "type": "object" } } }, "type": "object" }, "DemoMsgExport": { "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", "required": [ "code", "msg", "count", "data" ], "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u6d88\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u8bf7\u6c42\u7ed3\u679c", "type": "array", "items": { "properties": { "id": { "description": "ID", "type": "integer" }, "site_id": { "description": "\u7ad9\u70b9ID", "type": "integer" }, "username": { "description": "\u7ba1\u7406\u5458\u540d\u79f0", "type": "string" }, "sex": { "description": "\u6027\u522b", "type": "integer" }, "delete_time": { "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", "type": "integer" }, "update_time": { "description": "\u66f4\u65b0\u65f6\u95f4", "type": "integer" }, "create_time": { "description": "\u521b\u5efa\u65f6\u95f4", "type": "integer" } }, "type": "object" } } }, "type": "object" }, "LogMsgExport": { "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", "required": [ "code", "msg", "count", "data" ], "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u6d88\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u8bf7\u6c42\u7ed3\u679c", "type": "array", "items": { "properties": { "id": { "description": "ID", "type": "integer" }, "site_id": { "description": "\u7ad9\u70b9ID", "type": "integer" }, "user_id": { "description": "\u7ba1\u7406\u5458ID", "type": "integer" }, "username": { "description": "\u7ba1\u7406\u5458\u7528\u6237\u540d", "type": "string" }, "action_ip": { "description": "\u6267\u884c\u884c\u4e3a\u8005ip", "type": "string" }, "model": { "description": "\u64cd\u4f5c\u6a21\u5757", "type": "string" }, "request_param": { "description": "\u8bf7\u6c42\u53c2\u6570", "type": "string" }, "url": { "description": "\u89e6\u53d1\u884c\u4e3a\u5b8c\u6574\u7684url", "type": "string" }, "request_method": { "description": "\u8bf7\u6c42\u65b9\u5f0f", "type": "string" }, "spend_time": { "description": "\u8017\u65f6\u51e0\u79d2", "type": "float" }, "record_id": { "description": "\u89e6\u53d1\u884c\u4e3a\u7684\u6570\u636eid", "type": "integer" }, "remark": { "description": "\u65e5\u5fd7\u5907\u6ce8", "type": "string" }, "data": { "description": "\u4fee\u6539\u540e\u6570\u636e\u96c6\u5408", "type": "string" }, "origin": { "description": "\u4fee\u6539\u524d\u6e90\u6570\u636e", "type": "string" }, "sql": { "description": "\u6267\u884c\u7684sql\u8bb0\u5f55", "type": "string" }, "status": { "description": "\u72b6\u6001 0\uff1a\u7981\u7528 1\uff1a\u542f\u7528", "type": "integer" }, "client_os": { "description": "\u5ba2\u6237\u7aef\u7cfb\u7edf\u7c7b\u578b", "type": "string" }, "client_browser": { "description": "\u5ba2\u6237\u7aef\u6d4f\u89c8\u5668\u7c7b\u578b", "type": "string" }, "client_device": { "description": "\u5ba2\u6237\u7aef\u8bbe\u5907\u578b\u53f7\uff0c\u5982 phone x \u7531api\u4f20\u8fc7\u6765", "type": "string" }, "delete_time": { "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", "type": "integer" }, "update_time": { "description": "\u66f4\u65b0\u65f6\u95f4", "type": "integer" }, "create_time": { "description": "\u521b\u5efa\u65f6\u95f4", "type": "integer" } }, "type": "object" } } }, "type": "object" }, "ManagerMsgExport": { "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", "required": [ "code", "msg", "count", "data" ], "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u6d88\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u8bf7\u6c42\u7ed3\u679c", "type": "array", "items": { "properties": { "id": { "description": "ID", "type": "integer" }, "site_id": { "description": "\u7ad9\u70b9ID", "type": "integer" }, "username": { "description": "\u7ba1\u7406\u5458\u540d\u79f0", "type": "string" }, "truename": { "description": "\u7ba1\u7406\u5458\u771f\u5b9e\u59d3\u540d", "type": "string" }, "sex": { "description": "\u6027\u522b", "type": "integer" }, "phone": { "description": "\u624b\u673a\u53f7", "type": "integer" }, "email": { "description": "\u90ae\u7bb1", "type": "string" }, "status": { "description": "\u72b6\u6001", "type": "integer" }, "ip": { "description": "ip", "type": "integer" }, "avatar": { "description": "\u5934\u50cf\u5730\u5740", "type": "string" }, "introduction": { "description": "\u7528\u6237\u7b80\u4ecb", "type": "string" }, "delete_time": { "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", "type": "integer" }, "login_time": { "description": "\u6700\u540e\u767b\u5f55\u65f6\u95f4", "type": "integer" }, "update_time": { "description": "\u66f4\u65b0\u65f6\u95f4", "type": "integer" }, "create_time": { "description": "\u521b\u5efa\u65f6\u95f4", "type": "integer" } }, "type": "object" } } }, "type": "object" }, "MenuMsgExport": { "description": "swagger response\u8fd4\u56de\u6570\u636e\u5f15\u7528", "required": [ "code", "msg", "count", "data" ], "properties": { "code": { "description": "\u72b6\u6001\u7801", "type": "integer", "format": "int32" }, "msg": { "description": "\u63d0\u793a\u6d88\u606f", "type": "string" }, "count": { "description": "\u8bb0\u5f55\u603b\u6570", "type": "integer", "format": "int32" }, "data": { "description": "\u8bf7\u6c42\u7ed3\u679c", "type": "array", "items": { "properties": { "id": { "description": "\u83dc\u5355ID", "type": "integer" }, "site_id": { "description": "\u7ad9\u70b9ID", "type": "integer" }, "name": { "description": "\u83dc\u5355\u540d\u79f0", "type": "string" }, "parent_id": { "description": "\u7236\u7ea7ID", "type": "integer" }, "model_name": { "description": "\u6a21\u5757\u540d\/\u63a7\u5236\u5668\/\u65b9\u6cd5", "type": "string" }, "path": { "description": "\u5bf9\u5e94\u524d\u53f0\u7684\u6a21\u677f\u7684\u8def\u7531\u5730\u5740", "type": "string" }, "component": { "description": "\u524d\u53f0\u5bf9\u5e94\u7684\u7ec4\u4ef6\u8def\u5f84", "type": "string" }, "authority": { "description": "\u6309\u94ae\u6743\u9650\u6807\u8bc6", "type": "string" }, "icon": { "description": "\u83dc\u5355\u56fe\u6807", "type": "string" }, "color": { "description": "icon\u989c\u8272", "type": "string" }, "target": { "description": "\u662f\u5426\u65b0\u7a97\u53e3 _target\/_self", "type": "string" }, "iframe": { "description": "\u662f\u5426\u4e3a iframe\u6a21\u5f0f 0\uff1a\u4e0d\u662f 1\uff1a\u662f", "type": "integer" }, "hide": { "description": "\u662f\u5426\u663e\u793a 0\uff1a\u663e\u793a 1\uff1a\u9690\u85cf", "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", "type": "integer" }, "sort": { "description": "\u6392\u5e8f", "type": "integer" }, "menu_type": { "description": "\u83dc\u5355\u7c7b\u578b 0:\u83dc\u5355 1\uff1a\u6309\u94ae", "type": "integer" }, "open_type": { "description": "\u6253\u5f00\u65b9\u5f0f 0\uff1a\u7ec4\u4ef6 1\uff1a\u5185\u94fe 2\uff1a\u5916\u94fe", "type": "integer" }, "is_dev": { "description": "1\uff1a\u5f00\u53d1\u8005\u6a21\u5f0f\uff08\u5373tp\u8c03\u8bd5\u6a21\u5f0f\u5f00\u542f\uff09", "type": "integer" }, "status": { "description": "\u72b6\u6001\uff1a\u4e3a1\u6b63\u5e38\uff0c\u4e3a0\u7981\u7528", "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", "type": "string" }, "remarks": { "description": "\u5907\u6ce8", "type": "string" }, "child_list": { "description": "100100 \u5b50\u96c6\u83dc\u5355\u96c6\u5408", "type": "string" }, "children": { "description": "\u5b50\u96c6\u83dc\u5355\u5bf9\u8c61", "type": "object" }, "delete_time": { "description": "\u662f\u5426\u5220\u9664 null\uff1a\u672a\u5220\u9664", "type": "integer" }, "update_time": { "description": "\u66f4\u65b0\u65f6\u95f4", "type": "integer" }, "create_time": { "description": "\u521b\u5efa\u65f6\u95f4", "type": "integer" } }, "type": "object" } } }, "type": "object" } }, "parameters": { "token": { "name": "token", "in": "header", "description": "\u7528\u6237\u767b\u5f55\u8fd4\u56de\u7684jwt-token\u503c", "required": true, "schema": { "type": "string" } } } } }