公众号模板消息设置了url参数,为什么公众号接收到的消息无法跳转?
发布于 6 年前 作者 chaoliu 2927 次浏览 来自 官方Issues

问题描述:

模板消息请求参数中包含了url参数,期望用户点击收到的模板消息后会跳转到相应页面,但实际收到的消息无法跳转,也没有“详情”按钮。

公众号的申请主体是国内公司,请求由香港服务器发出,会被判定为海外帐号吗?

公众号APPID:

wx4020b22e0eb7f19b

调用接口:

https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN

POST参数:

{“touser”:“ouVwaxCTSX1sqRTh9zKaJwplNEZU”,“template_id”:“a6vZRvU2X8ag4HM10qlvWXs7Gb_3clJuQdwEk1tl6Eg”,“url”:“https:\/\/taaaas.worldpp.biz\/”,“data”:{“first”:{“value”:"\u6b22\u8fce\u4f7f\u7528TAAaaS\u5e73\u53f0\u8ba2\u8d2d\u65c5\u884c\u4ea7\u54c1\uff0c\u201c\u5f53\u5730\u73a9\u4e50\u5373\u670d\u52a1\u201d\uff0c\u81ea\u7531\u6311\u9009\u5168\u7403\u76ee\u7684\u5730\u4ea7\u54c1\u3002"},“keyword1”:{“value”:“Laurence”},“keyword2”:{“value”:“2020-02-03 12:17:21”}}}

接口调用返回信息:

{“errcode”:0,“errmsg”:“ok”,“msgid”:1193047463431766017}

截图:

回到顶部