Parcourir la source

财务政策审核微信提示

yangzian il y a 3 ans
Parent
commit
6d984eec6c

+ 23 - 0
module-job-bytedance/src/main/java/cn/com/ctop/job/bytedance/handler/CwjsPolicyApprovedNoticeJob.java

@@ -0,0 +1,23 @@
+package cn.com.ctop.job.bytedance.handler;
+
+import cn.com.ctop.common.module.utils.HttpUtils2;
+import com.xxl.job.core.context.XxlJobHelper;
+import com.xxl.job.core.handler.annotation.XxlJob;
+import org.springframework.stereotype.Component;
+
+@Component
+public class CwjsPolicyApprovedNoticeJob {
+
+
+    @XxlJob("cwjsPolicyApprovedNoticeWxJob")
+    public void execute() throws Exception {
+        try {
+//            String url = "http://gateway.tjyourong.com.cn/finance/cwjsPolicyInfo/weiXinNotice";
+            String url = "http://api.tjyourong.com.cn/finance/cwjsPolicyInfo/weiXinNotice";
+            HttpUtils2.httpGet(url, null, null);
+            XxlJobHelper.log("send weixin message success");
+        } catch (Exception e) {
+            XxlJobHelper.log(e.getMessage());
+        }
+    }
+}

+ 1 - 1
module-job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/handler/KuaishouDailyAudienceReportJob.java

@@ -85,7 +85,7 @@ public class KuaishouDailyAudienceReportJob {
 
     @XxlJob("kuaishouDailyTaoTeAudienceReportJob")
     public void getTaoTeAudienceData() throws Exception {
-        String url = "http://gateway.tjyourong.com.cn/jeecg-boot/test/getAudienceDataNew";
+        String url = "http://api.tjyourong.com.cn/jeecg-boot/test/getAudienceDataNew";
         HttpUtils2.httpGet(url, null, null);
     }
 

+ 1 - 1
module-job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/handler/KuaishouOperationRecordJob.java

@@ -56,7 +56,7 @@ public class KuaishouOperationRecordJob {
             });
         });*/
 
-        String url = "http://gateway.tjyourong.com.cn/jeecg-boot/test/getOperationRecord";
+        String url = "http://api.tjyourong.com.cn/jeecg-boot/test/getOperationRecord";
 
         tokens.forEach(token -> {
             Map<String, Object> requestMap = new HashMap<>();