From c1167e93f9d451c8ee84d8db6e61fd8cb560fe5f Mon Sep 17 00:00:00 2001 From: 19991905653 Date: Wed, 3 Apr 2024 18:02:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=832?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-prod2.yml | 61 ++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/main/resources/application-prod2.yml diff --git a/src/main/resources/application-prod2.yml b/src/main/resources/application-prod2.yml new file mode 100644 index 0000000..f8e8e1d --- /dev/null +++ b/src/main/resources/application-prod2.yml @@ -0,0 +1,61 @@ +server: + port: 9888 +spring: + datasource: + url: jdbc:mysql://rm-bp1b572nblln4jho2.mysql.rds.aliyuncs.com/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false + username: root + password: Czg666888 + driver-class-name: com.mysql.cj.jdbc.Driver + initialSize: 5 + minIdle: 5 + maxActive: 20 + maxWait: 60000 + logging: + level: + com.chaozhanggui.system.openness: info + redis: + # redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突 + database: 0 + # redis服务器地址(默认为localhost) + host: 127.0.0.1 + # redis端口(默认为6379) + port: 6379 + # redis访问密码(默认为空) + password: 111111 + # redis连接超时时间(单位为毫秒) + timeout: 1000 + block-when-exhausted: true + # redis连接池配置 + jedis: + pool: + max-active: 8 + max-idle: 1024 + min-idle: 0 + max-wait: -1 + main: + allow-circular-references: true + rabbitmq: + host: 127.0.0.1 + port: 5672 + username: admin + password: Czg666888 +#分页配置 +pagehelper: + supportMethodsArguments: true + reasonable: true + helperDialect: mysql + params: count=countSql + +mybatis: + configuration: + map-underscore-to-camel-case: true + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + mapper-locations: classpath:mapper/*.xml +ysk: + url: https://gatewaytestapi.sxczgkj.cn/gate-service/ + callBackurl: https://cashier.sxczgkj.cn/cashierService/notify/notifyCallBack + callBackIn: https://cashier.sxczgkj.cn/cashierService/notify/memberInCallBack + default: 19191703856 + + +