This commit is contained in:
小蚂蚁云
2026-10-26 08:45:28 +08:00
parent 3bd19dec52
commit 388cc4c79b
26 changed files with 824 additions and 233 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 {