mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
refactor
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user