暂存提交
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# 头程本地公共配置。生产环境不得直接使用本文件中的本地默认密钥。
|
||||
baiyue:
|
||||
deployment:
|
||||
region-code: ${REGION_CODE:CN}
|
||||
@@ -32,6 +31,9 @@ spring:
|
||||
client.config.default:
|
||||
connect-timeout: 3000
|
||||
read-timeout: 5000
|
||||
logging:
|
||||
file:
|
||||
path: ${LOG_PATH:./logs}
|
||||
server.shutdown: graceful
|
||||
management:
|
||||
endpoints.web.exposure.include: health,info,prometheus
|
||||
@@ -42,7 +44,6 @@ mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
call-setters-on-nulls: true
|
||||
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||
global-config:
|
||||
banner: false
|
||||
db-config:
|
||||
@@ -50,17 +51,6 @@ mybatis-plus:
|
||||
logic-delete-field: deleted
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
logging:
|
||||
level:
|
||||
com.baiyue.auth.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.iam.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.order.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.firstleg.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.warehouse.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.file.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.print.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.audit.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
com.baiyue.eventbridge.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG}
|
||||
springdoc:
|
||||
api-docs.enabled: ${SWAGGER_ENABLED:true}
|
||||
swagger-ui.enabled: ${SWAGGER_ENABLED:true}
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
springdoc:
|
||||
api-docs.enabled: ${SWAGGER_ENABLED:true}
|
||||
swagger-ui.enabled: ${SWAGGER_ENABLED:true}
|
||||
baiyue:
|
||||
cors:
|
||||
allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:5173,http://localhost:5174,http://127.0.0.1:5173,http://127.0.0.1:5174}
|
||||
allowed-methods: ${CORS_ALLOWED_METHODS:GET,POST,PUT,PATCH,DELETE,OPTIONS}
|
||||
allowed-headers: ${CORS_ALLOWED_HEADERS:*}
|
||||
exposed-headers: ${CORS_EXPOSED_HEADERS:X-Request-Id,X-Trace-Id}
|
||||
allow-credentials: ${CORS_ALLOW_CREDENTIALS:true}
|
||||
max-age: ${CORS_MAX_AGE:3600}
|
||||
|
||||
@@ -4,5 +4,4 @@ spring.datasource:
|
||||
username: ${ORDER_DB_USERNAME:root}
|
||||
password: ${ORDER_DB_PASSWORD:123456}
|
||||
baiyue.clients:
|
||||
# 默认留空并使用 Nacos 的 warehouse-service 实例;仅独立端口回归时显式设置直连 URL。
|
||||
warehouse.url: ${WAREHOUSE_SERVICE_URL:}
|
||||
|
||||
Reference in New Issue
Block a user