@@ -8,6 +8,13 @@ spring:
|
|||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
|
|
||||||
|
autoconfigure:
|
||||||
|
# 平台 auth starter(1.0.0-20261007.161104-57 起)的 WeChatAuthAutoConfiguration
|
||||||
|
# 没加 @ConditionalOnClass 守卫,Bean 方法签名直接引用 StringRedisTemplate;
|
||||||
|
# 本服务刻意不引 redis(见 pom 注释),启动即在 Bean 反射解析时抛
|
||||||
|
# TypeNotPresentException。本应用走 CAS 登录、无微信场景,整体排除该装配。
|
||||||
|
exclude: com.yunhai.platform.auth.spring.wechat.WeChatAuthAutoConfiguration
|
||||||
|
|
||||||
datasource:
|
datasource:
|
||||||
# characterEncoding=UTF-8 + connectionCollation=utf8mb4_* 保证连接层按 utf8mb4 传输,
|
# characterEncoding=UTF-8 + connectionCollation=utf8mb4_* 保证连接层按 utf8mb4 传输,
|
||||||
# 避免中文写入 latin1 列时报 SQL 1366 Incorrect string value
|
# 避免中文写入 latin1 列时报 SQL 1366 Incorrect string value
|
||||||
|
|||||||
Reference in New Issue
Block a user