chore: 从Git追踪中移除target和.vscode目录

This commit is contained in:
zhangjf 2026-02-20 11:02:45 +08:00
parent f292a8746f
commit e2007d8b09
323 changed files with 0 additions and 16029 deletions

View File

@ -1,3 +0,0 @@
{
"recommendations": ["Vue.volar"]
}

View File

@ -1,3 +0,0 @@
com.fundplatform.common.loadbalancer.TenantLoadBalancerAutoConfig
com.fundplatform.common.nacos.NacosMetadataConfig
com.fundplatform.common.mybatis.MybatisTenantAutoConfig

View File

@ -1,23 +0,0 @@
com/fundplatform/common/web/GlobalExceptionHandler.class
com/fundplatform/common/util/AESUtils.class
com/fundplatform/common/mybatis/MybatisTenantAutoConfig.class
com/fundplatform/common/config/TenantRoutingProperties$DatabaseConfig.class
com/fundplatform/common/config/TenantRoutingProperties.class
com/fundplatform/common/context/TraceContextHolder.class
com/fundplatform/common/feign/FeignChainInterceptor.class
com/fundplatform/common/cache/RedisService.class
com/fundplatform/common/config/WebMvcConfig.class
com/fundplatform/common/config/TenantRoutingProperties$ServiceInstanceConfig.class
com/fundplatform/common/core/PageResult.class
com/fundplatform/common/core/Result.class
com/fundplatform/common/nacos/NacosMetadataConfig.class
com/fundplatform/common/mybatis/TenantLineHandlerImpl.class
com/fundplatform/common/loadbalancer/TenantAwareLoadBalancer.class
com/fundplatform/common/util/ExcelUtil.class
com/fundplatform/common/mybatis/TenantIgnoreHelper.class
com/fundplatform/common/web/ContextInterceptor.class
com/fundplatform/common/config/TenantRoutingProperties$TenantServiceConfig.class
com/fundplatform/common/context/TenantContextHolder.class
com/fundplatform/common/core/BaseEntity.class
com/fundplatform/common/config/RedisConfig.class
com/fundplatform/common/context/UserContextHolder.class

View File

@ -1,21 +0,0 @@
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/mybatis/TenantLineHandlerImpl.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/context/TenantContextHolder.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/core/PageResult.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/feign/FeignChainInterceptor.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/config/WebMvcConfig.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/config/RedisConfig.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/mybatis/MybatisTenantAutoConfig.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/nacos/NacosMetadataConfig.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/context/UserContextHolder.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/loadbalancer/TenantAwareLoadBalancer.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/cache/RedisService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/core/BaseEntity.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/core/Result.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/loadbalancer/TenantLoadBalancerAutoConfig.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/util/AESUtils.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/config/TenantRoutingProperties.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/mybatis/TenantIgnoreHelper.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/web/ContextInterceptor.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/web/GlobalExceptionHandler.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/context/TraceContextHolder.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/main/java/com/fundplatform/common/util/ExcelUtil.java

View File

@ -1,2 +0,0 @@
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/test/java/com/fundplatform/common/util/AESUtilsTest.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-common/src/test/java/com/fundplatform/common/loadbalancer/TenantAwareLoadBalancerTest.java

View File

@ -1,4 +0,0 @@
-------------------------------------------------------------------------------
Test set: com.fundplatform.common.loadbalancer.TenantAwareLoadBalancerTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.505 s -- in com.fundplatform.common.loadbalancer.TenantAwareLoadBalancerTest

View File

@ -1,57 +0,0 @@
server:
port: 8110
spring:
application:
name: fund-cust
cloud:
nacos:
discovery:
server-addr: localhost:8848
namespace: fund-platform
group: DEFAULT_GROUP
username: nacos
password: nacos
# 租户路由元数据
# tenant-id: 空值=共享实例,单值=单租户专属,多值(逗号分隔)=多租户专属
metadata:
tenant-id: ${TENANT_ID:}
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/fund_cust?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
username: root
password: ${DB_PASSWORD:zjf@123456}
hikari:
maximum-pool-size: 10
minimum-idle: 5
connection-timeout: 30000
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
type-aliases-package: com.fundplatform.cust.data.entity
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
logging:
level:
com.fundplatform.cust: DEBUG
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
# 多租户路由配置
tenant:
routing:
enabled: true
tenant-header: X-Tenant-Id
default-tenant-id: "1"
fallback-to-shared: true

