fix: UDM用户数据响应信息

This commit is contained in:
TsMask
2023-11-28 09:37:46 +08:00
parent 08b4174b83
commit 05d94572f4
3 changed files with 16 additions and 18 deletions

View File

@@ -40,10 +40,8 @@ func (r *UDMAuthImpl) authDataByRedis(imsi, neID string) []model.UDMAuth {
continue
}
status := "0"
if _, ok := m["auth_success"]; ok {
status = "1"
}
status := "1" // 默认给1
amf := ""
if v, ok := m["amf"]; ok {
amf = strings.Replace(v, "\r\n", "", 1)