Commit 2d2ba5a22a7bea194273197d70cd9a90b95bc24f

Authored by 云中非
1 parent 40529a58

refactor: 微信小程序配置信息

... ... @@ -528,7 +528,7 @@ spring:
528 528 open-in-view: "false"
529 529 hibernate:
530 530 ddl-auto: "none"
531   - show-sql: "true"
  531 + show-sql: "false"
532 532 database-platform: "${SPRING_JPA_DATABASE_PLATFORM:org.hibernate.dialect.PostgreSQLDialect}"
533 533 datasource:
534 534 driverClassName: "${SPRING_DRIVER_CLASS_NAME:org.postgresql.Driver}"
... ... @@ -1131,9 +1131,14 @@ account:
1131 1131 info:
1132 1132 emailSuffix: yunteng.com
1133 1133 defaultPassword: 123456
  1134 +third:
  1135 + wechat:
  1136 + url: https://api.weixin.qq.com
  1137 + appId: wxd5d018355f38262b
  1138 + appSecret: f6975fcc2248b1de2fdd2e40e9d21476
1134 1139 logging:
1135 1140 level:
1136   - org.thingsboard.server.dao.yunteng.mapper: debug
1137   -mybatis-plus:
1138   - configuration:
1139   - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  1141 + org.thingsboard.server.dao.yunteng.mapper: info
  1142 +#mybatis-plus:
  1143 +# configuration:
  1144 +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
... ...
  1 +package org.thingsboard.server.common.data.yunteng.config.third;
  2 +
  3 +import lombok.Data;
  4 +import org.springframework.boot.context.properties.ConfigurationProperties;
  5 +import org.springframework.stereotype.Component;
  6 +
  7 +/**
  8 + * @author Administrator
  9 + */
  10 +@Component
  11 +@Data
  12 +@ConfigurationProperties(prefix = "third.wechat")
  13 +public class WechatProperties {
  14 + private String url;
  15 + private String appId;
  16 + private String appSecret;
  17 +
  18 +}
... ...