he2802 2 năm trước cách đây
mục cha
commit
d6eb2e89a4

+ 1 - 1
zhongzheng-admin-saas/src/main/resources/application-pre.yml

@@ -165,7 +165,7 @@ oldOrder:
     refundPayHandle: http://192.168.1.222:6030/common/platform/pay/handle
 
 oldSys:
-    host: http://gdxypx.xy.com
+    host: http://test.jqbao.net
 
 invoice:
     host: http://192.168.1.222:8077/sys/common/openMplatform/log

+ 1 - 1
zhongzheng-admin/src/main/resources/application-prod.yml

@@ -154,4 +154,4 @@ Nuonuo:
     APPSecret: 07168A248B2844E0
 
 oldSys:
-    host: https://www.xyyxt.net
+    host: http://test.jqbao.net

+ 1 - 1
zhongzheng-api/src/main/resources/application-prod.yml

@@ -166,4 +166,4 @@ Nuonuo:
     APPSecret: 07168A248B2844E0
 
 oldSys:
-    host: https://www.xyyxt.net
+    host: http://test.jqbao.net

+ 5 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/top/order/service/impl/TopOrderRecNoteServiceImpl.java

@@ -19,6 +19,7 @@ import com.zhongzheng.modules.top.order.domain.TopOrderRecNote;
 import com.zhongzheng.modules.top.order.mapper.TopOrderRecNoteMapper;
 import com.zhongzheng.modules.top.order.service.ITopOrderRecNoteService;
 import com.zhongzheng.modules.top.order.vo.TopOrderRecNoteVo;
+import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
@@ -38,6 +39,9 @@ import java.util.stream.Collectors;
 @Service
 public class TopOrderRecNoteServiceImpl extends ServiceImpl<TopOrderRecNoteMapper, TopOrderRecNote> implements ITopOrderRecNoteService {
 
+    @Value("${oldSys.host}")
+    private String OLD_SYS_HOST;
+
     @Override
     public TopOrderRecNoteVo queryById(Long id){
         TopOrderRecNote db = this.baseMapper.selectById(id);
@@ -125,7 +129,7 @@ public class TopOrderRecNoteServiceImpl extends ServiceImpl<TopOrderRecNoteMappe
         params.put("sign", sign);
         params.put("orderNos", orderSn);
         String respone = "";
-        String path = "http://gdxypx.xy.com/WitSystem/BussinessApi/PressMsg";
+        String path = OLD_SYS_HOST+"/WitSystem/BussinessApi/PressMsg";
         try {
             respone = HttpUtils.postFormBody(path, params);
             if (!respone.contains("\"Status\":true")) {