Browse Source

update

master
dengbiao 2 months ago
parent
commit
0d066ec97a
5 changed files with 1141 additions and 3267 deletions
  1. +3
    -3
      app/hdl/hdl_login.go
  2. +419
    -1244
      docs/docs.go
  3. +411
    -1198
      docs/swagger.json
  4. +307
    -821
      docs/swagger.yaml
  5. +1
    -1
      go.mod

+ 3
- 3
app/hdl/hdl_login.go View File

@@ -18,9 +18,9 @@ import (
// @Description 登入 // @Description 登入
// @Accept json // @Accept json
// @Produce json // @Produce json
// @Param req body md2.LoginReq true "用户名密码"
// @Success 200 {object} md2.LoginResponse "token"
// @Failure 400 {object} md2.Response "具体错误"
// @Param req body md.LoginReq true "用户名密码"
// @Success 200 {object} md.LoginResponse "token"
// @Failure 400 {object} md.Response "具体错误"
// @Router /admin/login [post] // @Router /admin/login [post]
func Login(c *gin.Context) { func Login(c *gin.Context) {
var req md.LoginReq var req md.LoginReq


+ 419
- 1244
docs/docs.go
File diff suppressed because it is too large
View File


+ 411
- 1198
docs/swagger.json
File diff suppressed because it is too large
View File


+ 307
- 821
docs/swagger.yaml
File diff suppressed because it is too large
View File


+ 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.2
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20240816151818-a491f294f782
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
github.com/boombuler/barcode v1.0.1 github.com/boombuler/barcode v1.0.1


Loading…
Cancel
Save