30 lines
859 B
JavaScript
30 lines
859 B
JavaScript
window.config = {
|
|
loginUrl: "https://web.ceniu.sztg.com/#/login",
|
|
VConsole: true,
|
|
userIdList: [],
|
|
shareEnv: "production",
|
|
getCarProductLink: ({
|
|
token,
|
|
refreshToken,
|
|
// 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(activityId)}`
|
|
}, // 购物车产品地址
|
|
mobileRegister:
|
|
"https://web.ceniu.sztg.com/#/login?pageType=mobileRegister&redirect=", // 用户注册地址
|
|
}
|