fix: UDM导入结果直接返回信息
This commit is contained in:
@@ -607,7 +607,7 @@ func (s *UdmUserApi) UdmAuthUserImport(w http.ResponseWriter, r *http.Request) {
|
||||
go s.authUser.InsertTxt(neId, data)
|
||||
}
|
||||
}
|
||||
ctx.JSON(w, 200, result.OkData(data))
|
||||
ctx.JSON(w, 200, result.OkMsg(data))
|
||||
}
|
||||
|
||||
// UDM签约用户
|
||||
@@ -1197,5 +1197,5 @@ func (s *UdmUserApi) UdmSubUserImport(w http.ResponseWriter, r *http.Request) {
|
||||
go s.subUser.InsertTxt(neId, data)
|
||||
}
|
||||
}
|
||||
ctx.JSON(w, 200, result.OkData(data))
|
||||
ctx.JSON(w, 200, result.OkMsg(data))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user