订阅消息,subscribeMessage.send调用报47001?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:20 2115 0 全屏看文

AI助手支持GPT4.0

订阅消息,subscribeMessage.send调用报47001?

java开发,main函数调用,能正常发送服务通知;通过小程序进入java后台控制层调用接口报47001(都是调用test方法)

接口调用地址https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=我的token

接口参数{"touser":"我的openID","data":{"thing8":{"value":"請按預約時間到診所就診"},"name1":{"value":"劉備"}},"miniprogram_state":"trial","template_id":"我的template_id","page":"/pagesecordecord?toView=d3e30ed385a143089220b03f61066f4f","lang":"zh_TW"}


调用的post方法

Java development, main function call, can send service notification normally; through the small program to enter the Java background control layer, call interface 47001 (all call test method) interface call address https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_ Token = my token interface parameter {"touser": "my openid", "data": {"thing8": {"value": "please go to the clinic as scheduled"}, "name1": {"value": "Liu Bei"}}, "miniprogram"_ state":"trial","template_ ID ": my template_ id","page":"/pagesecordecord?toView=d3e30ed385a143089220b03f61066f4f","lang":"zh_ Post method called by TW "}

回答:

Stephen:

亮出你的controller代码

微表情:
Stephen:看起来是没啥错误

-EOF-

AI助手支持GPT4.0