清理暂时无用的 nacos 配置文件

This commit is contained in:
2026-06-05 10:29:29 +08:00
parent 5931d65806
commit 044f9e31f3
10 changed files with 3 additions and 121 deletions
@@ -33,11 +33,7 @@ security:
- /notify/** - /notify/**
- /actuator/** - /actuator/**
# MyBatis Plus 全局配置
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
# Feign 服务提供者配置(默认走聚合启动器,独立模式请在各服务配置中覆盖) # Feign 服务提供者配置(默认走聚合启动器,独立模式请在各服务配置中覆盖)
feign: feign:
+2 -1
View File
@@ -14,7 +14,7 @@ spring:
min-idle: 5 min-idle: 5
max-active: 20 max-active: 20
max-wait: 60000 max-wait: 60000
# MyBatis Plus 全局配置
mybatis-plus: mybatis-plus:
global-config: global-config:
db-config: db-config:
@@ -25,6 +25,7 @@ mybatis-plus:
logic-not-delete-value: 0 logic-not-delete-value: 0
configuration: configuration:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:/mapper/**/*.xml mapper-locations: classpath*:/mapper/**/*.xml
tenant: tenant:
@@ -1,8 +0,0 @@
# rui-service-cache.yaml — 缓存服务配置
# Data ID: rui-service-cache.yaml
# Group: DEFAULT_GROUP
# 功能:Redis缓存封装、分布式锁
# 服务端口:9309(缓存服务)
server:
port: 9309
@@ -1,8 +0,0 @@
# rui-service-file.yaml — 文件存储服务配置
# Data ID: rui-service-file.yaml
# Group: DEFAULT_GROUP
# 功能:文件上传、下载、OOS存储、本地存储
# 服务端口:9305(文件服务)
server:
port: 9305
@@ -1,8 +0,0 @@
# rui-service-log.yaml — 日志服务配置
# Data ID: rui-service-log.yaml
# Group: DEFAULT_GROUP
# 功能:日志收集、日志分析、ELK集成
# 服务端口:9310(日志服务)
server:
port: 9310
@@ -1,8 +0,0 @@
# rui-service-monitor.yaml — 监控告警服务配置
# Data ID: rui-service-monitor.yaml
# Group: DEFAULT_GROUP
# 功能:系统监控、性能指标、告警通知
# 服务端口:9311(监控服务)
server:
port: 9311
@@ -1,8 +0,0 @@
# rui-service-msg.yaml — 消息通知服务配置
# Data ID: rui-service-msg.yaml
# Group: DEFAULT_GROUP
# 功能:SMS短信、邮件、站内信、App推送
# 服务端口:9304(消息服务)
server:
port: 9304
@@ -1,7 +0,0 @@
# rui-service-order.yaml — 订单服务配置
# Data ID: rui-service-order.yaml
# Group: DEFAULT_GROUP
# 服务端口:9306(订单服务)
server:
port: 9306
@@ -1,60 +0,0 @@
# rui-service-pay.yaml — 支付服务配置
# Data ID: rui-service-pay.yaml
# Group: DEFAULT_GROUP
# 功能:支付通道、支付回调、对账
# 服务端口:9307(支付服务)
server:
port: 9307
# 支付模块配置
payment:
# 订单超时时间(分钟)
order-timeout: 30
# 分账延迟时间(天)
split-delay-days: 7
# 佣金结算周期
commission-settle-cycle: T+1
# 通知重试次数
notify-max-times: 5
# 通知间隔(秒)
notify-intervals: 15,30,60,300,900
# 渠道配置(示例)
payment:
channels:
alipay:
enabled: true
sandbox: true
app-id: ${ALIPAY_APP_ID:}
private-key: ${ALIPAY_PRIVATE_KEY:}
public-key: ${ALIPAY_PUBLIC_KEY:}
notify-url: http://localhost:9307/payment/notify/alipay
wechat_pay:
enabled: true
sandbox: true
app-id: ${WXPAY_APP_ID:}
mch-id: ${WXPAY_MCH_ID:}
api-v3-key: ${WXPAY_API_V3_KEY:}
notify-url: http://localhost:9307/payment/notify/wechat_pay
# 安全白名单
security:
oauth2:
ignore-urls:
- /payment/entry/**
- /payment/notify/**
# Swagger 文档
springdoc:
swagger-ui:
enabled: true
path: /swagger-ui.html
api-docs:
enabled: true
path: /v3/api-docs
knife4j:
enable: true
setting:
language: zh_cn
@@ -1,8 +0,0 @@
# rui-service-search.yaml — 搜索服务配置
# Data ID: rui-service-search.yaml
# Group: DEFAULT_GROUP
# 功能:Elasticsearch封装、全文检索
# 服务端口:9308(搜索服务)
server:
port: 9308