This commit is contained in:
2025-06-20 17:13:51 +08:00
parent 1b55403cd6
commit fd0345a034
472 changed files with 52560 additions and 77 deletions

View File

@@ -0,0 +1,20 @@
package v1
import "github.com/gogf/gf/v2/frame/g"
// login 接口请求
type BaseOpenLoginReq struct {
g.Meta `path:"/login" method:"POST"`
Username string `json:"username" p:"username" v:"required"`
Password string `json:"password" p:"password" v:"required"`
CaptchaId string `json:"captchaId" p:"captchaId" v:"required"`
VerifyCode string `json:"verifyCode" p:"verifyCode" v:"required"`
}
// captcha 验证码接口
type BaseOpenCaptchaReq struct {
g.Meta `path:"/captcha" method:"GET"`
Height int `json:"height" in:"query" default:"40"`
Width int `json:"width" in:"query" default:"150"`
}