refactor(modules): 拆分多模块工程并收口common基础模块

This commit is contained in:
2026-06-01 03:26:18 +08:00
parent 6fe1209801
commit 07ad8bb36b
231 changed files with 1690 additions and 172 deletions

View File

@@ -0,0 +1,5 @@
# AI 独立配置文件(建议仅本地/环境覆盖使用,不提交真实密钥)
# 格式ai.secret-refs[<secret_ref>]=<api_key>
ai.secret-refs[SILICONFLOW_API_KEY]=your-key

View File

@@ -0,0 +1,15 @@
spring:
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://110.42.106.130:5431/common_agent?currentSchema=common_agent
username: common_agent
password: common_agent
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
configuration:
map-underscore-to-camel-case: true
common:
attachment:
base-path: /data/common-agent/attachments

View File

@@ -0,0 +1,17 @@
# Copy this file to application-dev.yaml, application-test.yaml, or application-prod.yaml,
# then change spring.profiles.active in application.yaml to select the environment.
spring:
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://<host>:<port>/<database>
username: <username>
password: <password>
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
configuration:
map-underscore-to-camel-case: true
common:
attachment:
base-path: /data/common-agent/attachments

View File

@@ -0,0 +1,13 @@
spring:
application:
name: common_agent
profiles:
active: dev
common:
attachment:
base-path: data/attachments
logging:
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss.SSS, GMT+8} %5p ${PID:- } --- [%15.15t] %-40.40logger{39} : %m%n%wEx"