上传代码

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 #重新评审 项目中心查询服务

View File

@ -1,6 +1,6 @@
# 对应 apollo 配置中心的应用名
app:
id: biz-service-ebtp-project
id: biz-supplier-manage
# Apollo 配置信息
apollo:
@ -11,117 +11,3 @@ apollo:
spring:
profiles:
active: master
jasypt:
encryptor:
bean: stringEncryptor
client:
notification-url: 1
clientHttpUrl: 1
check:
porject:
num-value: 1
name-value: 1
length: 1
checkBoolen: 1
user:
auth:
resource:
serviceId:mall-auth: 1
unifast:
sso:
getCode:
url: 1
redirectUrl: 1
clientId: 1
public-key: 1
jury:
loginCheck:
privateKey: 1
message:
privateKey: 1
callBackUrl: 1
appCode: 1
checkVerifycodeHttpUrl: 1
sendVerifycodeHttpUrl: 1
oss:
bucketName: 1
accessKeySecret: 1
accessKeyId: 1
endpoint: 1
KingSoftWps:
downloadUrl: 1
downloadUrl2: 1
publicKey: 1
privateKey: 1
host: 1
time_limit: 1
kswpsurl: 1
kswpsurl-preview: 1
tempDocFileId: 1
mconfig:
rsa:
field:
pivate_key: 1
wps:
bss:
appTokenUrl: 1
previewUrl: 1
editUrl: 1
url:
appTokenUrl: 1
previewUrl: 1
downFileUrl: 1
editUrl: 1
bssAppId: 1
bssAppSecret: 1
bssAppUrl: 1
appid: 1
appKey: 1
bss:
app-url: 1
app-url-test: 1
app-secret: 1
app-id: 1
feign:
name:
usercenter: 1
tender: 1
rsms: 1
strategy-center: 1
resps: 1
project: 2
process: 1
notification: 1
documentcenter: 2
service-name-wfap: 1
service-price-usercenter: 1
service-price-query: 1
service-name-notification: 1
service-name-resu: 1
service-name-purp: 1
service-name-tender: 1
service-name-rsms: 1
service-name-resps: 1
service-name-proces: 1
service-name-open: 1
service-name-bid: 1
service-name-evaluation: 1
service-name-calibration: 1
service-name-auction: 1
service-name-archive: 1