用户头像由上传模式改为 媒体库选择模式
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// This file was generated by swaggo/swag at
|
||||
// 2020-08-20 11:59:55.622609 +0800 CST m=+0.106561201
|
||||
// 2020-08-31 21:50:05.0136259 +0800 CST m=+0.193314401
|
||||
|
||||
package docs
|
||||
|
||||
@@ -50,7 +50,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysApi"
|
||||
}
|
||||
}
|
||||
@@ -89,7 +88,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysApi"
|
||||
}
|
||||
}
|
||||
@@ -155,7 +153,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.GetById"
|
||||
}
|
||||
}
|
||||
@@ -194,7 +191,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.SearchApiParams"
|
||||
}
|
||||
}
|
||||
@@ -233,7 +229,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysApi"
|
||||
}
|
||||
}
|
||||
@@ -272,7 +267,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/response.SysAuthorityCopyResponse"
|
||||
}
|
||||
}
|
||||
@@ -311,7 +305,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysAuthority"
|
||||
}
|
||||
}
|
||||
@@ -350,7 +343,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysAuthority"
|
||||
}
|
||||
}
|
||||
@@ -389,7 +381,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.PageInfo"
|
||||
}
|
||||
}
|
||||
@@ -428,7 +419,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysAuthority"
|
||||
}
|
||||
}
|
||||
@@ -467,7 +457,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysAuthority"
|
||||
}
|
||||
}
|
||||
@@ -506,7 +495,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.AutoCodeStruct"
|
||||
}
|
||||
}
|
||||
@@ -591,7 +579,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.RegisterAndLoginStruct"
|
||||
}
|
||||
}
|
||||
@@ -622,7 +609,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysUser"
|
||||
}
|
||||
}
|
||||
@@ -637,45 +623,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/casbin/CasbinTest": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"casbin"
|
||||
],
|
||||
"summary": "casb RBAC RESTFUL测试路由",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取权限列表",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.CasbinInReceive"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/casbin/UpdateCasbin": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -700,7 +647,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.CasbinInReceive"
|
||||
}
|
||||
}
|
||||
@@ -739,7 +685,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.CasbinInReceive"
|
||||
}
|
||||
}
|
||||
@@ -778,7 +723,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.ExaCustomer"
|
||||
}
|
||||
}
|
||||
@@ -815,7 +759,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.ExaCustomer"
|
||||
}
|
||||
}
|
||||
@@ -852,7 +795,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.ExaCustomer"
|
||||
}
|
||||
}
|
||||
@@ -889,7 +831,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.ExaCustomer"
|
||||
}
|
||||
}
|
||||
@@ -928,7 +869,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.PageInfo"
|
||||
}
|
||||
}
|
||||
@@ -1000,7 +940,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.ExaFileUploadAndDownload"
|
||||
}
|
||||
}
|
||||
@@ -1075,7 +1014,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.PageInfo"
|
||||
}
|
||||
}
|
||||
@@ -1213,7 +1151,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.AuthorityIdInfo"
|
||||
}
|
||||
}
|
||||
@@ -1252,7 +1189,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysBaseMenu"
|
||||
}
|
||||
}
|
||||
@@ -1291,7 +1227,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.AddMenuAuthorityInfo"
|
||||
}
|
||||
}
|
||||
@@ -1330,7 +1265,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.GetById"
|
||||
}
|
||||
}
|
||||
@@ -1369,7 +1303,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.GetById"
|
||||
}
|
||||
}
|
||||
@@ -1405,7 +1338,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.RegisterAndLoginStruct"
|
||||
}
|
||||
}
|
||||
@@ -1441,7 +1373,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.RegisterAndLoginStruct"
|
||||
}
|
||||
}
|
||||
@@ -1480,7 +1411,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.PageInfo"
|
||||
}
|
||||
}
|
||||
@@ -1519,7 +1449,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysBaseMenu"
|
||||
}
|
||||
}
|
||||
@@ -1651,7 +1580,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionary"
|
||||
}
|
||||
}
|
||||
@@ -1690,7 +1618,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionary"
|
||||
}
|
||||
}
|
||||
@@ -1729,7 +1656,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionary"
|
||||
}
|
||||
}
|
||||
@@ -1768,7 +1694,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.SysDictionarySearch"
|
||||
}
|
||||
}
|
||||
@@ -1807,7 +1732,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionary"
|
||||
}
|
||||
}
|
||||
@@ -1846,7 +1770,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionaryDetail"
|
||||
}
|
||||
}
|
||||
@@ -1885,7 +1808,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionaryDetail"
|
||||
}
|
||||
}
|
||||
@@ -1924,7 +1846,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionaryDetail"
|
||||
}
|
||||
}
|
||||
@@ -1963,7 +1884,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.SysDictionaryDetailSearch"
|
||||
}
|
||||
}
|
||||
@@ -2002,7 +1922,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysDictionaryDetail"
|
||||
}
|
||||
}
|
||||
@@ -2041,7 +1960,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysOperationRecord"
|
||||
}
|
||||
}
|
||||
@@ -2080,7 +1998,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysOperationRecord"
|
||||
}
|
||||
}
|
||||
@@ -2119,7 +2036,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.IdsReq"
|
||||
}
|
||||
}
|
||||
@@ -2158,7 +2074,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysOperationRecord"
|
||||
}
|
||||
}
|
||||
@@ -2197,7 +2112,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.SysOperationRecordSearch"
|
||||
}
|
||||
}
|
||||
@@ -2212,45 +2126,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sysOperationRecord/updateSysOperationRecord": {
|
||||
"put": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysOperationRecord"
|
||||
],
|
||||
"summary": "更新SysOperationRecord",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "更新SysOperationRecord",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysOperationRecord"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/ReloadSystem": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -2272,7 +2147,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.System"
|
||||
}
|
||||
}
|
||||
@@ -2332,7 +2206,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.System"
|
||||
}
|
||||
}
|
||||
@@ -2368,7 +2241,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.ChangePasswordStruct"
|
||||
}
|
||||
}
|
||||
@@ -2407,7 +2279,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.GetById"
|
||||
}
|
||||
}
|
||||
@@ -2446,7 +2317,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.PageInfo"
|
||||
}
|
||||
}
|
||||
@@ -2485,7 +2355,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/request.SetUserAuth"
|
||||
}
|
||||
}
|
||||
@@ -2500,49 +2369,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/user/uploadHeaderImg": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysUser"
|
||||
],
|
||||
"summary": "用户上传头像",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "用户上传头像",
|
||||
"name": "headerImg",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "用户上传头像",
|
||||
"name": "username",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workflow/createWorkFlow": {
|
||||
"post": {
|
||||
"produces": [
|
||||
@@ -2559,7 +2385,6 @@ var doc = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/model.SysWorkflow"
|
||||
}
|
||||
}
|
||||
@@ -2606,6 +2431,20 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.LocalUpload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatarPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"filePath": {
|
||||
"type": "string"
|
||||
},
|
||||
"local": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.Log": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -2698,6 +2537,10 @@ var doc = `{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.JWT"
|
||||
},
|
||||
"localUpload": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.LocalUpload"
|
||||
},
|
||||
"log": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.Log"
|
||||
@@ -2980,7 +2823,7 @@ var doc = `{
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"sysBaseMenuId": {
|
||||
"sysBaseMenuID": {
|
||||
"type": "integer"
|
||||
},
|
||||
"type": {
|
||||
|
Reference in New Issue
Block a user