View File

@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 定义日志文件路径 -->
<property name="LOG_PATH" value="./logs"/>
<property name="APP_NAME" value="fund-cust"/>
<!-- 控制台输出 -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%X{traceId:-}] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
</appender>
<!-- INFO级别日志文件 -->
<appender name="FILE_INFO" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/info.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%X{traceId:-}] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/info-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>INFO</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- ERROR级别日志文件 -->
<appender name="FILE_ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/error.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%X{traceId:-}] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/error-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>ERROR</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- JSON格式日志(用于ELK采集) -->
<appender name="JSON_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/json.log</file>
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<customFields>{"app_name":"${APP_NAME}"}</customFields>
<includeMdcKeyName>traceId</includeMdcKeyName>
<includeMdcKeyName>userId</includeMdcKeyName>
<includeMdcKeyName>tenantId</includeMdcKeyName>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/json-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<!-- API请求日志文件(AOP) -->
<appender name="FILE_AOP" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/aop.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/aop-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<!-- API_LOG专用logger输出到aop.log -->
<logger name="API_LOG" level="INFO" additivity="false">
<appender-ref ref="FILE_AOP"/>
</logger>
<!-- 开发环境 -->
<springProfile name="dev">
<root level="INFO">
<appender-ref ref="CONSOLE"/>
</root>
</springProfile>
<!-- 生产环境 -->
<springProfile name="prod">
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE_INFO"/>
<appender-ref ref="FILE_ERROR"/>
<appender-ref ref="JSON_FILE"/>
</root>
</springProfile>
<!-- 默认配置 -->
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE_INFO"/>
<appender-ref ref="FILE_ERROR"/>
</root>
</configuration>

View File

@ -1,24 +0,0 @@
com/fundplatform/cust/controller/ContactController.class
com/fundplatform/cust/data/mapper/CustomerContactMapper.class
com/fundplatform/cust/aop/ApiLogAspect.class
com/fundplatform/cust/service/impl/CustomerServiceImpl.class
com/fundplatform/cust/data/service/CustomerDataService.class
com/fundplatform/cust/data/service/CustomerContactDataService.class
com/fundplatform/cust/data/mapper/CustomerMapper.class
com/fundplatform/cust/service/ContactService.class
com/fundplatform/cust/service/CustomerService.class
com/fundplatform/cust/dto/CustomerCreateDTO.class
com/fundplatform/cust/vo/ContactVO.class
com/fundplatform/cust/dto/CustomerUpdateDTO.class
com/fundplatform/cust/dto/ContactDTO.class
com/fundplatform/cust/config/MybatisPlusConfig$1.class
com/fundplatform/cust/data/entity/Customer.class
com/fundplatform/cust/data/entity/CustomerContact.class
com/fundplatform/cust/controller/HealthController.class
com/fundplatform/cust/vo/CustomerVO.class
com/fundplatform/cust/CustApplication.class
com/fundplatform/cust/config/MybatisPlusConfig.class
com/fundplatform/cust/service/impl/ContactServiceImpl.class
com/fundplatform/cust/data/service/impl/CustomerContactDataServiceImpl.class
com/fundplatform/cust/controller/CustomerController.class
com/fundplatform/cust/feign/SysServiceClient.class

View File

@ -1,23 +0,0 @@
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/controller/ContactController.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/controller/CustomerController.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/service/ContactService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/aop/ApiLogAspect.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/service/CustomerService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/vo/CustomerVO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/mapper/CustomerMapper.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/CustApplication.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/dto/ContactDTO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/entity/Customer.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/dto/CustomerUpdateDTO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/vo/ContactVO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/service/impl/CustomerServiceImpl.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/service/impl/ContactServiceImpl.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/service/CustomerDataService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/feign/SysServiceClient.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/controller/HealthController.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/mapper/CustomerContactMapper.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/service/CustomerContactDataService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/dto/CustomerCreateDTO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/config/MybatisPlusConfig.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/service/impl/CustomerContactDataServiceImpl.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-cust/src/main/java/com/fundplatform/cust/data/entity/CustomerContact.java

View File

