fix: 用户签约数据eps-dat必定九段
This commit is contained in:
@@ -90,8 +90,11 @@ func redisUdmSubUserList() []model.UdmSubUser {
|
|||||||
}
|
}
|
||||||
// 1,64,24,65,def_eps,1,2,010200000000,-
|
// 1,64,24,65,def_eps,1,2,010200000000,-
|
||||||
if v, ok := m["eps-dat"]; ok {
|
if v, ok := m["eps-dat"]; ok {
|
||||||
a.EpsDat = v
|
|
||||||
arr := strings.Split(v, ",")
|
arr := strings.Split(v, ",")
|
||||||
|
if len(arr) > 9 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
a.EpsDat = v
|
||||||
a.EpsFlag = arr[0]
|
a.EpsFlag = arr[0]
|
||||||
a.EpsOdb = arr[1]
|
a.EpsOdb = arr[1]
|
||||||
a.HplmnOdb = arr[2]
|
a.HplmnOdb = arr[2]
|
||||||
|
|||||||
Reference in New Issue
Block a user