fix: AMF Event导出cm-state类型status类型转换错误
This commit is contained in:
@@ -178,7 +178,7 @@ func (s *AMFController) UEExport(c *gin.Context) {
|
|||||||
timeStr = v.(string)
|
timeStr = v.(string)
|
||||||
}
|
}
|
||||||
if v, ok := eventJSON["status"]; ok && v != nil {
|
if v, ok := eventJSON["status"]; ok && v != nil {
|
||||||
eventResult = v.(string)
|
eventResult = fmt.Sprint(v)
|
||||||
for _, v := range dictUEEventCmState {
|
for _, v := range dictUEEventCmState {
|
||||||
if eventResult == v.DictValue {
|
if eventResult == v.DictValue {
|
||||||
eventResult = i18n.TKey(language, v.DictLabel)
|
eventResult = i18n.TKey(language, v.DictLabel)
|
||||||
|
|||||||
Reference in New Issue
Block a user