@ -1,28 +0,0 @@
2026-02-18 16:13:47.241 [main] [] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:165)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:610)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1342)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1331)
at com.fundplatform.exp.ExpApplication.main(ExpApplication.java:12)
Caused by: org.springframework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to /tmp
at org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.createTempDir(AbstractConfigurableWebServerFactory.java:241)
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:202)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162)
... 8 common frames omitted
Caused by: java.nio.file.FileSystemException: /tmp/tomcat.8140.13105173057921731072: 只读文件系统
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:438)
at java.base/java.nio.file.Files.createDirectory(Files.java:699)
at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:134)
at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:171)
at java.base/java.nio.file.Files.createTempDirectory(Files.java:1017)
at org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.createTempDir(AbstractConfigurableWebServerFactory.java:235)
... 11 common frames omitted

View File

@ -1,10 +0,0 @@
2026-02-18 16:13:44.590 [background-preinit] [] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2026-02-18 16:13:44.675 [main] [] INFO com.fundplatform.exp.ExpApplication - Starting ExpApplication using Java 21 with PID 232178 (/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/target/classes started by along in /home/along/MyCode/wanjiabuluo/fundplatform/fund-exp)
2026-02-18 16:13:44.676 [main] [] INFO com.fundplatform.exp.ExpApplication - No active profile set, falling back to 1 default profile: "default"
2026-02-18 16:13:45.992 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode
2026-02-18 16:13:45.997 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-02-18 16:13:46.038 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
2026-02-18 16:13:46.361 [main] [] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=44f31d34-f086-3a76-aead-7cf3e4e2f49a
2026-02-18 16:13:47.209 [main] [] INFO o.s.b.a.logging.ConditionEvaluationReportLogger -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.

View File

@ -1,55 +0,0 @@
server:
port: 8140
spring:
application:
name: fund-exp
cloud:
nacos:
discovery:
server-addr: localhost:8848
namespace: fund-platform
group: DEFAULT_GROUP
username: nacos
password: nacos
# 租户路由元数据
metadata:
tenant-id: ${TENANT_ID:}
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/fund_exp?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
username: root
password: ${DB_PASSWORD:zjf@123456}
hikari:
maximum-pool-size: 10
minimum-idle: 5
connection-timeout: 30000
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
type-aliases-package: com.fundplatform.exp.data.entity
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
logging:
level:
com.fundplatform.exp: DEBUG
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
# 多租户路由配置
tenant:
routing:
enabled: true
tenant-header: X-Tenant-Id
default-tenant-id: "1"
fallback-to-shared: true

View File

@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 定义日志文件路径 -->
<property name="LOG_PATH" value="./logs"/>
<property name="APP_NAME" value="fund-exp"/>
<!-- 控制台输出 -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%X{traceId:-}] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
</appender>
<!-- INFO级别日志文件 -->
<appender name="FILE_INFO" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/info.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%X{traceId:-}] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/info-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>INFO</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- ERROR级别日志文件 -->
<appender name="FILE_ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/error.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%X{traceId:-}] %-5level %logger{50} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/error-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>ERROR</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- JSON格式日志(用于ELK采集) -->
<appender name="JSON_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/json.log</file>
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<customFields>{"app_name":"${APP_NAME}"}</customFields>
<includeMdcKeyName>traceId</includeMdcKeyName>
<includeMdcKeyName>userId</includeMdcKeyName>
<includeMdcKeyName>tenantId</includeMdcKeyName>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/json-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<!-- API请求日志文件(AOP) -->
<appender name="FILE_AOP" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${APP_NAME}/aop.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_PATH}/${APP_NAME}/aop-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<!-- API_LOG专用logger输出到aop.log -->
<logger name="API_LOG" level="INFO" additivity="false">
<appender-ref ref="FILE_AOP"/>
</logger>
<!-- 开发环境 -->
<springProfile name="dev">
<root level="INFO">
<appender-ref ref="CONSOLE"/>
</root>
</springProfile>
<!-- 生产环境 -->
<springProfile name="prod">
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE_INFO"/>
<appender-ref ref="FILE_ERROR"/>
<appender-ref ref="JSON_FILE"/>
</root>
</springProfile>
<!-- 默认配置 -->
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE_INFO"/>
<appender-ref ref="FILE_ERROR"/>
</root>
</configuration>

View File

