Pārlūkot izejas kodu

定时任务管理相关接口

jichaobo 2 gadi atpakaļ
vecāks
revīzija
1ceee3f0c4

+ 10 - 10
base-modules/service-system/service-system-biz/src/main/java/com/usky/system/service/task/RyTask.java

@@ -39,8 +39,8 @@ public class RyTask
 
     public void enterpriseIndependenceCompany(){
         System.out.println("企业自主管理-单位");
-//        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscEnterpriseScreen/dataSynchro";
-        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscEnterpriseScreen/dataSynchro";
+        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscEnterpriseScreen/dataSynchro";
+//        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscEnterpriseScreen/dataSynchro";
         Map<String, String> map = new HashMap<>();
         map.put("User-Agent", "Apipost client Runtime/+https://www.apipost.cn/");
         map.put("Content-Type", "application/x-www-form-urlencoded");
@@ -53,8 +53,8 @@ public class RyTask
 
     public void postInspectAnswerRequest(){
         System.out.println("值班查岗");
-//        String url = "http://qyxf.usky.cn/prod-api/service-fire/mhPostInspect/postInspectAnswerRequest";
-        String url = "http://172.16.120.165:13200/prod-api/service-fire/mhPostInspect/postInspectAnswerRequest";
+        String url = "http://qyxf.usky.cn/prod-api/service-fire/mhPostInspect/postInspectAnswerRequest";
+//        String url = "http://172.16.120.165:13200/prod-api/service-fire/mhPostInspect/postInspectAnswerRequest";
         Map<String, String> map = new HashMap<>();
         map.put("User-Agent", "Apipost client Runtime/+https://www.apipost.cn/");
         map.put("Content-Type", "application/x-www-form-urlencoded");
@@ -67,8 +67,8 @@ public class RyTask
 
     public void enterpriseIndependenceWhole(){
         System.out.println("企业自主管理-全部");
-//        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscEnterpriseAutonomy/streetCompany";
-        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscEnterpriseAutonomy/streetCompany";
+        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscEnterpriseAutonomy/streetCompany";
+//        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscEnterpriseAutonomy/streetCompany";
         Map<String, String> map = new HashMap<>();
         map.put("User-Agent", "Apipost client Runtime/+https://www.apipost.cn/");
         map.put("Content-Type", "application/x-www-form-urlencoded");
@@ -81,8 +81,8 @@ public class RyTask
 
     public void enterpriseIndependenceStreetTown(){
         System.out.println("企业自主管理-街镇");
-//        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscEnterpriseStreetTown/streetCompany";
-        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscEnterpriseStreetTown/streetCompany";
+        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscEnterpriseStreetTown/streetCompany";
+//        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscEnterpriseStreetTown/streetCompany";
         Map<String, String> map = new HashMap<>();
         map.put("User-Agent", "Apipost client Runtime/+https://www.apipost.cn/");
         map.put("Content-Type", "application/x-www-form-urlencoded");
@@ -95,8 +95,8 @@ public class RyTask
 
     public void lawEnforcement(){
         System.out.println("执法动态");
-//        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscLawTrend/monthLaw";
-        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscLawTrend/monthLaw";
+        String url = "http://qyxf.usky.cn/prod-api/service-fire/bscLawTrend/monthLaw";
+//        String url = "http://172.16.120.165:13200/prod-api/service-fire/bscLawTrend/monthLaw";
         Map<String, String> map = new HashMap<>();
         map.put("User-Agent", "Apipost client Runtime/+https://www.apipost.cn/");
         map.put("Content-Type", "application/x-www-form-urlencoded");