fix: IMS-CDR原因码字典补充

This commit is contained in:
TsMask committed 2025-04-18 17:39:09 +08:00
1 parent b2f81ead9f
commit 8bb240128e
5 files changed
+34 -1

No files matched your search

@@ -108,7 +108,7 @@ func (r CDREventIMS) ExportXlsx(rows []model.CDREventIMS, fileName, language str
duration = fmt.Sprintf("%ds", parse.Number(v))
}
// 呼叫结果 非短信都有code作为结果 sms短信都ok
callResult := "Success"
callResult := "Other"
if v, ok := cdrJSON["cause"]; ok && v != nil && callType != "sms" {
cause := fmt.Sprint(v)
for _, v := range dictCDRSipCode {