From 6e3294926bb7b9520efd6b22a3ab2f4eda1df8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=B5=B7=E6=B3=A2?= <2353707311@qq.com> Date: Mon, 15 Jan 2024 01:48:06 +0000 Subject: [PATCH] update src/main/resources/application.properties. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 周海波 <2353707311@qq.com> --- src/main/resources/application.properties | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 199ea92..4aa39aa 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,24 +1,23 @@ -# 注意等号后面不要加空格 spring.application.name=weixin.tuisong logging.level.root=info # 端口号 -server.port=9999 +server.port=8080 # 微信公众号信息 微信公众号后台找 -wechat.appId=xxxx -wechat.secret=xxxx +wechat.appId=wx1933cbbea997c376 +wechat.secret=e62fe6ec507f3462c4617f4637f476f0 # 微信模板 微信公众号里新建 模板内容可以贴 wechat-push/src/main/resources/templates/模板.txt -wechat.templateId=xxxx +wechat.templateId=Hx_yYLE7mFIMhecevEzTG2rMrgJjC8EtZuop7ahnwCY # 推送目标微信id # 访问 http://127.0.0.1:9999/push 可以给这个id推送,定时也是给这个id推送 -target.openId=xxxx +target.openId=oJfFj6VaeWp4pnJPwl2sOk6-CKoE # 推送测试目标微信id # 访问 http://127.0.0.1:9999/push/test 可以给这个id推送 -target.test.openId=xxxx +target.test.openId=oJfFj6c4fDc44C6pQcRo1AJ3VJ_4 # 领证日期 target.linZheng=2023-05-20 @@ -32,7 +31,7 @@ target.lianAi=2015-11-07 # 百度天气 https://lbsyun.baidu.com/apiconsole/center#/home weather.ak=xxxx # 地区编码 各地区见doc/weather_district_id.xlsx -weather.district_id=110107 +weather.district_id=640100 # 天行彩虹屁 https://www.tianapi.com/apiview/181 -tian.caihongpi.key=xxxxx +tian.caihongpi.key=db227a6f9b3ae7d00a9870d090a7614e \ No newline at end of file -- Gitee