This commit is contained in:
2026-07-31 11:06:44 +08:00
13 changed files with 100 additions and 139 deletions
+2 -5
View File
@@ -1,6 +1,8 @@
server:
port: ${PRINT_PORT:9207}
spring:
profiles:
active: ${SPRING_PROFILES_ACTIVE:dev}
application:
name: print-service
config:
@@ -18,11 +20,6 @@ spring:
group: ${NACOS_GROUP:BAIYUE}
namespace: ${NACOS_NAMESPACE:public}
config.namespace: ${NACOS_NAMESPACE:public}
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${PRINT_DB_URL:jdbc:mysql://127.0.0.1:3306/baiyue_print?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true}
username: ${PRINT_DB_USERNAME:root}
password: ${PRINT_DB_PASSWORD:123456}
baiyue:
security:
jwt-secret: ${JWT_SECRET:change-me-to-at-least-32-bytes-long-before-start}