feat(web-admin): add wx-qr create and status API clients.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-09-18 20:18:08 +08:00
1 parent 98e31c88b2
commit c5a0e17a05
4 files changed
+124

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
# Web Admin 开发环境
# 应用部署基础路径
VITE_BASE_URL=/
# 后端 API 基地址(开发环境走 Vite 代理 /api → localhost:8000,避免浏览器跨域)
VITE_API_URL=/api
# 是否携带 cookie
VITE_WITH_CREDENTIALS=false
# API 应用层加密(当前实现使用 VITE_API_ENCRYPT_*)
VITE_API_ENCRYPT_ENABLED=false
VITE_API_ENCRYPT_FAIL_OPEN=false
VITE_API_ENCRYPT_FIXED_SECRET=sqxp-web-api-crypto-fixed-secret
VITE_API_ENCRYPT_EXCLUDE_PATHS=/web/auth/login-rsa-public-key,/web/auth/login,/web/auth/refresh-token,/web/admin/attachment/upload,/web/admin/products/upload-image,/web/admin/categories/upload-image,/web/admin/users/upload-avatar,/api/invoice/download,/web/auth/mp-webview-exchange,/web/auth/wx-qr/create,/web/auth/wx-qr/status
# 代理目标地址(仅用于 /api 代理;保持本地后端)
VITE_API_PROXY_URL=http://localhost:8000
# 是否移除 console
VITE_DROP_CONSOLE=false
# 权限模式(前端固定菜单模式)
VITE_ACCESS_MODE=frontend
# 高德地图 Web JS API(敏感 Key 请写入 .env.development.local / 生产构建环境变量)
# VITE_AMAP_KEY=
# VITE_AMAP_SECURITY_CODE=
# MinIO 文件访问前缀(生产环境通过 nginx 代理,此处留空或指向本地 MinIO)
VITE_MINIO_BASE_URL=http://47.99.164.66:20004/zkxw