From 0a994a711c2929afb207ee84a98a94140a29f66f Mon Sep 17 00:00:00 2001 From: zhujianzzzgrgg <3229312520@qq.com> Date: Thu, 26 Oct 2023 09:59:22 +0000 Subject: [PATCH] update src/main/resources/application.properties. Signed-off-by: zhujianzzzgrgg <3229312520@qq.com> --- src/main/resources/application.properties | 29 +++++++++++++++-------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 199ea92..577ab30 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,33 +6,42 @@ logging.level.root=info server.port=9999 # 微信公众号信息 微信公众号后台找 -wechat.appId=xxxx -wechat.secret=xxxx - +wechat.appId=wx60d9d602745499d9 +wechat.secret=f5025298d5ab31b94e231f1cc4f75cc4 # 微信模板 微信公众号里新建 模板内容可以贴 wechat-push/src/main/resources/templates/模板.txt -wechat.templateId=xxxx +wechat.templateId={{riqi.DATA}} +{{beizhu.DATA}} +天气:{{tianqi.DATA}} +最低温度:{{low.DATA}} 度 +最高温度:{{high.DATA}} 度 +今天是我们恋爱的第 {{lianai.DATA}} 天 +我们已经成为合法夫妻 {{linzhen.DATA}} 天了 +距离你的生日还有 {{shengri.DATA}} 天 + +{{caihongpi.DATA}} +{{jinju.DATA}} # 推送目标微信id # 访问 http://127.0.0.1:9999/push 可以给这个id推送,定时也是给这个id推送 -target.openId=xxxx +target.openId=ox99v56EH8tdM-TUvZ62uyNjHWrc # 推送测试目标微信id # 访问 http://127.0.0.1:9999/push/test 可以给这个id推送 -target.test.openId=xxxx +target.test.openId=ox99v56EH8tdM-TUvZ62uyNjHWrc # 领证日期 target.linZheng=2023-05-20 # 生日 -target.shengRi=2022-12-01 +target.shengRi=2005-12-04 # 结婚日期 target.jieHun=2023-05-20 # 恋爱日期 -target.lianAi=2015-11-07 +target.lianAi=2023-10-13 # 百度天气 https://lbsyun.baidu.com/apiconsole/center#/home weather.ak=xxxx # 地区编码 各地区见doc/weather_district_id.xlsx -weather.district_id=110107 +weather.district_id=320213 # 天行彩虹屁 https://www.tianapi.com/apiview/181 -tian.caihongpi.key=xxxxx +tian.caihongpi.key=326ef1800e3abe8e694c8bfaf7f1ec20 -- Gitee