Commit 7b66e1b6 authored by youjie's avatar youjie

绑定

parent 8d7d9583
......@@ -296,10 +296,10 @@ export default {
uni.removeStorageSync('jzTravelOpenId');
}
},(err) => {
uni.showToast({
title: err.message,
icon: "none",
});
// uni.showToast({
// title: err.message,
// icon: "none",
// });
}
);
},
......
......@@ -439,6 +439,7 @@
} else {
that.sharejump(); //4-9新加
this.handleChengShuang();
this.SetMemberBindCustomer()
}
// #endif
......@@ -608,6 +609,27 @@
}
},
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) {
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