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:
19
backend/.env.example
Normal file
19
backend/.env.example
Normal file
@@ -0,0 +1,19 @@
|
||||
# Admin credentials
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=admin123
|
||||
|
||||
# JWT settings
|
||||
SECRET_KEY=your-secret-key-change-in-production
|
||||
JWT_ALGORITHM=HS256
|
||||
JWT_EXPIRE_MINUTES=480
|
||||
|
||||
# Database
|
||||
DATABASE_URL=sqlite:///./data/airwallex.db
|
||||
|
||||
# Airwallex API credentials
|
||||
AIRWALLEX_CLIENT_ID=your-client-id
|
||||
AIRWALLEX_API_KEY=your-api-key
|
||||
AIRWALLEX_BASE_URL=https://api.airwallex.com/
|
||||
|
||||
# HTTP proxy (optional)
|
||||
# PROXY_URL=http://127.0.0.1:7890
|
||||
Reference in New Issue
Block a user