fundplatform/fund-mobile/package.json
zhangjf 8190887de8 feat: 数据库脚本优化、前端部署脚本、租户ID支持
- 数据库脚本优化
  - 新增01_create_user.sql创建fundsp用户
  - 新增02_grant_user.sql授权脚本
  - 新增fund_exp_init.sql、fund_receipt_init.sql
  - 修复SQL脚本与实体类一致性
  - 密码更新为fundSP@123

- 前端部署脚本
  - 新增build-frontend.sh前端构建脚本
  - 新增deploy-frontend-nginx.sh Nginx部署脚本
  - 打包输出到deploy目录

- 租户ID支持
  - fund-admin/fund-mobile支持query参数读取tid
  - 新增tenant.ts store管理租户状态
  - 请求拦截器添加X-Tenant-Id header

- 启动脚本修复
  - 修复INSTANCE_NAME变量替换问题
  - 更新所有service.properties配置

- 配置更新
  - 更新所有服务数据库密码
  - 更新docker-compose.yml配置
2026-02-22 19:45:52 +08:00

29 lines
637 B
JSON

{
"name": "fund-mobile",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite --port 8080",
"build": "vue-tsc && vite build",
"build:prod": "vite build",
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.6.0",
"pinia": "^2.1.7",
"vant": "^4.9.22",
"vue": "^3.4.0",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@vant/auto-import-resolver": "^1.3.0",
"@vitejs/plugin-vue": "^5.0.0",
"typescript": "^5.3.0",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.0",
"vue-tsc": "^1.8.0"
}
}