企业微信推送步骤不全
Created by: Sunbangyan233
问题描述
如题,创建时应当勾选固定出口ip。 并且在应用管理-应用名称-企业可信IP中配置此ip,该应用才能正常推送。
运行环境
云函数
程序版本
v2.1.9
复现流程
No response
完整日志
START RequestId: 0a1f818b-b3e4-4691-b3b9-24f1cc8ad5f3
-------------------------------------------------------------
| Genshin Dailynote Helper |
-------------------------------------------------------------
| Current Version: v2.1.9 |
| Last Update: July 24, 2022 |
| Github: https://github.com/Xm798/Genshin-Dailynote-Helper |
-------------------------------------------------------------
🗝️ 当前配置了1个账号,正在执行第1个
-------------------------
正在获取角色信息
Starting new HTTPS connection (1): api-os-takumi.mihoyo.com:443
https://api-os-takumi.mihoyo.com:443 "GET /binding/api/getUserGameRolesByCookie?game_biz=hk4e_global HTTP/1.1" 200 722
获取到国际服的1个角色...
第1个角色,901***192 果粒橙QAQ
Starting new HTTPS connection (1): bbs-api-os.mihoyo.com:443
https://bbs-api-os.mihoyo.com:443 "GET /game_record/app/genshin/api/dailyNote?role_id=901242192&server=os_cht HTTP/1.1" 403 0
获取数据失败!
Starting new HTTPS connection (1): qyapi.weixin.qq.com:443
https://qyapi.weixin.qq.com:443 "GET /cgi-bin/gettoken?corpid=ww3094c88ae85bdc2a&corpsecret=hk0RoYU8fdqRVc4qaqJxlIwXBbR2VQXJmAa7QeXkUNE HTTP/1.1" 200 277
Starting new HTTPS connection (1): qyapi.weixin.qq.com:443
https://qyapi.weixin.qq.com:443 "GET /cgi-bin/gettoken?corpid=ww3094c88ae85bdc2a&corpsecret=hk0RoYU8fdqRVc4qaqJxlIwXBbR2VQXJmAa7QeXkUNE HTTP/1.1" 200 277
Starting new HTTPS connection (1): qyapi.weixin.qq.com:443
https://qyapi.weixin.qq.com:443 "POST /cgi-bin/message/send?access_token=Yf3RE-UQ2PXBmC8ZY9ENRTuvprN7LLF6jovy5IWrUsNQtECYOmeUNlHDsPNnaUcMo_utsRTxRL6iJRityj8W-nNPv5IzB6UBS4rjR2wM_GdL8deQOcatYQas4SRz-IMcRnboBVROESgJsaOdZtq9uEDkBMxyGpo3Xf7-7nub4GKkCaBQUZxsU9P98Dn6QMtXFEqwjS0H78DXPG8ypA5fww HTTP/1.1" 200 189
Wechat Work App 😳
<Response [200]>
{'errcode': 60020, 'errmsg': 'not allow to access from your ip, hint: [1659765533248532165309420], from ip: 43.155.118.123, more info at https://open.work.weixin.qq.com/devtool/query?e=60020'}
-------------------------
本轮运行结束,等待下次检查...
Response RequestId: 0a1f818b-b3e4-4691-b3b9-24f1cc8ad5f3 RetMsg: null
END RequestId: 0a1f818b-b3e4-4691-b3b9-24f1cc8ad5f3
Report RequestId: 0a1f818b-b3e4-4691-b3b9-24f1cc8ad5f3 Duration: 492ms Memory: 128MB MemUsage: 21.99MB
其他补充说明
No response