4 Commits

Author SHA1 Message Date
zhangjf
bf87b72e03 refactor: 统一前端部署目录命名
- 管理后台目录: wladmin
- 移动端目录: wlmobile
- 同步更新部署文档和打包脚本
2026-02-24 19:20:42 +08:00
zhangjf
c2a12a3625 refactor: 优化启动脚本配置
start.sh 修订:
- 删除 APP_JAR、APP_JAR_PATH 变量
- APP_HOME 从脚本所在目录自动获取
- 删除 spring.profiles.active 参数
- 日志目录从 env.properties 读取(默认 /datacfs/applogs/服务名)
- console.log 改为 stdout.log

env.properties 修订:
- LOG_PATH 改为 /datacfs/applogs/worklog-api

service.properties 修订:
- 删除未使用的 SPRING_PROFILES_ACTIVE 配置
2026-02-24 18:56:29 +08:00
zhangjf
55eb8badc7 chore: 删除所有 *.example 配置文件
- 本地私有仓库,无需配置模板
- 删除 application-dev.yml.example
- 删除 bootstrap.yml.example
- 删除 env.properties.example
- 删除 application.yml.example
- 删除 service.properties.example
- 更新 .gitignore 移除敏感信息忽略规则
2026-02-24 18:35:08 +08:00
zhangjf
814265d88e refactor: 重构项目目录结构和打包配置
1. 配置文件不包含 *example 文件
2. scripts 目录迁移到项目根目录
3. env.properties 迁移到 scripts 目录
4. MAIN_CLASS 参数迁移到 service.properties
5. assembly.xml 更新脚本和配置文件路径
6. 添加前端打包脚本:
   - build-web.sh: 管理后台打包
   - build-mobile.sh: 移动端H5打包
   - build-all.sh: 全量打包
7. 更新 .gitignore 忽略配置
2026-02-24 18:28:04 +08:00