feat: Airwallex 发卡管理后台完整实现

- 后端: FastAPI + SQLAlchemy + SQLite, JWT认证, 代理支持的AirwallexClient
- 前端: React 18 + Vite + Ant Design 5, 中文界面
- 功能: 卡片管理, 持卡人管理, 交易记录, API令牌, 系统设置, 审计日志
- 第三方API: X-API-Key认证, 权限控制
- Docker部署: docker-compose编排前后端
This commit is contained in:
zqq61
2026-03-15 23:05:08 +08:00
commit 4f53889a8e
98 changed files with 10847 additions and 0 deletions

31
docker-compose.yml Normal file
View File

@@ -0,0 +1,31 @@
version: "3.8"
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: airwallex-backend
ports:
- "8000:8000"
volumes:
- db_data:/app/data
env_file:
- backend/.env
environment:
- DATABASE_URL=sqlite:///./data/airwallex.db
restart: unless-stopped
frontend:
build:
context: frontend
dockerfile: Dockerfile
container_name: airwallex-frontend
ports:
- "3000:3000"
depends_on:
- backend
restart: unless-stopped
volumes:
db_data: