|
@@ -694,17 +694,17 @@ export default {
|
|
});
|
|
});
|
|
// 根据微信授权更新kip会员信息
|
|
// 根据微信授权更新kip会员信息
|
|
kipUpdateWxMember(wxProfileParams)
|
|
kipUpdateWxMember(wxProfileParams)
|
|
- .then((updateResp) => {
|
|
|
|
|
|
+ .then((updateRespResult) => {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
- const updateRespResult = updateResp.data;
|
|
|
|
|
|
+ // const updateRespResult = updateResp.data;
|
|
if (updateRespResult.code === '000000') {
|
|
if (updateRespResult.code === '000000') {
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '正在加载',
|
|
title: '正在加载',
|
|
});
|
|
});
|
|
kipGetUserDetail()
|
|
kipGetUserDetail()
|
|
- .then((resp) => {
|
|
|
|
|
|
+ .then((result) => {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
- const result = resp.data;
|
|
|
|
|
|
+ // const result = resp.data;
|
|
if (result.code === '000000' && result.data) {
|
|
if (result.code === '000000' && result.data) {
|
|
// 存储用户信息
|
|
// 存储用户信息
|
|
const member = result.data;
|
|
const member = result.data;
|
|
@@ -754,9 +754,9 @@ export default {
|
|
mask: true,
|
|
mask: true,
|
|
});
|
|
});
|
|
kipGetUserDetail()
|
|
kipGetUserDetail()
|
|
- .then((resp) => {
|
|
|
|
|
|
+ .then((result) => {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
- const result = resp.data;
|
|
|
|
|
|
+ // const result = resp.data;
|
|
if (result.code === '000000' && result.data) {
|
|
if (result.code === '000000' && result.data) {
|
|
// 存储用户信息
|
|
// 存储用户信息
|
|
const member = result.data;
|
|
const member = result.data;
|
|
@@ -809,9 +809,9 @@ export default {
|
|
params.regMemberSourceOriginalParams = JSON.stringify(utmStr);
|
|
params.regMemberSourceOriginalParams = JSON.stringify(utmStr);
|
|
}
|
|
}
|
|
crmSaveMemberSource(params)
|
|
crmSaveMemberSource(params)
|
|
- .then((resp) => {
|
|
|
|
- if (resp.data.code !== 0) {
|
|
|
|
- console.error(resp.data.msg);
|
|
|
|
|
|
+ .then((data) => {
|
|
|
|
+ if (data.code !== 0) {
|
|
|
|
+ console.error(data.msg);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
@@ -824,8 +824,8 @@ export default {
|
|
privacyStatus: 1,
|
|
privacyStatus: 1,
|
|
};
|
|
};
|
|
kipAgreementSave(params)
|
|
kipAgreementSave(params)
|
|
- .then((resp) => {
|
|
|
|
- const result = resp.data;
|
|
|
|
|
|
+ .then((result) => {
|
|
|
|
+ // const result = resp.data;
|
|
console.log('=>[kipAgreementSave]: ', result);
|
|
console.log('=>[kipAgreementSave]: ', result);
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|