deason před 4 roky
rodič
revize
14a270e371

+ 1 - 1
config-center-client/src/main/java/cn/com/qmth/framework/config/center/client/utils/AESUtils.java

@@ -67,7 +67,7 @@ public class AESUtils {
 
     private static SecretKey initSecretKey(String key) {
         if (StringUtils.isEmpty(key)) {
-            throw new IllegalArgumentException("secretKey must be not null");
+            throw new IllegalArgumentException("secretKey must be not empty");
         }
 
         byte[] keyBytes = key.getBytes();

+ 1 - 0
config-center-server/src/main/resources/application.properties

@@ -4,5 +4,6 @@ server.servlet.context-path=/
 server.tomcat.uri-encoding=UTF-8
 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
 spring.jackson.time-zone=GMT+8
+spring.application.name=config-center-server
 # logging config
 sys.log.level=debug