Commit 24390e3a authored by zhengke's avatar zhengke

修改

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