This commit is contained in:
小蚂蚁云
2026-10-26 08:46:20 +08:00
parent 276740924a
commit 69f5c1767d
26 changed files with 259 additions and 121 deletions
+1 -1
View File
@@ -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 {