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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user