Browse Source

修改授权地址

lex 1 year ago
parent
commit
516a330574
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/state.ts

+ 2 - 2
src/state.ts

@@ -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);
   }
 };