拼写错误修改 updata->update regist->register 更新需更新数据库 建议更新数据库文件 数据库将单表数据录入 方便选择性更新

This commit is contained in:
QM303176530
2020-04-02 22:31:48 +08:00
parent 1c30ae1080
commit f545048e60
17 changed files with 47 additions and 174 deletions
+5 -5
View File
@@ -475,7 +475,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStuct"
}
}
],
@@ -489,7 +489,7 @@ var doc = `{
}
}
},
"/base/regist": {
"/base/register": {
"post": {
"produces": [
"application/json"
@@ -1256,7 +1256,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStuct"
}
}
],
@@ -1292,7 +1292,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStuct"
}
}
],
@@ -1752,7 +1752,7 @@ var doc = `{
}
}
},
"api.RegistAndLoginStuct": {
"api.RegisterAndLoginStuct": {
"type": "object",
"properties": {
"captcha": {
+5 -5
View File
@@ -458,7 +458,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStuct"
}
}
],
@@ -472,7 +472,7 @@
}
}
},
"/base/regist": {
"/base/register": {
"post": {
"produces": [
"application/json"
@@ -1239,7 +1239,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStuct"
}
}
],
@@ -1275,7 +1275,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStuct"
}
}
],
@@ -1735,7 +1735,7 @@
}
}
},
"api.RegistAndLoginStuct": {
"api.RegisterAndLoginStuct": {
"type": "object",
"properties": {
"captcha": {
+5 -5
View File
@@ -52,7 +52,7 @@ definitions:
id:
type: number
type: object
api.RegistAndLoginStuct:
api.RegisterAndLoginStuct:
properties:
captcha:
type: string
@@ -580,7 +580,7 @@ paths:
name: data
required: true
schema:
$ref: '#/definitions/api.RegistAndLoginStuct'
$ref: '#/definitions/api.RegisterAndLoginStuct'
type: object
produces:
- application/json
@@ -592,7 +592,7 @@ paths:
summary: 用户登录
tags:
- Base
/base/regist:
/base/register:
post:
parameters:
- description: 用户注册接口
@@ -1058,7 +1058,7 @@ paths:
name: data
required: true
schema:
$ref: '#/definitions/api.RegistAndLoginStuct'
$ref: '#/definitions/api.RegisterAndLoginStuct'
type: object
produces:
- application/json
@@ -1080,7 +1080,7 @@ paths:
name: data
required: true
schema:
$ref: '#/definitions/api.RegistAndLoginStuct'
$ref: '#/definitions/api.RegisterAndLoginStuct'
type: object
produces:
- application/json