修改接口

parent 518b1348
......@@ -4,7 +4,7 @@ export const testLogin = params => instance.post("/user/appUser/smsLogin", param
export const getSmsCode = params => instance.postForm("/company/user/getSmsCode", params);
// 新华登录
export const xinhuaMpLogin = params => instance.post("/company/user/xinhua/mpLogin", params);
export const xinhuaMpLogin = params => instance.post("/user/appUser/xinhua/mpLogin", params);
// B端-获取登录用户
export const getLoginUserApi = params => instance.post("/company/user/getLoginUser", params);
......
......@@ -23,7 +23,7 @@ const login = () => {
xma.xh.getUserProfile({
range: ["ACCOUNT", "MOBILE"],
success(info) {
xinhuaMpLogin({ phone: info.data.uMobile })
xinhuaMpLogin({ encryptedData: info.data.uMobile,userType:'business' })
.then(data => {
res.value = data;
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment