{ "schemes": [ "http", "https" ], "swagger": "2.0", "info": { "description": "后台管理框架", "title": "jxg", "contact": {}, "version": "2.0" }, "paths": { "/captcha/get": { "get": { "security": [ { "": [] } ], "description": "获取验证码图片信息", "tags": [ "公共" ], "summary": "获取验证码图片信息", "responses": { "0": { "description": "{\"code\": 200, \"data\": {idKeyC:\" \",base64stringC:\"\" }}", "schema": { "allOf": [ { "$ref": "#/definitions/library.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/api.Res" } } } ] } } } } }, "/system/auth/userList": { "get": { "security": [ { "": [] } ], "description": "获取用户列表", "tags": [ "用户管理" ], "summary": "获取用户列表", "parameters": [ { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "部门id", "name": "deptId", "in": "query" }, { "type": "array", "items": { "type": "integer" }, "description": "所属部门id数据", "name": "deptIds", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "string", "name": "keyWords", "in": "query" }, { "type": "string", "description": "排序方式", "name": "orderBy", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "每页数", "name": "pageSize", "in": "query" }, { "type": "string", "name": "phonenumber", "in": "query" }, { "type": "string", "name": "status", "in": "query" } ], "responses": { "0": { "description": "{\"code\": 200, \"data\": [...]}", "schema": { "$ref": "#/definitions/library.Response" } } } } }, "/system/upload/ckEditorUp": { "post": { "security": [ { "": [] } ], "description": "CkEditor编辑器上传附件", "tags": [ "公共" ], "summary": "CkEditor编辑器上传附件", "parameters": [ { "description": "upFile", "name": "upFile", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "0": { "description": "{\"code\": 200, \"data\": [...]}", "schema": { "$ref": "#/definitions/library.Response" } } } } }, "/system/upload/upFile": { "post": { "security": [ { "": [] } ], "description": "单文件上传", "tags": [ "公共" ], "summary": "单文件上传", "parameters": [ { "description": "file", "name": "file", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "0": { "description": "{\"code\": 200, \"data\": [...]}", "schema": { "$ref": "#/definitions/library.Response" } } } } }, "/system/upload/upFiles": { "post": { "security": [ { "": [] } ], "description": "批量上传文件", "tags": [ "公共" ], "summary": "批量上传文件", "parameters": [ { "description": "file", "name": "file", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "0": { "description": "{\"code\": 200, \"data\": [...]}", "schema": { "$ref": "#/definitions/library.Response" } } } } }, "/system/upload/upImgs": { "post": { "security": [ { "": [] } ], "description": "批量上传图片", "tags": [ "公共" ], "summary": "批量上传图片", "parameters": [ { "description": "file", "name": "file", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "0": { "description": "{\"code\": 200, \"data\": [...]}", "schema": { "$ref": "#/definitions/library.Response" } } } } } }, "definitions": { "api.Res": { "type": "object", "properties": { "base64stringC": { "description": "动态验证码图片 base64", "type": "string" }, "idKeyC": { "description": "图片的key", "type": "string" } } }, "library.Response": { "type": "object", "properties": { "code": { "description": "代码", "type": "integer", "example": 200 }, "data": { "description": "数据集", "type": "object" }, "msg": { "description": "消息", "type": "string" } } } } }