重构为 HTTP SSO 扫码方案并引入 Vue3 前端

移除 Playwright 浏览器自动化,改用 passport/SSO HTTP 接口获取二维码与轮询登录;后端模块化拆分,前端替换为 Vue3 SPA。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
travel
2026-06-25 10:47:55 +08:00
parent 853dacf528
commit 9e0644095f
33 changed files with 4792 additions and 1640 deletions
+33
View File
@@ -0,0 +1,33 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
build: {
outDir: 'dist',
emptyOutDir: true,
rollupOptions: {
output: {
manualChunks: {
vue: ['vue', 'vue-router'],
http: ['axios'],
},
},
},
},
server: {
host: true,
port: 5173,
strictPort: false,
proxy: {
'/api': {
target: 'http://127.0.0.1:5001',
changeOrigin: true,
},
'/qrcode.png': {
target: 'http://127.0.0.1:5001',
changeOrigin: true,
},
},
},
})