@ -1,19 +0,0 @@
com/fundplatform/exp/controller/HealthController.class
com/fundplatform/exp/controller/ExpenseTypeController.class
com/fundplatform/exp/aop/ApiLogAspect.class
com/fundplatform/exp/data/service/FundExpenseDataService.class
com/fundplatform/exp/dto/ExpenseTypeDTO.class
com/fundplatform/exp/controller/FundExpenseController.class
com/fundplatform/exp/ExpApplication.class
com/fundplatform/exp/service/FundExpenseService.class
com/fundplatform/exp/vo/ExpenseTypeVO.class
com/fundplatform/exp/dto/FundExpenseDTO.class
com/fundplatform/exp/data/mapper/FundExpenseMapper.class
com/fundplatform/exp/service/impl/FundExpenseServiceImpl.class
com/fundplatform/exp/service/impl/ExpenseTypeServiceImpl.class
com/fundplatform/exp/vo/FundExpenseVO.class
com/fundplatform/exp/data/service/ExpenseTypeDataService.class
com/fundplatform/exp/data/mapper/ExpenseTypeMapper.class
com/fundplatform/exp/data/entity/FundExpense.class
com/fundplatform/exp/service/ExpenseTypeService.class
com/fundplatform/exp/data/entity/ExpenseType.class

View File

@ -1,20 +0,0 @@
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/service/impl/FundExpenseServiceImpl.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/service/impl/ExpenseTypeServiceImpl.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/data/entity/FundExpense.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/data/mapper/ExpenseTypeMapper.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/data/entity/ExpenseType.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/data/service/ExpenseTypeDataService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/controller/FundExpenseController.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/data/service/FundExpenseDataService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/data/mapper/FundExpenseMapper.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/dto/FundExpenseDTO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/aop/ApiLogAspect.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/ExpApplication.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/controller/ExpenseTypeController.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/vo/FundExpenseVO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/dto/ExpenseExcel.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/controller/HealthController.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/vo/ExpenseTypeVO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/dto/ExpenseTypeDTO.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/service/ExpenseTypeService.java
/home/along/MyCode/wanjiabuluo/fundplatform/fund-exp/src/main/java/com/fundplatform/exp/service/FundExpenseService.java

View File

@ -1,10 +0,0 @@
2026-02-18 11:33:26.965 [http-nio-8600-exec-1] - {"responseType":"Result","requestHeaders":{},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"2532ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"pageSize":"10","pageNum":"1"},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 11:38:17.346 [http-nio-8600-exec-2] - {"responseType":"Result","requestHeaders":{},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"7ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"pageSize":"10","pageNum":"1"},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 11:45:44.098 [http-nio-8600-exec-3] - {"responseType":"Result","requestHeaders":{"x-tenant-id":"1","x-user-id":"1"},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"5ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"pageSize":"10","pageNum":"1"},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 11:46:16.522 [http-nio-8600-exec-4] - {"responseType":"Result","requestHeaders":{"x-tenant-id":"1","x-user-id":"1"},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"13ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"fileName":"","pageSize":"10","businessType":"","pageNum":"1","fileType":""},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 11:46:22.259 [http-nio-8600-exec-5] - {"responseType":"Result","requestHeaders":{"x-tenant-id":"1","x-user-id":"1"},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"4ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"fileName":"","pageSize":"10","businessType":"","pageNum":"1","fileType":""},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 11:48:04.616 [http-nio-8600-exec-7] - {"responseType":"Result","requestHeaders":{"x-tenant-id":"1","x-user-id":"1"},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"8ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"fileName":"","pageSize":"10","businessType":"","pageNum":"1","fileType":""},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 12:03:57.032 [http-nio-8600-exec-9] - {"responseType":"Result","requestHeaders":{"x-tenant-id":"1","x-user-id":"1"},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"13ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"fileName":"","pageSize":"10","businessType":"","pageNum":"1","fileType":""},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 14:17:03.853 [http-nio-8600-exec-1] - 日志序列化失败: No serializer found for class sun.nio.ch.ChannelInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.HashMap["requestBody"]->org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile["inputStream"])
2026-02-18 14:19:51.593 [http-nio-8600-exec-3] - {"responseType":"Result","requestHeaders":{"x-tenant-id":"1","x-user-id":"1"},"responseBody":"{\"code\":200,\"message\":\"success\",\"data\":{\"records\":[],\"total\":0,\"size\":10,\"current\":1,\"pages\":0},\"success\":true}","requestBody":1,"costTime":"57ms","requestUrl":"http://localhost:8600/api/v1/file/page","requestMethod":"GET","requestParams":{"fileName":"","pageSize":"10","businessType":"","pageNum":"1","fileType":""},"methodName":"page","className":"com.fundplatform.file.controller.FileController","requestUri":"/api/v1/file/page","status":"SUCCESS"}
2026-02-18 14:23:01.563 [http-nio-8600-exec-5] - 日志序列化失败: No serializer found for class sun.nio.ch.ChannelInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.HashMap["requestBody"]->org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile["inputStream"])

