配置文件
This commit is contained in:
parent
20bf3c186a
commit
afb72d28db
|
|
@ -41,5 +41,4 @@ system:
|
||||||
bucket: /lnyst
|
bucket: /lnyst
|
||||||
|
|
||||||
|
|
||||||
oss:
|
|
||||||
endpoint: http://localhost:9000
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,51 @@ spring:
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
messages:
|
||||||
|
basename: "message_device,message_account,message_adapter,message_allocation,message_attendance,message_auth,message_common,message_customer,message_dorm,message_drp,message_kitchen,message_marketing,message_menu,message_merchant,message_notice,message_nutrition,message_open,message_order,message_pay,message_report,message_supermarket,message_backfield,message_bus"
|
||||||
|
fallback-to-system-locale: false
|
||||||
|
mq:
|
||||||
|
type: ${MQ_TYPE:rabbitmq}
|
||||||
|
namespace: __yunshitang__
|
||||||
|
topics:
|
||||||
|
- name: order #订单
|
||||||
|
- name: backfield #后场
|
||||||
|
- name: drp #出入库
|
||||||
|
- name: supermarket #商超
|
||||||
|
- name: device #设备
|
||||||
|
- name: acc #账户
|
||||||
|
- name: notice #通知
|
||||||
|
- name: auth #权限
|
||||||
|
- name: menuai #菜品识别
|
||||||
|
- name: dishes #菜品
|
||||||
|
- name: marketing #营销
|
||||||
|
- name: backfield-mqtt
|
||||||
|
- name: device-mqtt
|
||||||
|
- name: customer
|
||||||
|
- name: pay
|
||||||
|
- name: canteen
|
||||||
|
- name: merchant
|
||||||
|
- name: paddle-ai
|
||||||
|
rabbitmq:
|
||||||
|
clean-none-namespace-queue: true
|
||||||
|
publisher-confirm-type: correlated
|
||||||
|
publisher-returns: true
|
||||||
|
username: guest
|
||||||
|
password: guest
|
||||||
|
addresses: ${RABBITMQ_ADDRESS:localhost:5672}
|
||||||
|
address-shuffle-mode: random
|
||||||
|
connection-timeout: 3000
|
||||||
|
listener:
|
||||||
|
simple:
|
||||||
|
acknowledge-mode: manual
|
||||||
|
prefetch: ${RABBITMQ_CONSUMER_PREFETCH:10}
|
||||||
|
rocketmq:
|
||||||
|
name-server: ${ROCKETMQ_NAME_SERVER:rocketmq-nameserver:9876}
|
||||||
|
access-key: ${ROCKETMQ_ACCESS_KEY:root@rocket}
|
||||||
|
secret-key: ${ROCKETMQ_SECRET_KEY:do@u.can}
|
||||||
|
mqtt-enabled: true
|
||||||
|
producer:
|
||||||
|
group: default
|
||||||
|
|
||||||
alipay:
|
alipay:
|
||||||
URL: https://openapi.alipay.com/gateway.do
|
URL: https://openapi.alipay.com/gateway.do
|
||||||
|
|
@ -48,4 +93,28 @@ system:
|
||||||
prefixOffline: http://localhost:9000/lnyst
|
prefixOffline: http://localhost:9000/lnyst
|
||||||
prefixOnline: http://localhost:9000/lnyst
|
prefixOnline: http://localhost:9000/lnyst
|
||||||
bucket: /lnyst
|
bucket: /lnyst
|
||||||
|
max-upload-file-size: ${MAX_UPLOAD_FILE_SIZE:5}
|
||||||
|
notify:
|
||||||
|
unify-host: ${NOTIFY_UNIFY_HOST:}
|
||||||
|
|
||||||
|
data-config:
|
||||||
|
sm4-key: ${SENSITIVE_SM4KEY:jY7bZz6Pjml+H/WZYfNSNA==}
|
||||||
|
encrypted: ${SENSITIVE_ENCRYPTED:true}
|
||||||
|
desensitization: ${SENSITIVE_DESENSITIZATION:true}
|
||||||
|
|
||||||
|
oss:
|
||||||
|
endpoint: ${OSS_ENDPOINT:http://127.0.0.1:9000}
|
||||||
|
access-key: ${OSS_ACCESS_KEY:minioadmin}
|
||||||
|
secret-key: ${OSS_SECRET_KEY:minioadmin}
|
||||||
|
bucketName: ${OSS_BUCKET:lnyst}
|
||||||
|
expiresTime: ${OSS_EXPIRES_TIME:604600}
|
||||||
|
useToken: ${OSS_USE_TOKEN:false}
|
||||||
|
region: ${OSS_REGION:}
|
||||||
|
path-style-access: ${OSS_PATH_STYLE:true}
|
||||||
|
useHttp: ${OSS_USE_HTTP:false}
|
||||||
|
|
||||||
|
tenant:
|
||||||
|
carrier-name: MERCHANT-ID
|
||||||
|
schema-prefix: ${TENANT_SCHEMA_PREFIX:}
|
||||||
|
schema-suffix: ${TENANT_SCHEMA_SUFFIX:}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue