mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-13 10:52:34 +00:00
增加验证码接口 修改swagger某些参数错误
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-01-06 17:53:22.2207663 +0800 CST m=+0.069844001
|
||||
// 2020-03-17 14:07:14.3860547 +0800 CST m=+0.077792301
|
||||
|
||||
package docs
|
||||
|
||||
@@ -404,6 +404,84 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/captcha": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"base"
|
||||
],
|
||||
"summary": "生成验证码",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "生成验证码",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/modelInterface.PageInfo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/captcha/": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"base"
|
||||
],
|
||||
"summary": "生成验证码图片路径",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "生成验证码图片路径",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/modelInterface.PageInfo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/login": {
|
||||
"post": {
|
||||
"produces": [
|
||||
@@ -466,6 +544,45 @@ 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/api.CreateAuthorityParams"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/casbin/casbinPUpdata": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -491,7 +608,7 @@ var doc = `{
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/api.CreateAuthorityParams"
|
||||
"$ref": "#/definitions/sysModel.CasbinInReceive"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -544,6 +661,237 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/createExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "创建客户",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "创建客户",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/deleteExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "删除客户",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "删除客户",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/getExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "获取单一客户信息",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取单一客户信息",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/getExaCustomerList": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "获取权限客户列表",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取权限客户列表",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/modelInterface.PageInfo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/updataExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "更新客户信息",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "创建客户",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/breakpointContinue": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "断点续传到服务器",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "断点续传示例",
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/deleteFile": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -580,6 +928,42 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/findFile": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "查找文件",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "查找文件",
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"查找成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/getFileList": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -619,6 +1003,42 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/removeChunk": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "删除切片",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "查找文件",
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"查找成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/upload": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -988,6 +1408,102 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/ReloadSystem": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "设置配置文件内容",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "设置配置文件内容",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.System"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/getSystemConfig": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "获取配置文件内容",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/setSystemConfig": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "设置配置文件内容",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "设置配置文件内容",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.System"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/user/changePassword": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -1263,6 +1779,12 @@ var doc = `{
|
||||
"api.RegistAndLoginStuct": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"captcha": {
|
||||
"type": "string"
|
||||
},
|
||||
"captchaId": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1282,6 +1804,132 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.CasbinConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"modelPath": {
|
||||
"description": "casbin model地址配置",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.Config": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"casbinConfig": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.CasbinConfig"
|
||||
},
|
||||
"jwt": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.JWT"
|
||||
},
|
||||
"mysqlAdmin": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.MysqlAdmin"
|
||||
},
|
||||
"qiniu": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.Qiniu"
|
||||
},
|
||||
"redisAdmin": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.RedisAdmin"
|
||||
},
|
||||
"system": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.System"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.JWT": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"signingKey": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.MysqlAdmin": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"type": "string"
|
||||
},
|
||||
"dbname": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.Qiniu": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"accessKey": {
|
||||
"type": "string"
|
||||
},
|
||||
"secretKey": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.RedisAdmin": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addr": {
|
||||
"type": "string"
|
||||
},
|
||||
"db": {
|
||||
"type": "integer"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.System": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addr": {
|
||||
"type": "integer"
|
||||
},
|
||||
"env": {
|
||||
"type": "string"
|
||||
},
|
||||
"useMultipoint": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.ExaCustomer": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customerName": {
|
||||
"type": "string"
|
||||
},
|
||||
"customerPhoneData": {
|
||||
"type": "string"
|
||||
},
|
||||
"sysUser": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.SysUser"
|
||||
},
|
||||
"sysUserAuthorityID": {
|
||||
"type": "string"
|
||||
},
|
||||
"sysUserId": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.ExaFileUploadAndDownload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1310,6 +1958,31 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.CasbinInReceive": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"authorityId": {
|
||||
"type": "string"
|
||||
},
|
||||
"casbinInfos": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/sysModel.CasbinInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.CasbinInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.SysApi": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1319,6 +1992,9 @@ var doc = `{
|
||||
"group": {
|
||||
"type": "string"
|
||||
},
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1464,6 +2140,15 @@ var doc = `{
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.System": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.Config"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"securityDefinitions": {
|
||||
|
||||
@@ -387,6 +387,84 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/captcha": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"base"
|
||||
],
|
||||
"summary": "生成验证码",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "生成验证码",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/modelInterface.PageInfo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/captcha/": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"base"
|
||||
],
|
||||
"summary": "生成验证码图片路径",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "生成验证码图片路径",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/modelInterface.PageInfo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/login": {
|
||||
"post": {
|
||||
"produces": [
|
||||
@@ -449,6 +527,45 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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/api.CreateAuthorityParams"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/casbin/casbinPUpdata": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -474,7 +591,7 @@
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/api.CreateAuthorityParams"
|
||||
"$ref": "#/definitions/sysModel.CasbinInReceive"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -527,6 +644,237 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/createExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "创建客户",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "创建客户",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/deleteExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "删除客户",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "删除客户",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/getExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "获取单一客户信息",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取单一客户信息",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/getExaCustomerList": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "获取权限客户列表",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取权限客户列表",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/modelInterface.PageInfo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/customer/updataExaCustomer": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "更新客户信息",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "创建客户",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.ExaCustomer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/breakpointContinue": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "断点续传到服务器",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "断点续传示例",
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/deleteFile": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -563,6 +911,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/findFile": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "查找文件",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "查找文件",
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"查找成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/getFileList": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -602,6 +986,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/removeChunk": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "删除切片",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "file",
|
||||
"description": "查找文件",
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"查找成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/upload": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -971,6 +1391,102 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/ReloadSystem": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "设置配置文件内容",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "设置配置文件内容",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.System"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/getSystemConfig": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "获取配置文件内容",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/setSystemConfig": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "设置配置文件内容",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "设置配置文件内容",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.System"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/user/changePassword": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -1246,6 +1762,12 @@
|
||||
"api.RegistAndLoginStuct": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"captcha": {
|
||||
"type": "string"
|
||||
},
|
||||
"captchaId": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1265,6 +1787,132 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.CasbinConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"modelPath": {
|
||||
"description": "casbin model地址配置",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.Config": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"casbinConfig": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.CasbinConfig"
|
||||
},
|
||||
"jwt": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.JWT"
|
||||
},
|
||||
"mysqlAdmin": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.MysqlAdmin"
|
||||
},
|
||||
"qiniu": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.Qiniu"
|
||||
},
|
||||
"redisAdmin": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.RedisAdmin"
|
||||
},
|
||||
"system": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.System"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.JWT": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"signingKey": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.MysqlAdmin": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"type": "string"
|
||||
},
|
||||
"dbname": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.Qiniu": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"accessKey": {
|
||||
"type": "string"
|
||||
},
|
||||
"secretKey": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.RedisAdmin": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addr": {
|
||||
"type": "string"
|
||||
},
|
||||
"db": {
|
||||
"type": "integer"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"config.System": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addr": {
|
||||
"type": "integer"
|
||||
},
|
||||
"env": {
|
||||
"type": "string"
|
||||
},
|
||||
"useMultipoint": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.ExaCustomer": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customerName": {
|
||||
"type": "string"
|
||||
},
|
||||
"customerPhoneData": {
|
||||
"type": "string"
|
||||
},
|
||||
"sysUser": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.SysUser"
|
||||
},
|
||||
"sysUserAuthorityID": {
|
||||
"type": "string"
|
||||
},
|
||||
"sysUserId": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.ExaFileUploadAndDownload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1293,6 +1941,31 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.CasbinInReceive": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"authorityId": {
|
||||
"type": "string"
|
||||
},
|
||||
"casbinInfos": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/sysModel.CasbinInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.CasbinInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.SysApi": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1302,6 +1975,9 @@
|
||||
"group": {
|
||||
"type": "string"
|
||||
},
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1447,6 +2123,15 @@
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.System": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/config.Config"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"securityDefinitions": {
|
||||
|
||||
@@ -54,6 +54,10 @@ definitions:
|
||||
type: object
|
||||
api.RegistAndLoginStuct:
|
||||
properties:
|
||||
captcha:
|
||||
type: string
|
||||
captchaId:
|
||||
type: string
|
||||
password:
|
||||
type: string
|
||||
username:
|
||||
@@ -66,6 +70,90 @@ definitions:
|
||||
uuid:
|
||||
type: string
|
||||
type: object
|
||||
config.CasbinConfig:
|
||||
properties:
|
||||
modelPath:
|
||||
description: casbin model地址配置
|
||||
type: string
|
||||
type: object
|
||||
config.Config:
|
||||
properties:
|
||||
casbinConfig:
|
||||
$ref: '#/definitions/config.CasbinConfig'
|
||||
type: object
|
||||
jwt:
|
||||
$ref: '#/definitions/config.JWT'
|
||||
type: object
|
||||
mysqlAdmin:
|
||||
$ref: '#/definitions/config.MysqlAdmin'
|
||||
type: object
|
||||
qiniu:
|
||||
$ref: '#/definitions/config.Qiniu'
|
||||
type: object
|
||||
redisAdmin:
|
||||
$ref: '#/definitions/config.RedisAdmin'
|
||||
type: object
|
||||
system:
|
||||
$ref: '#/definitions/config.System'
|
||||
type: object
|
||||
type: object
|
||||
config.JWT:
|
||||
properties:
|
||||
signingKey:
|
||||
type: string
|
||||
type: object
|
||||
config.MysqlAdmin:
|
||||
properties:
|
||||
config:
|
||||
type: string
|
||||
dbname:
|
||||
type: string
|
||||
password:
|
||||
type: string
|
||||
path:
|
||||
type: string
|
||||
username:
|
||||
type: string
|
||||
type: object
|
||||
config.Qiniu:
|
||||
properties:
|
||||
accessKey:
|
||||
type: string
|
||||
secretKey:
|
||||
type: string
|
||||
type: object
|
||||
config.RedisAdmin:
|
||||
properties:
|
||||
addr:
|
||||
type: string
|
||||
db:
|
||||
type: integer
|
||||
password:
|
||||
type: string
|
||||
type: object
|
||||
config.System:
|
||||
properties:
|
||||
addr:
|
||||
type: integer
|
||||
env:
|
||||
type: string
|
||||
useMultipoint:
|
||||
type: boolean
|
||||
type: object
|
||||
dbModel.ExaCustomer:
|
||||
properties:
|
||||
customerName:
|
||||
type: string
|
||||
customerPhoneData:
|
||||
type: string
|
||||
sysUser:
|
||||
$ref: '#/definitions/sysModel.SysUser'
|
||||
type: object
|
||||
sysUserAuthorityID:
|
||||
type: string
|
||||
sysUserId:
|
||||
type: integer
|
||||
type: object
|
||||
dbModel.ExaFileUploadAndDownload:
|
||||
properties:
|
||||
key:
|
||||
@@ -84,12 +172,30 @@ definitions:
|
||||
pageSize:
|
||||
type: integer
|
||||
type: object
|
||||
sysModel.CasbinInReceive:
|
||||
properties:
|
||||
authorityId:
|
||||
type: string
|
||||
casbinInfos:
|
||||
items:
|
||||
$ref: '#/definitions/sysModel.CasbinInfo'
|
||||
type: array
|
||||
type: object
|
||||
sysModel.CasbinInfo:
|
||||
properties:
|
||||
method:
|
||||
type: string
|
||||
path:
|
||||
type: string
|
||||
type: object
|
||||
sysModel.SysApi:
|
||||
properties:
|
||||
description:
|
||||
type: string
|
||||
group:
|
||||
type: string
|
||||
method:
|
||||
type: string
|
||||
path:
|
||||
type: string
|
||||
type: object
|
||||
@@ -189,6 +295,12 @@ definitions:
|
||||
description: 所属工作流ID
|
||||
type: integer
|
||||
type: object
|
||||
sysModel.System:
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/definitions/config.Config'
|
||||
type: object
|
||||
type: object
|
||||
info:
|
||||
contact: {}
|
||||
description: This is a sample Server pets
|
||||
@@ -428,6 +540,54 @@ paths:
|
||||
summary: 设置角色资源权限
|
||||
tags:
|
||||
- authority
|
||||
/base/captcha:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 生成验证码
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/modelInterface.PageInfo'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 生成验证码
|
||||
tags:
|
||||
- base
|
||||
/base/captcha/:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 生成验证码图片路径
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/modelInterface.PageInfo'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 生成验证码图片路径
|
||||
tags:
|
||||
- base
|
||||
/base/login:
|
||||
post:
|
||||
parameters:
|
||||
@@ -468,6 +628,30 @@ paths:
|
||||
summary: 用户注册账号
|
||||
tags:
|
||||
- Base
|
||||
/casbin/CasbinTest:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 获取权限列表
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/api.CreateAuthorityParams'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: casb RBAC RESTFUL测试路由
|
||||
tags:
|
||||
- casbin
|
||||
/casbin/casbinPUpdata:
|
||||
post:
|
||||
consumes:
|
||||
@@ -478,7 +662,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/api.CreateAuthorityParams'
|
||||
$ref: '#/definitions/sysModel.CasbinInReceive'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
@@ -516,6 +700,148 @@ paths:
|
||||
summary: 获取权限列表
|
||||
tags:
|
||||
- casbin
|
||||
/customer/createExaCustomer:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 创建客户
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dbModel.ExaCustomer'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 创建客户
|
||||
tags:
|
||||
- SysApi
|
||||
/customer/deleteExaCustomer:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 删除客户
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dbModel.ExaCustomer'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 删除客户
|
||||
tags:
|
||||
- SysApi
|
||||
/customer/getExaCustomer:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 获取单一客户信息
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dbModel.ExaCustomer'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 获取单一客户信息
|
||||
tags:
|
||||
- SysApi
|
||||
/customer/getExaCustomerList:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 获取权限客户列表
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/modelInterface.PageInfo'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 获取权限客户列表
|
||||
tags:
|
||||
- SysApi
|
||||
/customer/updataExaCustomer:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: 创建客户
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dbModel.ExaCustomer'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"获取成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 更新客户信息
|
||||
tags:
|
||||
- SysApi
|
||||
/fileUploadAndDownload/breakpointContinue:
|
||||
post:
|
||||
consumes:
|
||||
- multipart/form-data
|
||||
parameters:
|
||||
- description: 断点续传示例
|
||||
in: formData
|
||||
name: file
|
||||
required: true
|
||||
type: file
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"上传成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 断点续传到服务器
|
||||
tags:
|
||||
- ExaFileUploadAndDownload
|
||||
/fileUploadAndDownload/deleteFile:
|
||||
post:
|
||||
parameters:
|
||||
@@ -538,6 +864,28 @@ paths:
|
||||
summary: 删除文件
|
||||
tags:
|
||||
- ExaFileUploadAndDownload
|
||||
/fileUploadAndDownload/findFile:
|
||||
post:
|
||||
consumes:
|
||||
- multipart/form-data
|
||||
parameters:
|
||||
- description: 查找文件
|
||||
in: formData
|
||||
name: file
|
||||
required: true
|
||||
type: file
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"查找成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 查找文件
|
||||
tags:
|
||||
- ExaFileUploadAndDownload
|
||||
/fileUploadAndDownload/getFileList:
|
||||
post:
|
||||
consumes:
|
||||
@@ -562,6 +910,28 @@ paths:
|
||||
summary: 分页文件列表
|
||||
tags:
|
||||
- ExaFileUploadAndDownload
|
||||
/fileUploadAndDownload/removeChunk:
|
||||
post:
|
||||
consumes:
|
||||
- multipart/form-data
|
||||
parameters:
|
||||
- description: 查找文件
|
||||
in: formData
|
||||
name: file
|
||||
required: true
|
||||
type: file
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"查找成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 删除切片
|
||||
tags:
|
||||
- ExaFileUploadAndDownload
|
||||
/fileUploadAndDownload/upload:
|
||||
post:
|
||||
consumes:
|
||||
@@ -788,6 +1158,64 @@ paths:
|
||||
summary: 更新菜单
|
||||
tags:
|
||||
- menu
|
||||
/system/ReloadSystem:
|
||||
post:
|
||||
parameters:
|
||||
- description: 设置配置文件内容
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/sysModel.System'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"返回成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 设置配置文件内容
|
||||
tags:
|
||||
- system
|
||||
/system/getSystemConfig:
|
||||
post:
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"返回成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 获取配置文件内容
|
||||
tags:
|
||||
- system
|
||||
/system/setSystemConfig:
|
||||
post:
|
||||
parameters:
|
||||
- description: 设置配置文件内容
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/sysModel.System'
|
||||
type: object
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"返回成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 设置配置文件内容
|
||||
tags:
|
||||
- system
|
||||
/user/changePassword:
|
||||
post:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user