更新
This commit is contained in:
@@ -241,7 +241,7 @@ func SerializeMapOnRead(ctx context.Context, data map[string]any, fieldDict map[
|
||||
|
||||
// LogTypeText 操作日志类型转中文名
|
||||
//
|
||||
// 该字段存储的是注解常量值(1=新增…40=解绑),与字典编码体系不一致,
|
||||
// 该字段存储的是标签常量值(1=新增…40=解绑),与字典编码体系不一致,
|
||||
// 故使用静态映射表而非字典;未知值回退原数字。
|
||||
func LogTypeText(v int) string {
|
||||
if n, ok := consts.LogTypeNames[v]; ok {
|
||||
|
||||
Reference in New Issue
Block a user