1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-02 11:00:37 +08:00
parent aa58dfdbb2
commit ff675f9430
6 changed files with 16 additions and 12 deletions

View File

@@ -80,7 +80,12 @@ func Init(isGame bool) {
}
// 注册命令处理函数
glog.Debug(context.Background(), "注册方法", cmd, method.Name)
if cool.Config.ServerInfo.IsDebug != 0 {
fmt.Println("注册方法", cmd, method.Name)
}
cmdInfo := cool.Cmd{
Func: methodValue,
Req: methodValue.Type().In(0).Elem(),