|
@@ -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',
|