diff --git a/features/udm_user/api_udm_user.go b/features/udm_user/api_udm_user.go index 2a61b010..a6167517 100644 --- a/features/udm_user/api_udm_user.go +++ b/features/udm_user/api_udm_user.go @@ -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)) }