feat: 扫码登录、WAF IP 情报库与 linux/amd64 打包约定
29 个文件变更
+2556
-67
fqh@fangqihang.cn
| •Makefile | +5 -6 |
| •README.md | +10 -0 |
| •internal/httpapi/auth.go | +7 -1 |
| •internal/httpapi/middleware.go | +6 -3 |
| •internal/httpapi/qrlogin.go | +371 -0 |
| •internal/httpapi/qrlogin_test.go | +359 -0 |
| •internal/httpapi/server.go | +19 -0 |
| •internal/httpapi/waf.go | +49 -0 |
| •internal/httpapi/waf_test.go | +44 -0 |
| •internal/store/qrlogin.go | +129 -0 |
| •internal/store/qrlogin_test.go | +178 -0 |
| •internal/store/store.go | +18 -1 |
| •internal/waf/intel.go | +296 -0 |
| •internal/waf/intel_test.go | +149 -0 |
| •internal/waf/waf.go | +9 -0 |
| •internal/web/dist/assets/index-Blg4ieaJ.js | +47 -0 |
| •internal/web/dist/assets/{index-QtvH9Pdz.css => index-BwhdV73r.css} | +2 -2 |
| •internal/web/dist/assets/index-ChZ0Ep1K.js | +0 -45 |
| •internal/web/dist/index.html | +2 -2 |
| •internal/webserver/waf.go | +20 -0 |
| •main.go | +37 -1 |
| •scripts/smoke-qr-login.mjs | +206 -0 |
| •web/package-lock.json | +7 -0 |
| •web/package.json | +1 -0 |
| •web/src/components/QrCode.vue | +67 -0 |
| •web/src/qr.ts | +68 -0 |
| •web/src/styles.css | +109 -0 |
| •web/src/views/Login.vue | +232 -6 |
| •web/src/views/Waf.vue | +109 -0 |
变更内容