增加验证码功能

This commit is contained in:
pixel
2020-03-17 17:18:47 +08:00
parent 7b1d7ef6b1
commit 2d334baea5
5 changed files with 2 additions and 74 deletions
+1 -25
View File
@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2020-03-17 14:07:14.3860547 +0800 CST m=+0.077792301
// 2020-03-17 15:18:08.5115326 +0800 CST m=+0.098737601
package docs
@@ -421,18 +421,6 @@ var doc = `{
"base"
],
"summary": "生成验证码",
"parameters": [
{
"description": "生成验证码",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
@@ -460,18 +448,6 @@ var doc = `{
"base"
],
"summary": "生成验证码图片路径",
"parameters": [
{
"description": "生成验证码图片路径",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
-24
View File
@@ -404,18 +404,6 @@
"base"
],
"summary": "生成验证码",
"parameters": [
{
"description": "生成验证码",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
@@ -443,18 +431,6 @@
"base"
],
"summary": "生成验证码图片路径",
"parameters": [
{
"description": "生成验证码图片路径",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
-16
View File
@@ -544,14 +544,6 @@ paths:
post:
consumes:
- application/json
parameters:
- description: 生成验证码
in: body
name: data
required: true
schema:
$ref: '#/definitions/modelInterface.PageInfo'
type: object
produces:
- application/json
responses:
@@ -568,14 +560,6 @@ paths:
get:
consumes:
- application/json
parameters:
- description: 生成验证码图片路径
in: body
name: data
required: true
schema:
$ref: '#/definitions/modelInterface.PageInfo'
type: object
produces:
- application/json
responses: