|
@@ -100,13 +100,13 @@ export const goAliAuth = (alipayAppId: string, urlString?: string) => {
|
|
|
const appid = alipayAppId || '2021004100630808';
|
|
|
// 开发环境
|
|
|
if (import.meta.env.DEV) {
|
|
|
- let url = `https://mstuonline.dayaedu.com/getAliCode?app_id=${appid}&state=STATE&redirect_uri=${urlNow}`;
|
|
|
+ let url = `https://test.lexiaoya.cn/getAliCode?app_id=${appid}&state=STATE&redirect_uri=${urlNow}`;
|
|
|
window.location.replace(url);
|
|
|
}
|
|
|
|
|
|
// 生产环境
|
|
|
if (import.meta.env.PROD) {
|
|
|
- goAuth(alipayAppId, urlString);
|
|
|
+ alipayAuth(alipayAppId, urlString);
|
|
|
}
|
|
|
};
|
|
|
|