From d1513a9ec3d0970193200dad5d17b54b3c2a924c Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 06 八月 2024 13:41:03 +0800 Subject: [PATCH] 1、完善代码 2、增加了程序关闭时的事件钩子,以实现关闭程序时进行一些必要性处理。 --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/resources/application.yml | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/resources/application.yml b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/resources/application.yml index ae78be9..20b24f8 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/resources/application.yml +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/resources/application.yml @@ -1,6 +1,6 @@ spring: profiles: - include: global, database, database-ym, database-pj + include: global, database, database-ym, database-pj, database-sp #actutor鐨剋eb绔彛 management: @@ -16,3 +16,21 @@ idSuffix: ${pipIrr.sell.idSuffix} #ConfigListener涓簲鐢� #configFileNames: config-global.xml,config-demo.xml +#闃块噷鐭俊鏈嶅姟 +aliyun: + sms: + sms-access-key-id: LTAI5tPCmHqfyJ9YnoPorEwt + sms-access-key-secret: sU2CoLdNgcjnf5uPPU2dY7NNGNvOIX + sms-template-code: SMS_460776024 + sms-sign-name: 澶х鑺傛按 + #redis + redis: + host: localhost + #password:鎴戞槸娌¢厤缃瘑鐮佺殑 + port: 6379 + database: 6 #鎿嶄綔鐨勬槸6鍙锋暟鎹簱 + pool: + max-active: 8 #鏈�澶ц繛鎺ユ暟 + max-wait: -1 #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂� -1琛ㄧず鏃犻檺 + max-idle: 4 #杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺� + min-idle: 0 #杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺� \ No newline at end of file -- Gitblit v1.8.0