Commit 7b66e1b6 authored by youjie's avatar youjie

绑定

parent 8d7d9583
...@@ -296,10 +296,10 @@ export default { ...@@ -296,10 +296,10 @@ export default {
uni.removeStorageSync('jzTravelOpenId'); uni.removeStorageSync('jzTravelOpenId');
} }
},(err) => { },(err) => {
uni.showToast({ // uni.showToast({
title: err.message, // title: err.message,
icon: "none", // icon: "none",
}); // });
} }
); );
}, },
......
...@@ -439,6 +439,7 @@ ...@@ -439,6 +439,7 @@
} else { } else {
that.sharejump(); //4-9新加 that.sharejump(); //4-9新加
this.handleChengShuang(); this.handleChengShuang();
this.SetMemberBindCustomer()
} }
// #endif // #endif
...@@ -608,6 +609,27 @@ ...@@ -608,6 +609,27 @@
} }
}, },
methods: { methods: {
SetMemberBindCustomer(){
let that = this;
that.request2({
url: "/api/MemberUser/SetMemberBindCustomer",
data: {
Id: that.u.UserId,
CustomerOpenId: uni.getStorageSync('jzTravelOpenId')
},
},
(res) => {
if (res.resultCode == 1) {
uni.removeStorageSync('jzTravelOpenId');
}
},(err) => {
// uni.showToast({
// title: err.message,
// icon: "none",
// });
}
);
},
getunilogin(res) { getunilogin(res) {
let that = this; let that = this;
//静默登录操作 //静默登录操作
......
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