收藏
回答

用模板发送消息

https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html

调用接口:https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=7

参数:"miniprogram":{

             "appid":"xiaochengxuappid12345",

             "pagepath":""

           },

这里面的appid,说是小程序ID,我们公司暂时没有小程序,必须要有小程序才能使用这个接口吗?

回答关注问题邀请回答
收藏

2 个回答

  • 早睡的cloud
    早睡的cloud
    03-15

    你都知道文档地址,还不懂看呀,饭都喂到嘴边

    03-15
    有用 1
    回复
  • BOBO
    BOBO
    03-15

    您没看明白

    1、这是公众号模板消息发送接口。

    2、发送的模板消息是在公众号中查看。不过可以设置用点击模板消息是否跳转

    3、如果支持跳转,可以跳转到H5或小程序。所以你发的这个小程序APPID这里,如果你要跳转小程序就需要配置。如果没有小程序(不需要跳转)可以不传参。

    03-15
    有用
    回复
登录 后发表内容