zhangjf
797feff8c2
feat: fund-gateway增加/fund context path
修改内容:
1. fund-gateway/application.yml:
- 所有路由Path添加/fund前缀
- StripPrefix从1改为2(剥离/fund和模块名两级)
- 例:/fund/sys/... -> 转发到 /api/v1/sys/...
2. 前端API配置:
- fund-admin/src/api/request.ts: baseURL改为'/fund'
- fund-mobile/src/api/request.ts: baseURL改为'/fund'
3. Nginx部署脚本:
- 添加/fund/路径代理配置
- 保留/api/代理兼容旧版
API调用示例:
- 旧版:/sys/auth/login
- 新版:/fund/sys/auth/login
网关路由:
- /fund/sys/** -> lb://fund-sys/api/v1/sys/**
- /fund/cust/** -> lb://fund-cust/api/v1/cust/**
- ...
2026-02-22 22:24:20 +08:00
..
2026-02-22 22:24:20 +08:00
2026-02-22 20:22:27 +08:00