上传代码

This commit is contained in:
sunyu
2025-04-30 10:44:47 +08:00
parent e572a04951
commit 16a9f34e94
288 changed files with 4068 additions and 22290 deletions

View File

@ -1,20 +1,20 @@
server:
port: 18012
port: 18096
servlet:
context-path: /
seata:
service:
vgroup-mapping:
biz-service-ebtp-project-service-group: seata-server-jl
registry:
type: eureka
eureka:
serviceUrl: http://localhost:8080/eureka/
#seata:
# service:
# vgroup-mapping:
# biz-supplier-manage-service-group: seata-server-jl
# registry:
# type: eureka
# eureka:
# serviceUrl: http://localhost:8080/eureka/
# 对应 apollo 配置中心的应用名
app:
id: biz-service-ebtp-project
id: biz-supplier-manage
# Apollo 配置信息
apollo:
@ -31,7 +31,7 @@ spring:
proxy-target-class: true
application:
name: biz-service-ebtp-project
name: biz-supplier-manage
shardingsphere:
datasource:
@ -68,34 +68,36 @@ spring:
write-dates-as-timestamps: false
# 天宫Kafka增加了安全认证需要配置安全属性
kafka:
bootstrap-servers: 10.172.48.110:32050,10.172.48.109:32050,10.172.48.111:32050
template:
default-topic: jl_eshop
# 生产者配置参数
producer:
client-id: core-service-ebtp-crypt
properties:
security.protocol: SASL_PLAINTEXT
sasl.mechanism: SCRAM-SHA-256
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
# 消费者配置参数
consumer:
group-id: core-service-ebtp-crypt-consumer
auto-offset-reset: latest
properties:
security.protocol: SASL_PLAINTEXT
sasl.mechanism: SCRAM-SHA-256
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
# kafka:
# bootstrap-servers: 10.172.48.110:32050,10.172.48.109:32050,10.172.48.111:32050
# template:
# default-topic: jl_eshop
#
# # 生产者配置参数
# producer:
# client-id: core-service-ebtp-crypt
# properties:
# security.protocol: SASL_PLAINTEXT
# sasl.mechanism: SCRAM-SHA-256
# sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
#
# # 消费者配置参数
# consumer:
# group-id: core-service-ebtp-crypt-consumer
# auto-offset-reset: latest
# properties:
# security.protocol: SASL_PLAINTEXT
# sasl.mechanism: SCRAM-SHA-256
# sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
# 生产区 redis 配置
redis:
sentinel:
master: eshop-redis2
nodes: localhost:6379
password: Unicom#135
host: localhost # Redis 服务器地址,默认本地:ml-citation{ref="1,4" data="citationList"}
port: 6379 # 监听端口,默认 6379:ml-citation{ref="1,4" data="citationList"}
password: Yhblsqt%21 # 访问密码(若无密码可省略):ml-citation{ref="1,4" data="citationList"}
database: 4 # 选择数据库编号,默认 0:ml-citation{ref="1,6" data="citationList"}
timeout: 3000 # 连接超时时间(单位:毫秒):ml-citation{ref="4,6" data="citationList"}
# 天宫Eureka配置
eureka:
@ -119,7 +121,7 @@ mybatis-plus:
db-config:
logic-not-delete-value: normal # 逻辑删除标记:正常数据
logic-delete-value: deleted # 逻辑删除标记:已删除的数据
type-aliases-package: com.chinaunicom.mall.ebtp.project
type-aliases-package: com.chinaunicom.mall.ebtp.supplier
hystrix:
command:
@ -144,10 +146,10 @@ ribbon:
mconfig:
swagger-ui-open: true
exception-handle-enabled: true
seata-open-enabled: false
work-id: 1 #终端ID
datacenter-id: 1 #数据中心ID
host-name: http://10.238.25.112/
# seata-open-enabled: false
# work-id: 1 #终端ID
# datacenter-id: 1 #数据中心ID
# host-name: http://10.238.25.112/
service-name-purp: mall-purp #采购系统委托项目微服务
service-name-wfap: mall-wfap #重新评审 流程微服务
service-name-resu: mall-resu #重新评审 项目中心查询服务