Jelajahi Sumber

fix:修改后台服务域名

zhaojing 1 tahun lalu
induk
melakukan
c5d6c2f5e1

+ 0 - 1
src/pages/Member/invalid/index.jsx

@@ -31,7 +31,6 @@ export default (props) => {
   const [showFilterIds, setShowFilterIds] = useState([]);
 
   useEffect(() => {
-    debugger;
     var paramObj = {
       criteria: {
         param: searchStr,

+ 1 - 5
src/services/sagacare_service/infomation.js

@@ -9,12 +9,8 @@ function getProjectId() {
 }
 
 function commonParams() {
-  var userObj = UserStorage.getInstance();
-  const user = userObj.getUser();
   var pubname = 'sgadmin';
-  return `openid=${user.id}&pubname=${pubname}&projectId=${getProjectId()}&userId=${
-    user.id
-  }&userName=${user.name}&userPhone=${user.phone}`;
+  return `projectId=${getProjectId()}&pubname=${pubname}`;
 }
 
 // 获取企业信息

+ 2 - 7
src/services/sagacare_service/member.js

@@ -9,12 +9,8 @@ function getProjectId() {
 }
 
 function commonParams() {
-  var userObj = UserStorage.getInstance();
-  const user = userObj.getUser();
   var pubname = 'sgadmin';
-  return `openid=${user.id}&pubname=${pubname}&projectId=${getProjectId()}&userId=${
-    user.id
-  }&userName=${user.name}&userPhone=${user.phone}`;
+  return `projectId=${getProjectId()}&pubname=${pubname}`;
 }
 
 //新增/修改用户
@@ -122,9 +118,8 @@ export async function qrCodeInfo(params, options) {
 
 //获取租户信息
 export async function queryTenantData(params, options) {
-  // /sgadmin/duoduo-service/duoduoenv-service/userNew/qrCodeInfo
   return request(
-    `/xiaojing/user/queryData?userId=${params.userId}&projectId=${params.projectId}&companyId=${params.companyId}`,
+    `/sgadmin/duoduo-service/setup-service/user/queryData?userId=${params.userId}&projectId=${params.projectId}&companyId=${params.companyId}`,
     {
       method: 'GET',
       from: 'sagacare',