fix :dir insert bug
This commit is contained in:
1 parent
128e34ab04
commit
5a793b9e34
5 files changed
+543
-6
No files matched your search
@@ -1629,6 +1629,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -1861,6 +1897,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -2134,6 +2204,67 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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",
|
||||
@@ -2819,6 +2950,58 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
@@ -3115,6 +3298,21 @@
|
||||
"edit": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"fkCol": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/tools.SysColumns"
|
||||
}
|
||||
},
|
||||
"fkLableId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"fkLableName": {
|
||||
"type": "string"
|
||||
},
|
||||
"fkTableName": {
|
||||
"type": "integer"
|
||||
},
|
||||
"goField": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user