diff --git a/.gitignore b/.gitignore index 9154f4c..0d7f4db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,35 @@ -# ---> Java -# Compiled class file -*.class +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ -# Log file -*.log +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache -# BlueJ files -*.ctxt +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.jar -*.war -*.nar -*.ear -*.zip -*.tar.gz -*.rar - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* -replay_pid* +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ +### VS Code ### +.vscode/ +logs/ +src/main/resources/rebel.xml diff --git a/target/classes/application.yml b/target/classes/application.yml deleted file mode 100644 index d109fa1..0000000 --- a/target/classes/application.yml +++ /dev/null @@ -1,86 +0,0 @@ - -server: - port: 8081 - -spring: - application: - name: sczx_store # 微服务名称 - http: - encoding: - charset: UTF-8 - enabled: true - force: true - mvc: - async: - request-timeout: -1 - cloud: - nacos: - discovery: - server-addr: 115.190.8.52:8848 # Nacos 地址 - group: DEFAULT_GROUP - metadata: - version: 1.0.0 - env: dev - lifecycle: - timeout-per-shutdown-phase: 30s # 设置优雅停机时间 - datasource: - url: jdbc:mysql://115.190.8.52:3306/sczx?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true - username: sczx_user - password: Sczx123@ - driver-class-name: com.mysql.cj.jdbc.Driver - hikari: - maximum-pool-size: 10 - auto-commit: true - redis: - host: 115.190.8.52 - port: 6379 - lettuce: - pool: - max-active: 8 - max-wait: 2000ms - max-idle: 4 - min-idle: 1 - max-life-time: 300000ms - -management: - endpoints: - web: - exposure: - include: "*" # 暴露所有监控端点 - endpoint: - health: - show-details: always - -feign: - client: - config: - default: - connectTimeout: 5000 - readTimeout: 5000 - hystrix: - enabled: true # 启用 Feign 的 Hystrix 支持 - -hystrix: - command: - default: - execution: - isolation: - thread: - timeoutInMilliseconds: 10000 # 默认熔断超时时间 - -springdoc: - swagger-ui: - url: /v3/api-docs - path: /doc.html - packages-to-scan: com.sczx.user.controller # 替换为你的 controller 包路径 - -mybatis-plus: - mapper-locations: classpath*:mapper/**/*.xml - type-aliases-package: com.sczx.user.entity # 实体类包路径 - configuration: - mapUnderscoreToCamelCase: true - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 控制台打印 SQL(调试用) - -auth: - secret-key: his-is-a-very-long-and-secure-secret-key-for-jwt-signing-please-dont-use-short-keys - token-expiration: 86400000 # 24小时 diff --git a/target/classes/logback.xml b/target/classes/logback.xml deleted file mode 100644 index e594345..0000000 --- a/target/classes/logback.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - ${PATTERN} - - - - - - ${LOG_FILE_PATH}/${hostname}/info.%d{yyyy-MM-dd}.log - 31 - - - - ${PATTERN} - - - - WARN - DENY - NEUTRAL - - - ERROR - DENY - NEUTRAL - - - - - - WARN - - ${LOG_FILE_PATH}/${hostname}/warn.log - true - - ${PATTERN} - - - - - - - - - \ No newline at end of file diff --git a/target/dependency-maven-plugin-markers/org.webjars-swagger-ui-jar-4.15.5-189193280 b/target/dependency-maven-plugin-markers/org.webjars-swagger-ui-jar-4.15.5-189193280 deleted file mode 100644 index e69de29..0000000 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index e69de29..0000000 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index 02d8311..0000000 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,8 +0,0 @@ -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\util\JwtUtil.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\config\WebConfig.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\constant\SystemConstants.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\util\ComputerInfo.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\config\MyBatisPlusConfig.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\config\SpringDocConfig.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\util\RedisUtil.java -D:\workspace\sczx\sczx_store\src\main\java\com\sczx\store\Application.java