forked from kidgrow-microservices-platform

zxh
2020-09-07 bdd5926a8d0f5dfad866de6b3e20b1ccf8e845f5
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.*