Commit 8d7d9583 authored by youjie's avatar youjie

no message

parent f91508c6
...@@ -275,27 +275,34 @@ export default { ...@@ -275,27 +275,34 @@ export default {
//不是相亲模式的时候去更新头像和昵称 //不是相亲模式的时候去更新头像和昵称
that.updateuserinfo(that.msg); //更新用户头像 that.updateuserinfo(that.msg); //更新用户头像
} }
that.request2({ if(uni.getStorageSync('jzTravelOpenId')){
url: "/api/MemberUser/SetMemberBindCustomer", that.SetMemberBindCustomer()
data: { }
Id: that.msg.Id,
CustomerOpenId: uni.getStorageSync('jzTravelOpenId')
},
},
(res) => {
if (res.resultCode == 1) {
}
},(err) => {
uni.showToast({
title: err.message,
icon: "none",
});
}
);
} }
} }
); );
}, },
SetMemberBindCustomer(){
let that = this;
that.request2({
url: "/api/MemberUser/SetMemberBindCustomer",
data: {
Id: that.msg.Id,
CustomerOpenId: uni.getStorageSync('jzTravelOpenId')
},
},
(res) => {
if (res.resultCode == 1) {
uni.removeStorageSync('jzTravelOpenId');
}
},(err) => {
uni.showToast({
title: err.message,
icon: "none",
});
}
);
},
updateuserinfo(msg) { updateuserinfo(msg) {
this.request2( this.request2(
{ {
......
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