View File

@ -1,129 +0,0 @@
2026-02-18 11:32:38.084 [background-preinit] [] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2026-02-18 11:32:38.324 [main] [] INFO com.fundplatform.file.FileApplication - Starting FileApplication v0.0.1-SNAPSHOT using Java 21 with PID 98217 (/home/along/MyCode/wanjiabuluo/fundplatform/fund-file/target/fund-file-0.0.1-SNAPSHOT.jar started by along in /home/along/MyCode/wanjiabuluo/fundplatform/fund-file)
2026-02-18 11:32:38.327 [main] [] INFO com.fundplatform.file.FileApplication - No active profile set, falling back to 1 default profile: "default"
2026-02-18 11:32:42.156 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode
2026-02-18 11:32:42.164 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-02-18 11:32:42.237 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 29 ms. Found 0 Redis repository interfaces.
2026-02-18 11:32:43.458 [main] [] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=ea71b96f-483e-3cce-84a3-bc16eef4cacc
2026-02-18 11:32:47.680 [main] [] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port 8600 (http)
2026-02-18 11:32:47.723 [main] [] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8600"]
2026-02-18 11:32:47.731 [main] [] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2026-02-18 11:32:47.733 [main] [] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2026-02-18 11:32:47.929 [main] [] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2026-02-18 11:32:47.931 [main] [] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 9386 ms
2026-02-18 11:32:52.739 [main] [] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8600"]
2026-02-18 11:32:52.791 [main] [] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port 8600 (http) with context path ''
2026-02-18 11:32:52.815 [main] [] INFO com.alibaba.nacos.client.naming - initializer namespace from ans.namespace attribute : null
2026-02-18 11:32:52.819 [main] [] INFO com.alibaba.nacos.client.naming - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
2026-02-18 11:32:52.821 [main] [] INFO com.alibaba.nacos.client.naming - initializer namespace from namespace attribute :null
2026-02-18 11:32:52.828 [Thread-3] [] INFO c.a.n.client.auth.ram.identify.CredentialWatcher - null No credential found
2026-02-18 11:32:52.909 [main] [] INFO com.alibaba.nacos.client.utils.ParamUtil - [settings] [req-serv] nacos-server port:8848
2026-02-18 11:32:52.909 [main] [] INFO com.alibaba.nacos.client.utils.ParamUtil - [settings] [http-client] connect timeout:1000
2026-02-18 11:32:52.911 [main] [] INFO com.alibaba.nacos.client.utils.ParamUtil - PER_TASK_CONFIG_SIZE: 3000.0
2026-02-18 11:32:52.924 [main] [] INFO c.a.n.p.auth.spi.client.ClientAuthPluginManager - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
2026-02-18 11:32:52.925 [main] [] INFO c.a.n.p.auth.spi.client.ClientAuthPluginManager - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
2026-02-18 11:32:52.969 [main] [] INFO com.alibaba.nacos.common.remote.client - [RpcClientFactory] create a new rpc client of 309bf989-db86-4ee2-88ed-84f069362487
2026-02-18 11:32:53.023 [main] [] INFO com.alibaba.nacos.client.naming - Create naming rpc client for uuid->309bf989-db86-4ee2-88ed-84f069362487
2026-02-18 11:32:53.025 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2026-02-18 11:32:53.025 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2026-02-18 11:32:53.026 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2026-02-18 11:32:53.031 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Try to connect to server on start up, server: {serverIp = 'localhost', server main port = 8848}
2026-02-18 11:32:53.102 [main] [] INFO c.a.nacos.common.remote.client.grpc.GrpcClient - grpc client connection server:localhost ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
2026-02-18 11:32:54.375 [main] [] INFO c.a.n.common.ability.AbstractAbilityControlManager - Ready to get current node abilities...
2026-02-18 11:32:54.380 [main] [] INFO c.a.n.common.ability.AbstractAbilityControlManager - Ready to initialize current node abilities, support modes: [SDK_CLIENT]
2026-02-18 11:32:54.382 [main] [] INFO c.a.n.common.ability.AbstractAbilityControlManager - Initialize current abilities finish...
2026-02-18 11:32:54.383 [main] [] INFO c.a.n.c.ability.discover.NacosAbilityManagerHolder - [AbilityControlManager] Successfully initialize AbilityControlManager
2026-02-18 11:32:54.442 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Success to connect to server [localhost:8848] on start up, connectionId = 1771385574170_127.0.0.1_54458
2026-02-18 11:32:54.444 [com.alibaba.nacos.client.remote.worker] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Notify connected event to listeners.
2026-02-18 11:32:54.445 [com.alibaba.nacos.client.remote.worker] [] INFO com.alibaba.nacos.client.naming - Grpc connection connect
2026-02-18 11:32:54.445 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2026-02-18 11:32:54.446 [main] [] INFO com.alibaba.nacos.common.remote.client - [309bf989-db86-4ee2-88ed-84f069362487] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000078ca44848228
2026-02-18 11:32:54.449 [main] [] INFO com.alibaba.nacos.client.naming - [REGISTER-SERVICE] fund-platform registering service fund-file with instance Instance{instanceId='null', ip='10.244.21.185', port=8600, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=[240e:424:df80:320b:798a:33d6:b583:89f8], preserved.register.source=SPRING_CLOUD}}
2026-02-18 11:32:54.488 [main] [] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, DEFAULT_GROUP fund-file 10.244.21.185:8600 register finished
2026-02-18 11:32:54.518 [main] [] INFO com.fundplatform.file.FileApplication - Started FileApplication in 17.937 seconds (process running for 18.784)
2026-02-18 11:33:24.244 [http-nio-8600-exec-1] [] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-02-18 11:33:24.246 [http-nio-8600-exec-1] [] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2026-02-18 11:33:24.252 [http-nio-8600-exec-1] [] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 5 ms
2026-02-18 11:33:24.748 [http-nio-8600-exec-1] [] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2026-02-18 11:33:26.744 [http-nio-8600-exec-1] [] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@640e0bc0
2026-02-18 11:33:26.750 [http-nio-8600-exec-1] [] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2026-02-18 13:53:57.316 [background-preinit] [] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2026-02-18 13:53:57.424 [main] [] INFO com.fundplatform.file.FileApplication - Starting FileApplication using Java 21 with PID 166872 (/home/along/MyCode/wanjiabuluo/fundplatform/fund-file/target/classes started by along in /home/along/MyCode/wanjiabuluo/fundplatform/fund-file)
2026-02-18 13:53:57.425 [main] [] INFO com.fundplatform.file.FileApplication - No active profile set, falling back to 1 default profile: "default"
2026-02-18 13:53:58.753 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode
2026-02-18 13:53:58.758 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-02-18 13:53:58.796 [main] [] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2026-02-18 13:53:59.155 [main] [] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=1519b07d-1835-3620-b7d6-ebfd8ccb6aba
2026-02-18 13:54:00.145 [main] [] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port 8600 (http)
2026-02-18 13:54:00.160 [main] [] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8600"]
2026-02-18 13:54:00.163 [main] [] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2026-02-18 13:54:00.163 [main] [] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2026-02-18 13:54:00.252 [main] [] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2026-02-18 13:54:00.253 [main] [] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2754 ms
2026-02-18 13:54:02.810 [main] [] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8600"]
2026-02-18 13:54:02.835 [main] [] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port 8600 (http) with context path ''
2026-02-18 13:54:02.847 [main] [] INFO com.alibaba.nacos.client.naming - initializer namespace from ans.namespace attribute : null
2026-02-18 13:54:02.848 [main] [] INFO com.alibaba.nacos.client.naming - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
2026-02-18 13:54:02.849 [main] [] INFO com.alibaba.nacos.client.naming - initializer namespace from namespace attribute :null
2026-02-18 13:54:02.853 [Thread-4] [] INFO c.a.n.client.auth.ram.identify.CredentialWatcher - null No credential found
2026-02-18 13:54:02.886 [main] [] INFO com.alibaba.nacos.client.utils.ParamUtil - [settings] [req-serv] nacos-server port:8848
2026-02-18 13:54:02.887 [main] [] INFO com.alibaba.nacos.client.utils.ParamUtil - [settings] [http-client] connect timeout:1000
2026-02-18 13:54:02.888 [main] [] INFO com.alibaba.nacos.client.utils.ParamUtil - PER_TASK_CONFIG_SIZE: 3000.0
2026-02-18 13:54:02.894 [main] [] INFO c.a.n.p.auth.spi.client.ClientAuthPluginManager - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
2026-02-18 13:54:02.895 [main] [] INFO c.a.n.p.auth.spi.client.ClientAuthPluginManager - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
2026-02-18 13:54:02.909 [main] [] INFO com.alibaba.nacos.common.remote.client - [RpcClientFactory] create a new rpc client of 6a15df01-4f76-48ca-b90c-f3f12b5a1477
2026-02-18 13:54:02.936 [main] [] INFO com.alibaba.nacos.client.naming - Create naming rpc client for uuid->6a15df01-4f76-48ca-b90c-f3f12b5a1477
2026-02-18 13:54:02.936 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2026-02-18 13:54:02.937 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2026-02-18 13:54:02.937 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2026-02-18 13:54:02.940 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Try to connect to server on start up, server: {serverIp = 'localhost', server main port = 8848}
2026-02-18 13:54:02.986 [main] [] INFO c.a.nacos.common.remote.client.grpc.GrpcClient - grpc client connection server:localhost ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
2026-02-18 13:54:03.703 [main] [] INFO c.a.n.common.ability.AbstractAbilityControlManager - Ready to get current node abilities...
2026-02-18 13:54:03.704 [main] [] INFO c.a.n.common.ability.AbstractAbilityControlManager - Ready to initialize current node abilities, support modes: [SDK_CLIENT]
2026-02-18 13:54:03.705 [main] [] INFO c.a.n.common.ability.AbstractAbilityControlManager - Initialize current abilities finish...
2026-02-18 13:54:03.705 [main] [] INFO c.a.n.c.ability.discover.NacosAbilityManagerHolder - [AbilityControlManager] Successfully initialize AbilityControlManager
2026-02-18 13:54:03.763 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Success to connect to server [localhost:8848] on start up, connectionId = 1771394043585_127.0.0.1_35144
2026-02-18 13:54:03.763 [com.alibaba.nacos.client.remote.worker] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Notify connected event to listeners.
2026-02-18 13:54:03.764 [com.alibaba.nacos.client.remote.worker] [] INFO com.alibaba.nacos.client.naming - Grpc connection connect
2026-02-18 13:54:03.764 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2026-02-18 13:54:03.764 [main] [] INFO com.alibaba.nacos.common.remote.client - [6a15df01-4f76-48ca-b90c-f3f12b5a1477] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000076bd508a2598
2026-02-18 13:54:03.766 [main] [] INFO com.alibaba.nacos.client.naming - [REGISTER-SERVICE] fund-platform registering service fund-file with instance Instance{instanceId='null', ip='10.244.21.185', port=8600, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=[240e:424:df80:320b:798a:33d6:b583:89f8], preserved.register.source=SPRING_CLOUD}}
2026-02-18 13:54:03.787 [main] [] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, DEFAULT_GROUP fund-file 10.244.21.185:8600 register finished
2026-02-18 13:54:03.811 [main] [] INFO com.fundplatform.file.FileApplication - Started FileApplication in 7.638 seconds (process running for 8.193)
2026-02-18 14:17:02.688 [http-nio-8600-exec-1] [] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-02-18 14:17:02.688 [http-nio-8600-exec-1] [] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2026-02-18 14:17:02.690 [http-nio-8600-exec-1] [] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 2 ms
2026-02-18 14:17:02.774 [http-nio-8600-exec-1] [] INFO com.fundplatform.file.controller.FileController - 使用COS上传文件: 截图 2026-02-14 00-43-38.png
2026-02-18 14:17:03.555 [http-nio-8600-exec-1] [] INFO com.fundplatform.file.service.CosStorageService - 文件上传到COS成功: key=image/2026/02/18/10d01aefc2d94cee8261a0cd29a54d68.png, etag=d91a2c844cf31150f221a9af3a6baada
2026-02-18 14:17:03.560 [http-nio-8600-exec-1] [] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2026-02-18 14:17:03.724 [http-nio-8600-exec-1] [] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@db9a21e
2026-02-18 14:17:03.725 [http-nio-8600-exec-1] [] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2026-02-18 14:23:01.008 [http-nio-8600-exec-5] [] INFO com.fundplatform.file.controller.FileController - 使用COS上传文件: 截图 2026-02-14 00-43-38.png
2026-02-18 14:23:01.526 [http-nio-8600-exec-5] [] INFO com.fundplatform.file.service.CosStorageService - 文件上传到COS成功: key=image/2026/02/18/583ae34f78af45449987e719ae50bdea.png, etag=d91a2c844cf31150f221a9af3a6baada
2026-02-18 17:21:18.387 [SpringApplicationShutdownHook] [] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registering from Nacos Server now...
2026-02-18 17:21:18.403 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - [DEREGISTER-SERVICE] fund-platform deregistering service fund-file with instance: Instance{instanceId='null', ip='10.244.21.185', port=8600, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
2026-02-18 17:21:18.479 [SpringApplicationShutdownHook] [] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registration finished.
2026-02-18 17:21:18.482 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
2026-02-18 17:21:18.482 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
2026-02-18 17:21:18.486 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
2026-02-18 17:21:18.486 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
2026-02-18 17:21:18.486 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
2026-02-18 17:21:18.486 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
2026-02-18 17:21:18.487 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
2026-02-18 17:21:18.487 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
2026-02-18 17:21:18.491 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
2026-02-18 17:21:18.507 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
2026-02-18 17:21:18.508 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
2026-02-18 17:21:18.540 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - Shutdown naming grpc client proxy for uuid->6a15df01-4f76-48ca-b90c-f3f12b5a1477
2026-02-18 17:21:18.564 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@25109d84[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 4144]
2026-02-18 17:21:18.565 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.common.remote.client - Shutdown rpc client, set status to shutdown
2026-02-18 17:21:18.580 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.common.remote.client - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@61d150af[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2026-02-18 17:21:18.584 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.common.remote.client - Close current connection 1771394043585_127.0.0.1_35144
2026-02-18 17:21:18.622 [nacos-grpc-client-executor-localhost-2640] [] INFO c.a.nacos.common.remote.client.grpc.GrpcClient - [1771394043585_127.0.0.1_35144]Ignore complete event,isRunning:false,isAbandon=false
2026-02-18 17:21:18.695 [SpringApplicationShutdownHook] [] INFO c.a.nacos.common.remote.client.grpc.GrpcClient - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@299ea986[Running, pool size = 6, active threads = 0, queued tasks = 0, completed tasks = 2641]
2026-02-18 17:21:18.699 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - shutdown and remove naming rpc client for uuid ->6a15df01-4f76-48ca-b90c-f3f12b5a1477
2026-02-18 17:21:18.706 [SpringApplicationShutdownHook] [] INFO c.a.n.client.auth.ram.identify.CredentialWatcher - [null] CredentialWatcher is stopped
2026-02-18 17:21:18.722 [SpringApplicationShutdownHook] [] INFO c.a.n.client.auth.ram.identify.CredentialService - [null] CredentialService is freed
2026-02-18 17:21:18.733 [SpringApplicationShutdownHook] [] INFO com.alibaba.nacos.client.naming - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
2026-02-18 17:21:18.805 [SpringApplicationShutdownHook] [] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2026-02-18 17:21:18.869 [SpringApplicationShutdownHook] [] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.

View File

@ -1,54 +0,0 @@
server:
port: 8600
spring:
application:
name: fund-file
cloud:
nacos:
discovery:
server-addr: localhost:8848
namespace: fund-platform
group: DEFAULT_GROUP
username: nacos
password: nacos
# 共享服务,无需租户路由
datasource:
url: jdbc:mysql://localhost:3306/fund_file?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: ${DB_PASSWORD:zjf@123456}
driver-class-name: com.mysql.cj.jdbc.Driver
# 文件上传配置
servlet:
multipart:
max-file-size: 50MB
max-request-size: 100MB
# 腾讯云COS配置
cos:
enabled: true
secret-id: ${COS_SECRET_ID:AKIDukKfkY5LK2SbU6QTM7csugCSSDjzyiDS}
secret-key: ${COS_SECRET_KEY:0lHXYIn20jDRP7ZlhNnyub3GEwObZHjw}
bucket: ${COS_BUCKET:test-1308258046}
region: ${COS_REGION:ap-beijing}
bucket-host: ${COS_BUCKET_HOST:https://test-1308258046.cos.ap-beijing.myqcloud.com}
# 本地文件存储配置(备用)
file:
upload:
path: ./uploads
max-size: 52428800
logging:
level:
com.fundplatform.file: DEBUG
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
# 共享服务,禁用租户路由
tenant:
routing:
enabled: false

Some files were not shown because too many files have changed in this diff Show More