init: web_hgdjc_server

This commit is contained in:
2026-11-07 10:46:18 +08:00
commit b2ff6ac8ff
707 changed files with 147645 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package usermod
import (
"videoweb/pub/pubdef"
)
func (user *User) GetID() int64 {
return user.Id
}
func (user *User) GetStatus() pubdef.UserStatus {
return user.Status
}
// CheckCoinEnough 检查金币是否足够扣除
func (user *User) CheckCoinEnough(need int64) bool {
return user.Recharge >= need
}