From 29e9eafe95cf4ac1f426eefd9740caf808e64dbc Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Fri, 12 Jun 2020 16:57:46 +0800 Subject: [PATCH] 修改Redis的保存时间,修改验证完毕后清除Redis,修改验证码发送后返回验证码 --- kidgrow-demo/kidgrow-demo-order/src/main/resources/application.yml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kidgrow-demo/kidgrow-demo-order/src/main/resources/application.yml b/kidgrow-demo/kidgrow-demo-order/src/main/resources/application.yml index 77b0393..d0efb31 100644 --- a/kidgrow-demo/kidgrow-demo-order/src/main/resources/application.yml +++ b/kidgrow-demo/kidgrow-demo-order/src/main/resources/application.yml @@ -11,10 +11,10 @@ application: name: demo-order-server datasource: - url: jdbc:mysql://${kidgrow.datasource.ip}:3306/demo_order?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC + url: jdbc:mysql://${kidgrow.datasource.ip}:3306/demo_order?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: ${kidgrow.datasource.username} password: ${kidgrow.datasource.password} - driver-class-name: com.mysql.jdbc.Driver +# driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource druid: aop-patterns: com.kidgrow.order.controller.*,com.kidgrow.order.mapper.* -- Gitblit v1.8.0