This commit is contained in:
lu.bai
2022-11-24 22:47:24 +08:00
parent f6a161d52f
commit 71d0135d6f
3213 changed files with 583576 additions and 216 deletions

View File

@@ -0,0 +1,6 @@
package service
type ForbidUserInfo struct {
UserId uint32
ForbidEndTime uint64
}

View File

@@ -2,7 +2,6 @@ package service
import (
"hk4e/dispatch/dao"
"hk4e/dispatch/entity/gm"
)
type Service struct {
@@ -37,7 +36,7 @@ func (f *Service) UserPasswordChange(uid uint32) bool {
}
// 封号
func (f *Service) ForbidUser(info *gm.ForbidUserInfo) bool {
func (f *Service) ForbidUser(info *ForbidUserInfo) bool {
if info == nil {
return false
}