Commit 27128eef by 张卓

第三方跳转调接口提示

parent 74aeaa4b
......@@ -29,6 +29,7 @@ export default {
}
},
async onLoad(options){
console.log(options,66667777777)
if(options.scene) {
//扫码
let data = await this.getParams(options.scene);
......@@ -124,8 +125,12 @@ export default {
wxAvatarUrl: this.$store.state.userInfo.avatarUrl,
};
login.getSsoBcakUrl(op).then((res) => {
this.link = res.data.data;
console.log(res,this.link,555444)
if(res.data.code == '200') {
this.link = res.data.data;
}else {
wx.showToast({ title: res.data.msg, icon: "none" });
}
});
},
getParams(options) {
......
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