修改内容: 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/** - ...
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.