fix: ims online user issue
This commit is contained in:
@@ -437,7 +437,7 @@ func GetIMSUEInfoFromNF(w http.ResponseWriter, r *http.Request) {
|
||||
if tenantID == "" {
|
||||
var ueInfos TenantImsUEInfoResponse
|
||||
_ = json.Unmarshal(resp.Body(), &ueInfos)
|
||||
for i := 0; i < len(response.Data); i++ {
|
||||
for i := 0; i < len(ueInfos.Data); i++ {
|
||||
where = fmt.Sprintf("status='1' and tenancy_type='IMSI' and '%s' like tenancy_key", ueInfos.Data[i].IMSI)
|
||||
tenantID, _ = dborm.XormGetSingleColStringByWhere("sys_tenant", "parent_id", where)
|
||||
where = fmt.Sprintf("status='1' and tenant_id='%s'", tenantID)
|
||||
|
||||
Reference in New Issue
Block a user