diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 199ea92db38fd7f0377af25df08053c033f201df..5735bc98c366c0cb5da71cd9c0727dcf3a860356 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,19 +6,25 @@ logging.level.root=info server.port=9999 # 微信公众号信息 微信公众号后台找 -wechat.appId=xxxx -wechat.secret=xxxx +wechat.appId=wx0038a0a96a11b3df +wechat.secret=c5ba2e807abe569213ddca1a24ea2670 # 微信模板 微信公众号里新建 模板内容可以贴 wechat-push/src/main/resources/templates/模板.txt -wechat.templateId=xxxx +wechat.templateId={{riqi.DATA}} +{{beizhu.DATA}} +天气:{{tianqi.DATA}} +最低温度:{{low.DATA}} 度 +最高温度:{{high.DATA}} 度 +{{caihongpi.DATA}} +{{jinju.DATA}} # 推送目标微信id # 访问 http://127.0.0.1:9999/push 可以给这个id推送,定时也是给这个id推送 -target.openId=xxxx +target.openId=a1971743532 # 推送测试目标微信id # 访问 http://127.0.0.1:9999/push/test 可以给这个id推送 -target.test.openId=xxxx +target.test.openId=mao872032901 # 领证日期 target.linZheng=2023-05-20 @@ -30,9 +36,9 @@ target.jieHun=2023-05-20 target.lianAi=2015-11-07 # 百度天气 https://lbsyun.baidu.com/apiconsole/center#/home -weather.ak=xxxx +weather.ak=8scR83IfLeZgUbVa8e2CF6EDnY2TRTM1 # 地区编码 各地区见doc/weather_district_id.xlsx -weather.district_id=110107 +weather.district_id=410105 # 天行彩虹屁 https://www.tianapi.com/apiview/181 -tian.caihongpi.key=xxxxx +tian.caihongpi.key=741b7c34d82e4f37bae44ffd13fe8694