修改广播逻辑

This commit is contained in:
1
2025-11-18 20:52:04 +00:00
parent 4ab6b726a7
commit 6c32a5d7ac
19 changed files with 100 additions and 218 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/tnnmigga/enum"
)
// ErrorCode 错误码枚举类型
// ErrorCode 错误码枚举类型 -1 就是不回包0是默认包
type ErrorCode int32
func (t ErrorCode) Code() string { return fmt.Sprintf("%d", t) }