初始化2

This commit is contained in:
2026-07-10 17:33:33 +08:00
parent b51ee98afa
commit 94f6ecf901
59 changed files with 3893 additions and 980 deletions

View File

@@ -7,6 +7,12 @@ type LoginRequest struct {
Password string `json:"password" binding:"required"` // 密码, 必填
}
// AppLoginRequest 应用登录请求(用户名+appId)
type AppLoginRequest struct {
Username string `json:"username" binding:"required"` // 用户名, 必填
AppID string `json:"app_id" binding:"required"` // 开放平台应用ID, 必填
}
// RegisterRequest 注册请求
type RegisterRequest struct {
Username string `json:"username" binding:"required,min=3,max=64"` // 用户名, 3-64字符