fix: 删除初始化用户界面及接口 (#874)

This commit is contained in:
ssongliu
2023-05-05 03:56:52 +00:00
committed by GitHub
parent 3ac64d65b6
commit 1c06b7b608
12 changed files with 18 additions and 370 deletions
+6 -60
View File
@@ -799,48 +799,6 @@ var doc = `{
}
}
},
"/auth/init": {
"post": {
"description": "初始化用户",
"consumes": [
"application/json"
],
"tags": [
"Auth"
],
"summary": "Init user",
"parameters": [
{
"description": "request",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.InitUser"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/isfirst": {
"get": {
"description": "判断是否为首次登录",
"tags": [
"Auth"
],
"summary": "Check is First login",
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/issafety": {
"get": {
"description": "获取系统安全登录状态",
@@ -11073,21 +11031,6 @@ var doc = `{
}
}
},
"dto.InitUser": {
"type": "object",
"required": [
"name",
"password"
],
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
}
}
},
"dto.InspectReq": {
"type": "object",
"properties": {
@@ -11987,7 +11930,8 @@ var doc = `{
],
"properties": {
"description": {
"type": "string"
"type": "string",
"maxLength": 256
},
"from": {
"type": "string",
@@ -12006,7 +11950,8 @@ var doc = `{
"type": "object",
"properties": {
"description": {
"type": "string"
"type": "string",
"maxLength": 256
},
"from": {
"type": "string"
@@ -12043,7 +11988,8 @@ var doc = `{
],
"properties": {
"description": {
"type": "string"
"type": "string",
"maxLength": 256
},
"id": {
"type": "integer"
+6 -60
View File
@@ -785,48 +785,6 @@
}
}
},
"/auth/init": {
"post": {
"description": "初始化用户",
"consumes": [
"application/json"
],
"tags": [
"Auth"
],
"summary": "Init user",
"parameters": [
{
"description": "request",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.InitUser"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/isfirst": {
"get": {
"description": "判断是否为首次登录",
"tags": [
"Auth"
],
"summary": "Check is First login",
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/issafety": {
"get": {
"description": "获取系统安全登录状态",
@@ -11059,21 +11017,6 @@
}
}
},
"dto.InitUser": {
"type": "object",
"required": [
"name",
"password"
],
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
}
}
},
"dto.InspectReq": {
"type": "object",
"properties": {
@@ -11973,7 +11916,8 @@
],
"properties": {
"description": {
"type": "string"
"type": "string",
"maxLength": 256
},
"from": {
"type": "string",
@@ -11992,7 +11936,8 @@
"type": "object",
"properties": {
"description": {
"type": "string"
"type": "string",
"maxLength": 256
},
"from": {
"type": "string"
@@ -12029,7 +11974,8 @@
],
"properties": {
"description": {
"type": "string"
"type": "string",
"maxLength": 256
},
"id": {
"type": "integer"
+3 -37
View File
@@ -904,16 +904,6 @@ definitions:
- sourceID
- targetName
type: object
dto.InitUser:
properties:
name:
type: string
password:
type: string
required:
- name
- password
type: object
dto.InspectReq:
properties:
id:
@@ -1510,6 +1500,7 @@ definitions:
dto.SnapshotCreate:
properties:
description:
maxLength: 256
type: string
from:
enum:
@@ -1526,6 +1517,7 @@ definitions:
dto.SnapshotImport:
properties:
description:
maxLength: 256
type: string
from:
type: string
@@ -1548,6 +1540,7 @@ definitions:
dto.UpdateDescription:
properties:
description:
maxLength: 256
type: string
id:
type: integer
@@ -3553,33 +3546,6 @@ paths:
summary: Check System isDemo
tags:
- Auth
/auth/init:
post:
consumes:
- application/json
description: 初始化用户
parameters:
- description: request
in: body
name: request
required: true
schema:
$ref: '#/definitions/dto.InitUser'
responses:
"200":
description: ""
summary: Init user
tags:
- Auth
/auth/isfirst:
get:
description: 判断是否为首次登录
responses:
"200":
description: ""
summary: Check is First login
tags:
- Auth
/auth/issafety:
get:
description: 获取系统安全登录状态