feat: 添加抢先服玩家3天未登录自动降级功能
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
修复数据包处理中UserID为0的问题 优化解包失败时的错误处理格式 添加设置用户部门ID的服务方法
This commit is contained in:
@@ -74,6 +74,7 @@ func (s *ServerService) GetPort(DepartmentID uint) gdb.List {
|
||||
var res gdb.Result
|
||||
m := cool.DBM(s.Model).Where("is_open", 1).Fields("ip", "port", "online_id", "is_vip", "name")
|
||||
if DepartmentID != 1 {
|
||||
|
||||
res, _ = m.All()
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user