Przeglądaj źródła

端口号修改,ip添加

hanzhiwei 3 lat temu
rodzic
commit
7a5badbe8e

+ 4 - 0
zd-modules/zd-algorithm/pom.xml

@@ -23,5 +23,9 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.zd</groupId>
+            <artifactId>zd-common-security</artifactId>
+        </dependency>
     </dependencies>
 </project>

+ 1 - 1
zd-modules/zd-algorithm/src/main/resources/bootstrap.yml

@@ -1,6 +1,6 @@
 # Tomcat
 server:
-  port: 9201
+  port: 9202
 
 # Spring
 spring:

+ 1 - 1
zd-modules/zd-base/src/main/resources/logback.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration scan="true" scanPeriod="60 seconds" debug="false">
     <!-- 日志存放路径 -->
-    <property name="log.path" value="logs/zd-file"/>
+    <property name="log.path" value="logs/zd-base"/>
     <!-- 日志输出格式 -->
     <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n"/>
 

+ 1 - 2
zd-modules/zd-chemical/src/main/java/com/zd/chemical/util/SmsSydUtil.java

@@ -14,7 +14,6 @@ import com.zd.common.core.utils.DateUtils;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Component;
 
 import javax.validation.constraints.NotNull;
@@ -34,7 +33,7 @@ public class SmsSydUtil {
     private Account account = new Account("djjx", "yfhzfGSJ");
 
     @Value("${sms-syd.ip}")
-    private String SMS_IP;
+    private String SMS_IP="192.168.32.153";;
     @Value("${sms-syd.down-port:8090}")
     public int DOWN_PORT;
     @Value("${sms-syd.up-port:8188}")