|
@@ -20,4 +20,42 @@ public class CwjsPolicyApprovedNoticeJob {
|
|
XxlJobHelper.log(e.getMessage());
|
|
XxlJobHelper.log(e.getMessage());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 财务结算中 给运营发送微信通知 每月1号 早上9点
|
|
|
|
+ * @throws Exception
|
|
|
|
+ */
|
|
|
|
+ @XxlJob("sendMessageToOperate")
|
|
|
|
+ public void sendMessageToOperate() throws Exception {
|
|
|
|
+ try {
|
|
|
|
+// String url = "http://gateway.tjyourong.com.cn/finance/cwjsPolicyInfo/weiXinNotice";
|
|
|
|
+ String url = "http://api.tjyourong.com.cn/finance/exportReportController/sendMessageToOperate";
|
|
|
|
+ HttpUtils2.httpGet(url, null, null);
|
|
|
|
+ XxlJobHelper.log("send CWJS-operate weixin message success");
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ XxlJobHelper.log(e.getMessage());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * demo
|
|
|
|
+ * @throws Exception
|
|
|
|
+ */
|
|
|
|
+ @XxlJob("sendMessageToOperateDemo")
|
|
|
|
+ public void sendMessageToOperateDemo() throws Exception {
|
|
|
|
+ try {
|
|
|
|
+ String url = "http://api.tjyourong.com.cn/finance/exportReportController/sendMessageToOperateDemo";
|
|
|
|
+ HttpUtils2.httpGet(url, null, null);
|
|
|
|
+ XxlJobHelper.log("send CWJS-operate weixin message success");
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ XxlJobHelper.log(e.getMessage());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|