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