Commit 24390e3a authored by zhengke's avatar zhengke

修改

parent fcafa1c7
......@@ -380,12 +380,17 @@
success: function (res) {
if (res.resultCode === 1) {
layer.msg(res.message);
let customerId=res.data.customerId;
let accountId=res.data.accountId;
let token=res.data.token;
let secretKey=res.data.secretKey;
window.location.href = 'http://activity.oytour.com/html/GT_activities.html?customerId='+customerId+'&accountId='+accountId+'&token='+token+'&secretKey='+secretKey+'&platform=H5';
//window.location.href = 'http://127.0.0.1:5500/html/GT_activities.html?customerId='+customerId+'&accountId='+accountId+'&token='+token+'&secretKey='+secretKey+'&platform=H5';
//存localstorage
let userInfo ={
customerId: res.data.customerId,
accountId: res.data.accountId,
token: res.data.token,
secretKey: res.data.secretKey,
}
localStorage.userInfo = JSON.stringify(userInfo)
window.location.href = 'http://activity.oytour.com/html/GT_activities.html';
//window.location.href = 'http://127.0.0.1:5500/html/GT_activities.html';
}else{
layer.msg(res.message);
}
......
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