fix :dir insert bug

This commit is contained in:
zhangwenjian committed 2020-08-23 22:55:57 +08:00
1 parent 128e34ab04
commit 5a793b9e34
5 files changed
+543 -6

No files matched your search

+199 -1
View File
@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2020-07-17 22:43:59.920467 +0800 CST m=+0.161144112
// 2020-08-23 22:49:09.111618 +0800 CST m=+0.142306844
package docs
@@ -1647,6 +1647,42 @@ var doc = `{
}
}
},
"/api/v1/public/uploadFile": {
"post": {
"description": "获取JSON",
"consumes": [
"multipart/form-data"
],
"tags": [
"公共接口"
],
"summary": "上传图片",
"parameters": [
{
"type": "string",
"description": "type",
"name": "type",
"in": "query",
"required": true
},
{
"type": "file",
"description": "file",
"name": "file",
"in": "formData",
"required": true
}
],
"responses": {
"200": {
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/role": {
"get": {
"security": [
@@ -1879,6 +1915,40 @@ var doc = `{
}
}
},
"/api/v1/setting": {
"get": {
"description": "获取JSON",
"tags": [
"系统信息"
],
"summary": "查询系统信息",
"responses": {
"200": {
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/settings/serverInfo": {
"get": {
"description": "获取JSON",
"tags": [
"系统信息"
],
"summary": "系统信息",
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"$ref": "#/definitions/app.Response"
}
}
}
}
},
"/api/v1/sys/tables/info": {
"put": {
"security": [
@@ -2152,6 +2222,67 @@ var doc = `{
}
}
},
"/api/v1/sysfiledir": {
"post": {
"description": "获取JSON",
"consumes": [
"application/json"
],
"tags": [
"SysFileDir"
],
"summary": "添加SysFileDir",
"parameters": [
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/models.SysFileDir"
}
}
],
"responses": {
"200": {
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/system/setting": {
"post": {
"description": "获取JSON",
"tags": [
"系统信息"
],
"summary": "更新或提交系统信息",
"parameters": [
{
"description": "body",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/models.SysUser"
}
}
],
"responses": {
"200": {
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/sysuser/{userId}": {
"put": {
"description": "获取JSON",
@@ -2837,6 +2968,58 @@ var doc = `{
}
}
},
"models.SysFileDir": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysFileDir"
}
},
"createBy": {
"description": "创建人",
"type": "string"
},
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"deletedAt": {
"type": "string"
},
"id": {
"type": "integer"
},
"label": {
"description": "名称",
"type": "string"
},
"pId": {
"description": "父id",
"type": "integer"
},
"params": {
"type": "string"
},
"path": {
"type": "string"
},
"sort": {
"description": "排序",
"type": "integer"
},
"updateBy": {
"description": "编辑人",
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"models.SysOperLog": {
"type": "object",
"properties": {
@@ -3133,6 +3316,21 @@ var doc = `{
"edit": {
"type": "boolean"
},
"fkCol": {
"type": "array",
"items": {
"$ref": "#/definitions/tools.SysColumns"
}
},
"fkLableId": {
"type": "integer"
},
"fkLableName": {
"type": "string"
},
"fkTableName": {
"type": "integer"
},
"goField": {
"type": "string"
},