refactor: 后端包名迁移至 cn.rosercode.finance

- 使用 git mv 将包路径由 com.example.finance 迁移至 cn.rosercode.finance
- 主类 MyApplication 重命名为 FinanceApplication,测试类同步更名
- build.gradle 的 group 调整为 cn.rosercode
- 同步 application.yml、logback-spring.xml 中的包引用
- 测试账号密码移至 credentials.md 并加入忽略规则,README 移除该信息
- 更新 README 与 docs 中的包路径示例
This commit is contained in:
2026-09-17 17:04:43 +08:00
parent 179e9b78ca
commit 10fa1b5e96
74 changed files with 230 additions and 236 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ spring:
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.example.finance.entity
type-aliases-package: cn.rosercode.finance.entity
global-config:
db-config:
id-type: auto
@@ -32,7 +32,7 @@ springdoc:
swagger-ui:
enabled: true
path: /swagger-ui.html
packages-to-scan: com.example.finance.controller
packages-to-scan: cn.rosercode.finance.controller
knife4j:
enable: true