新增了接口

This commit is contained in:
2025-06-13 18:24:51 +08:00
parent 05847c3d76
commit ec7df630f8
3 changed files with 110 additions and 1 deletions
+7 -1
View File
@@ -1,7 +1,8 @@
package requests
type PublicRequest struct {
Login // 登陆
Login // 登陆
LoginProgram // 登陆-小程序
}
// Login 登陆
@@ -21,3 +22,8 @@ type Login struct {
Address string `json:"address" form:"address" label:"地址"`
Title string `json:"title" form:"title" label:"职称"`
}
// LoginProgram 登陆-小程序
type LoginProgram struct {
Token string `json:"token" form:"token" validate:"required" label:"token"`
}