fix: AMF Event导出cm-state类型status类型转换错误

This commit is contained in:
TsMask
2024-10-16 18:24:25 +08:00
parent 4897299ba3
commit d06e5507ba

View File

@@ -178,7 +178,7 @@ func (s *AMFController) UEExport(c *gin.Context) {
timeStr = v.(string)
}
if v, ok := eventJSON["status"]; ok && v != nil {
eventResult = v.(string)
eventResult = fmt.Sprint(v)
for _, v := range dictUEEventCmState {
if eventResult == v.DictValue {
eventResult = i18n.TKey(language, v.DictLabel)