修复配置文件读取不到 启动不成功问题
This commit is contained in:
parent
22c6414dd1
commit
e7128a50a1
|
@ -29,9 +29,9 @@ import java.util.*;
|
|||
* @Date 2024/9/2 16:24
|
||||
**/
|
||||
public class DingTalkInitServiceImpl implements IDingTalkInitService {
|
||||
@Value("${dingtalk.appKey}")
|
||||
@Value("${dingtalk.appKey:}")
|
||||
private String appKey;
|
||||
@Value("${dingtalk.appSecret}")
|
||||
@Value("${dingtalk.appSecret:}")
|
||||
private String appSecret;
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -12,7 +12,7 @@ spring:
|
|||
dynamic:
|
||||
datasource:
|
||||
master:
|
||||
url: jdbc:mysql://ufidahz.com.cn:9014/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
|
||||
url: jdbc:mysql://ufidahz.com.cn:9014/businesscenter_kjs?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
|
||||
username: root
|
||||
password: 62e4295b615a30dbf3b8ee96f41c820b
|
||||
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean name="mdmCustomerInitializer" class="com.hzya.frame.plugin.masterData.plugin.MdmPluginInitializer" />
|
||||
<bean name="MdmTestPluginInitializer" class="com.hzya.frame.plugin.masterData.plugin.MdmTestPluginInitializer" />
|
||||
</beans>
|
||||
|
|
Loading…
Reference in New Issue