fix: 购物车跳转修改
This commit is contained in:
parent
777e90d62b
commit
3a945a5259
@ -6,18 +6,24 @@ window.config = {
|
||||
getCarProductLink: ({
|
||||
token,
|
||||
refreshToken,
|
||||
departmentId = 36,
|
||||
eId = 0,
|
||||
// departmentId = 36,
|
||||
// eId = 0,
|
||||
activityId,
|
||||
}) => {
|
||||
// let url = ""
|
||||
// if (activityId.includes("?")) {
|
||||
// url = `${activityId}&departmentId=${departmentId}&eId=${eId}`
|
||||
// } else {
|
||||
// url = `${activityId}?eId=${eId}`
|
||||
// }
|
||||
// console.log("url", url)
|
||||
// debugger
|
||||
return `https://web.ceniu.sztg.com/setTokenAndRedirect.html?token=${encodeURIComponent(
|
||||
token
|
||||
)}&refreshToken=${encodeURIComponent(
|
||||
refreshToken
|
||||
)}&redirect=${encodeURIComponent(
|
||||
`https://web.ceniu.sztg.com/#/index/shopping?departmentId=${departmentId}&eId=${eId}&activityId=${activityId}`
|
||||
)}`;
|
||||
)}&redirect=${encodeURIComponent(activityId)}`
|
||||
}, // 购物车产品地址
|
||||
mobileRegister:
|
||||
"https://web.ceniu.sztg.com/#/login?pageType=mobileRegister&redirect=", // 用户注册地址
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user