fix: UDM签约设置static_ip字段
This commit is contained in:
1 parent
d4cfb6297a
commit
ea01504e6c
2 files changed
+2
No files matched your search
@@ -291,6 +291,7 @@ func (r *RepoUdmSubUser) Update(neID string, authUser model.UdmSubUser) int64 {
|
||||
if authUser.EpsDat != "" && authUser.EpsDat != user.EpsDat {
|
||||
user.EpsDat = authUser.EpsDat
|
||||
}
|
||||
user.StaticIp = authUser.StaticIp
|
||||
|
||||
results, err := datasource.DefaultDB().Table("u_sub_user").Where("imsi = ? and ne_id = ?", user.Imsi, user.NeID).Update(user)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user