dengbiao 4 months ago
parent
commit
6b22403bac
4 changed files with 22 additions and 5 deletions
  1. +8
    -2
      docs/docs.go
  2. +8
    -2
      docs/swagger.json
  3. +5
    -0
      docs/swagger.yaml
  4. +1
    -1
      go.mod

+ 8
- 2
docs/docs.go View File

@@ -730,11 +730,17 @@ const docTemplate = `{
"username" "username"
], ],
"properties": { "properties": {
"code": {
"type": "string",
"example": "验证码"
},
"password": { "password": {
"type": "string"
"type": "string",
"example": "登录密码"
}, },
"username": { "username": {
"type": "string"
"type": "string",
"example": "登录账号"
} }
} }
}, },


+ 8
- 2
docs/swagger.json View File

@@ -722,11 +722,17 @@
"username" "username"
], ],
"properties": { "properties": {
"code": {
"type": "string",
"example": "验证码"
},
"password": { "password": {
"type": "string"
"type": "string",
"example": "登录密码"
}, },
"username": { "username": {
"type": "string"
"type": "string",
"example": "登录账号"
} }
} }
}, },


+ 5
- 0
docs/swagger.yaml View File

@@ -45,9 +45,14 @@ definitions:
type: object type: object
md.LoginReq: md.LoginReq:
properties: properties:
code:
example: 验证码
type: string
password: password:
example: 登录密码
type: string type: string
username: username:
example: 登录账号
type: string type: string
required: required:
- password - password


+ 1
- 1
go.mod View File

@@ -5,7 +5,7 @@ go 1.18
//replace code.fnuoos.com/zhimeng/model.git => E:/company/ad/models //replace code.fnuoos.com/zhimeng/model.git => E:/company/ad/models


require ( require (
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20240816151818-a491f294f782
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20240817100708-dde162209cee
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/boombuler/barcode v1.0.1 github.com/boombuler/barcode v1.0.1
github.com/dchest/uniuri v0.0.0-20200228104902-7aecb25e1fe5 github.com/dchest/uniuri v0.0.0-20200228104902-7aecb25e1fe5


Loading…
Cancel
Save