修改广播逻辑
This commit is contained in:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user