Initial commit: web_hghl_server

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 16:28:14 +08:00
co-authored by Claude Opus 4.7
commit 65fca60622
653 changed files with 135901 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package srv_user
import (
"videoweb/pub/models/usermod"
"videoweb/pub/pubdef"
)
type UserListReq struct {
pubdef.Page
Id *int64 `json:"id"` // 用户ID
NickName string `json:"nickName"` // 昵称(模糊)
Status *pubdef.UserStatus `json:"status"` // 状态
}
type UserListResp struct {
Total int64 `json:"total"`
List usermod.UserList `json:"list"`
}
type UserUpdateReq struct {
Id int64 `json:"id" binding:"required"`
Param usermod.UserUpdate `json:"param"`
}