fix: UDM用户导出数据查询失败

This commit is contained in:
TsMask
2023-10-13 10:33:12 +08:00
parent 4100e07a28
commit 62e140127e

View File

@@ -506,7 +506,7 @@ func (s *UdmUserApi) UdmAuthUserExport(w http.ResponseWriter, r *http.Request) {
return
}
neId := "-"
neId := ""
list := s.authUser.List(model.UdmAuthUser{NeID: neId})
// 文件名
fileName := fmt.Sprintf("OMC_AUTH_USER_EXPORT_%s_%d.%s", neId, time.Now().UnixMilli(), body.Type)
@@ -1101,7 +1101,7 @@ func (s *UdmUserApi) UdmSubUserExport(w http.ResponseWriter, r *http.Request) {
return
}
neId := "-"
neId := ""
list := s.subUser.List(model.UdmSubUser{NeID: neId})
// 文件名
fileName := fmt.Sprintf("OMC_AUTH_USER_EXPORT_%s_%d.%s", neId, time.Now().UnixMilli(), body.Type)