zbH5/public/static/js/config.js
2025-02-22 21:34:45 +08:00

25 lines
708 B
JavaScript

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