| | |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | "multipart/form-data" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "tags": [ |
| | | "AutoCode" |
| | | ], |
| | | "summary": "创建插件模板", |
| | | "summary": "安装插件", |
| | | "parameters": [ |
| | | { |
| | | "description": "创建插件模板", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/system.SysAutoCode" |
| | | } |
| | | "type": "file", |
| | | "description": "this is a test file", |
| | | "name": "plug", |
| | | "in": "formData", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "创建插件模板成功", |
| | | "description": "安装插件成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | "type": "array", |
| | | "items": { |
| | | "type": "object" |
| | | } |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/autoCode/installPlugin": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "multipart/form-data" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "AutoCode" |
| | | ], |
| | | "summary": "安装插件", |
| | | "parameters": [ |
| | | { |
| | | "type": "file", |
| | | "description": "this is a test file", |
| | | "name": "plug", |
| | | "in": "formData", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "安装插件成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "object" |
| | | } |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/autoCode/preview": { |
| | | "post": { |
| | | "security": [ |
| | |
| | | "responses": { |
| | | "200": { |
| | | "description": "预览创建后的代码", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/autoCode/pubPlug": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "AutoCode" |
| | | ], |
| | | "summary": "打包插件", |
| | | "parameters": [ |
| | | { |
| | | "description": "打包插件", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/system.SysAutoCode" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "打包插件成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "客户名", |
| | | "name": "customerName", |
| | | "in": "query" |
| | |
| | | "type": "integer", |
| | | "description": "管理ID", |
| | | "name": "sysUserId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/i/createIndustry": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Industry" |
| | | ], |
| | | "summary": "创建Industry", |
| | | "parameters": [ |
| | | { |
| | | "description": "创建Industry", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/i/deleteIndustry": { |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Industry" |
| | | ], |
| | | "summary": "删除Industry", |
| | | "parameters": [ |
| | | { |
| | | "description": "删除Industry", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/i/deleteIndustryByIds": { |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Industry" |
| | | ], |
| | | "summary": "批量删除Industry", |
| | | "parameters": [ |
| | | { |
| | | "description": "批量删除Industry", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.IdsReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/i/findIndustry": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Industry" |
| | | ], |
| | | "summary": "用id查询Industry", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/i/getIndustryList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Industry" |
| | | ], |
| | | "summary": "分页获取Industry列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/i/updateIndustry": { |
| | | "put": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Industry" |
| | | ], |
| | | "summary": "更新Industry", |
| | | "parameters": [ |
| | | { |
| | | "description": "更新Industry", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "描述", |
| | | "name": "desc", |
| | | "in": "query" |
| | |
| | | "type": "string", |
| | | "description": "字典名(英)", |
| | | "name": "type", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "描述", |
| | | "name": "desc", |
| | | "in": "query" |
| | |
| | | "type": "string", |
| | | "description": "字典名(英)", |
| | | "name": "type", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "summary": "用id查询SysDictionaryDetail", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | |
| | | "type": "integer", |
| | | "description": "关联标记", |
| | | "name": "sysDictionaryID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "summary": "分页获取SysDictionaryDetail列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | |
| | | "type": "integer", |
| | | "description": "关联标记", |
| | | "name": "sysDictionaryID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "错误信息", |
| | | "name": "error_message", |
| | | "in": "query" |
| | |
| | | "type": "integer", |
| | | "description": "请求状态", |
| | | "name": "status", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "createdAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "错误信息", |
| | | "name": "error_message", |
| | | "in": "query" |
| | |
| | | "type": "integer", |
| | | "description": "请求状态", |
| | | "name": "status", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "更新时间", |
| | | "name": "updatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "type": "string" |
| | | }, |
| | | "path": { |
| | | "description": "服务器地址:端口", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": ":端口", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "全局表前缀,单独定义TableName则不生效", |
| | | "type": "string" |
| | | }, |
| | | "singular": { |
| | |
| | | "type": "boolean" |
| | | }, |
| | | "username": { |
| | | "description": "数据库密码", |
| | | "description": "数据库用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "string" |
| | | }, |
| | | "path": { |
| | | "description": "服务器地址:端口", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": ":端口", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "全局表前缀,单独定义TableName则不生效", |
| | | "type": "string" |
| | | }, |
| | | "singular": { |
| | |
| | | "type": "boolean" |
| | | }, |
| | | "username": { |
| | | "description": "数据库密码", |
| | | "description": "数据库用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "string" |
| | | }, |
| | | "path": { |
| | | "description": "服务器地址:端口", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": ":端口", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "全局表前缀,单独定义TableName则不生效", |
| | | "type": "string" |
| | | }, |
| | | "singular": { |
| | |
| | | "type": "boolean" |
| | | }, |
| | | "username": { |
| | | "description": "数据库密码", |
| | | "description": "数据库用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "string" |
| | | }, |
| | | "path": { |
| | | "description": "服务器地址:端口", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": ":端口", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "全局表前缀,单独定义TableName则不生效", |
| | | "type": "string" |
| | | }, |
| | | "singular": { |
| | |
| | | "type": "boolean" |
| | | }, |
| | | "username": { |
| | | "description": "数据库密码", |
| | | "description": "数据库用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "redis": { |
| | | "$ref": "#/definitions/config.Redis" |
| | | }, |
| | | "sqlite": { |
| | | "$ref": "#/definitions/config.Sqlite" |
| | | }, |
| | | "system": { |
| | | "$ref": "#/definitions/config.System" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "path": { |
| | | "description": "服务器地址:端口", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": ":端口", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "全局表前缀,单独定义TableName则不生效", |
| | | "type": "string" |
| | | }, |
| | | "singular": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "username": { |
| | | "description": "数据库密码", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "config.Sqlite": { |
| | | "type": "object", |
| | | "properties": { |
| | | "config": { |
| | | "description": "高级配置", |
| | | "type": "string" |
| | | }, |
| | | "db-name": { |
| | | "description": "数据库名", |
| | | "type": "string" |
| | | }, |
| | | "engine": { |
| | | "description": "数据库引擎,默认InnoDB", |
| | | "type": "string", |
| | | "default": "InnoDB" |
| | | }, |
| | | "log-mode": { |
| | | "description": "是否开启Gorm全局日志", |
| | | "type": "string" |
| | | }, |
| | | "log-zap": { |
| | | "description": "是否通过zap写入日志文件", |
| | | "type": "boolean" |
| | | }, |
| | | "max-idle-conns": { |
| | | "description": "空闲中的最大连接数", |
| | | "type": "integer" |
| | | }, |
| | | "max-open-conns": { |
| | | "description": "打开到数据库的最大连接数", |
| | | "type": "integer" |
| | | }, |
| | | "password": { |
| | | "description": "数据库密码", |
| | | "type": "string" |
| | | }, |
| | | "path": { |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "type": "string" |
| | | }, |
| | | "singular": { |
| | | "description": "是否开启全局禁用复数,true表示开启", |
| | | "type": "boolean" |
| | | }, |
| | | "username": { |
| | | "description": "数据库密码", |
| | | "description": "数据库用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "example.ExaCustomer": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "customerName": { |
| | | "description": "客户名", |
| | | "type": "string" |
| | |
| | | "sysUserId": { |
| | | "description": "管理ID", |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "properties": { |
| | | "chunkTotal": { |
| | | "type": "integer" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "exaFileChunk": { |
| | | "type": "array", |
| | |
| | | }, |
| | | "isFinish": { |
| | | "type": "boolean" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "example.ExaFileChunk": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "exaFileID": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "example.ExaFileUploadAndDownload": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | |
| | | "description": "文件标签", |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | }, |
| | | "url": { |
| | | "description": "文件地址", |
| | | "type": "string" |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "from": { |
| | | "description": "发件人 你自己要发邮件的邮箱", |
| | | "description": "收件人", |
| | | "type": "string" |
| | | }, |
| | | "host": { |
| | | "description": "服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议", |
| | | "description": "服务器地址", |
| | | "type": "string" |
| | | }, |
| | | "is-ssl": { |
| | | "description": "是否SSL 是否开启SSL", |
| | | "description": "是否SSL", |
| | | "type": "boolean" |
| | | }, |
| | | "nickname": { |
| | | "description": "昵称 发件人昵称 通常为自己的邮箱", |
| | | "description": "昵称", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": "端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465", |
| | | "description": "端口", |
| | | "type": "integer" |
| | | }, |
| | | "secret": { |
| | | "description": "密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥", |
| | | "description": "密钥", |
| | | "type": "string" |
| | | }, |
| | | "to": { |
| | | "description": "收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用", |
| | | "description": "收件人:多个以英文逗号分隔", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "request.InitDB": { |
| | | "type": "object", |
| | | "required": [ |
| | | "dbName" |
| | | "dbName", |
| | | "userName" |
| | | ], |
| | | "properties": { |
| | | "dbName": { |
| | | "description": "数据库名", |
| | | "type": "string" |
| | | }, |
| | | "dbPath": { |
| | | "description": "sqlite数据库文件路径", |
| | | "type": "string" |
| | | }, |
| | | "dbType": { |
| | |
| | | "description": "api组", |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "description": "排序方式:升序false(默认)|降序true", |
| | | "type": "boolean" |
| | |
| | | }, |
| | | "path": { |
| | | "description": "api路径", |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "description": "api组", |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "description": { |
| | | "description": "api中文描述", |
| | | "type": "string" |
| | |
| | | }, |
| | | "path": { |
| | | "description": "api路径", |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "system.SysAutoCode": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "packageName": { |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "component": { |
| | | "description": "对应前端文件路径", |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "hidden": { |
| | |
| | | "sort": { |
| | | "description": "排序标记", |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "system.SysBaseMenuBtn": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "sysBaseMenuID": { |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "system.SysBaseMenuParameter": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | |
| | | "description": "地址栏携带参数为params还是query", |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "地址栏携带参数的值", |
| | | "type": "string" |
| | |
| | | "system.SysDictionary": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "description": "描述", |
| | | "type": "string" |
| | |
| | | "type": { |
| | | "description": "字典名(英)", |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "system.SysDictionaryDetail": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | |
| | | "sysDictionaryID": { |
| | | "description": "关联标记", |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "字典值", |
| | |
| | | }, |
| | | "component": { |
| | | "description": "对应前端文件路径", |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "hidden": { |
| | |
| | | "sort": { |
| | | "description": "排序标记", |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "body": { |
| | | "description": "请求Body", |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "error_message": { |
| | |
| | | "description": "请求状态", |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | }, |
| | | "user": { |
| | | "$ref": "#/definitions/system.SysUser" |
| | | }, |
| | |
| | | "description": "基础颜色", |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "email": { |
| | | "description": "用户邮箱", |
| | | "type": "string" |
| | |
| | | "description": "用户侧边主题", |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "description": "更新时间", |
| | | "type": "string" |
| | | }, |
| | | "userName": { |
| | | "description": "用户登录名", |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "config": { |
| | | "$ref": "#/definitions/config.Server" |
| | | } |
| | | } |
| | | }, |
| | | "test.Industry": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |