From fc1c07ebcd066e8c4d642ae46a3337ca978a62ef Mon Sep 17 00:00:00 2001 From: wangyi15124 Date: Mon, 21 Feb 2022 14:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/application.properties | 22 +++++++++---------- config/config.properties | 1 - .../intelligence/constant/WechatConstant.java | 8 +++---- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/config/application.properties b/config/application.properties index 50c30e6..ad77100 100644 --- a/config/application.properties +++ b/config/application.properties @@ -13,35 +13,35 @@ insertnewwords.url = http://192.168.71.84:8490/newDic/insert # 定时任务开关(0:关闭,1:开启) # 监测分析 -schedule.analysis.open=0 +schedule.analysis.open=1 #schedule.analysispt.cron=0 0 22 * * ? schedule.analysispt.cron=0 0/1 * * * ? # 监测分析pt -schedule.analysispt.open=0 +schedule.analysispt.open=1 -# 声量监测 +# 声量监测(0:关闭,1:开启) schedule.volume.open=0 -# 声量监测pt +# 声量监测pt(0:关闭,1:开启) schedule.volumept.open=0 -# 数据报告-日报列表 +# 数据报告-日报列表(0:关闭,1:开启) schedule.dayreport.open=0 -# 数据报告-周报列表 +# 数据报告-周报列表(0:关闭,1:开启) schedule.weekreport.open=0 -# 数据报告-月报列表 +# 数据报告-月报列表(0:关闭,1:开启) schedule.monthreport.open=0 -# 数据报告-数据 +# 数据报告-数据(0:关闭,1:开启) schedule.report.open=0 -# 预警 -schedule.warning.open=0 +# 预警(0:关闭,1:开启) +schedule.warning.open=1 #微信推送 schedule.wechat.open=0 #微信定时生成二维码 schedule.wechatqrcode.open=0 -#热点 +#热点(0:关闭,1:开启) es.hot.open=1 diff --git a/config/config.properties b/config/config.properties index 5a22a28..26d89e3 100644 --- a/config/config.properties +++ b/config/config.properties @@ -1,3 +1,2 @@ # 服务器文件路径 - product.manual.path=C:/Users/zhx/Desktop/新版本舆情产品手册V1.0.pdf \ No newline at end of file diff --git a/src/main/java/com/stonedt/intelligence/constant/WechatConstant.java b/src/main/java/com/stonedt/intelligence/constant/WechatConstant.java index 37a15eb..94961f5 100644 --- a/src/main/java/com/stonedt/intelligence/constant/WechatConstant.java +++ b/src/main/java/com/stonedt/intelligence/constant/WechatConstant.java @@ -7,19 +7,19 @@ package com.stonedt.intelligence.constant; public class WechatConstant { // appid - public final static String AppID = "wx27ae60471bc5516f"; + public final static String AppID = "*************"; //AppSecret - public final static String AppSecret = "18f16a4529395014b66cb8394aeddaf9"; + public final static String AppSecret = "******************"; //获取AccessToken接口 - public final static String api_wechat_AccessToken = "18f16a4529395014b66cb8394aeddaf9"; + public final static String api_wechat_AccessToken = "************************"; //发送模板消息 public final static String api_wechat_template = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx27ae60471bc5516f&secret=18f16a4529395014b66cb8394aeddaf9"; //获取二维码ticket - public final static String api_wechat_qrcode = "18f16a4529395014b66cb8394aeddaf9"; + public final static String api_wechat_qrcode = "***********************"; //模板id public final static String api_wechat_template_id = "Yr-BmtZJctEJSgfq2GfqPnb44iLc6exhesUuUcrasdk";