lex 2 lat temu
rodzic
commit
13b356081a
2 zmienionych plików z 5 dodań i 4 usunięć
  1. 3 3
      src/views/login/components/pwdLogin.tsx
  2. 2 1
      vite.config.ts

+ 3 - 3
src/views/login/components/pwdLogin.tsx

@@ -42,7 +42,7 @@ export default defineComponent({
     const userStore = useUserStore();
     const formInline = reactive({
       username: '15907121013',
-      password: '123456',
+      password: 'ktyq123456',
       isCaptcha: true
     });
 
@@ -57,8 +57,8 @@ export default defineComponent({
             password,
             loginType: 'password',
             grant_type: 'password',
-            client_id: 'teacher',
-            client_secret: 'teacher'
+            client_id: 'colexiu-teacher',
+            client_secret: 'colexiu-teacher'
           };
 
           try {

+ 2 - 1
vite.config.ts

@@ -12,7 +12,8 @@ function resolve(dir: string) {
 }
 // https://vitejs.dev/config/
 // https://github.com/vitejs/vite/issues/1930 .env
-const proxyUrl = 'https://test.lexiaoya.cn/';
+// const proxyUrl = 'https://dev.kt.colexiu.com/';
+const proxyUrl = 'https://test.lexiaoya.cn';
 export default defineConfig({
   base: './',
   plugins: [