小程序订阅消息只能发一次?

小程序 文章 2022-01-19 17:40 1583 0 全屏看文

AI助手支持GPT4.0

小程序订阅消息只能发一次?Can a Mini Program subscription message only be sent once?

小程序订阅消息只能发一次?

我的需求是后台提交新的数据就触发一次短信发送和订阅消息发送,前端只可能让用户授权一次啊,不可能每次都授权 !!!官方和百度又说一次性订阅是授权一次发送一次了。。。这到底要怎么实现一次授权就能收到多次消息啊????要疯了

My demand is that when the background submits new data, it will trigger a short message sending and subscription message sending. The front end can only allow users to authorize once, but not every time!!! Officials and Baidu said that one-time subscription is authorized to send once at a time... How in the end does this realize that one authorization can receive multiple messages???? It's going crazy

回答:

岁月:

多订阅几种模板消息可以吗

青寒:

重新设计你们业务实现方式。

Travelerᘗ:不改变需求的情况下就没有其他办法了吗
拾忆:

目前一次性订阅消息是这样子的,反抗无效。

Travelerᘗ:这也忒坑人了,我看其他小程序都能实现哇  到底是哪个环节出了问题
拾忆:代替方案:
1.公众号的模板消息
2.企业应用消息(但是技能是企业微信用户)
3.邮箱、短信或其它
Travelerᘗ:1能具体点么(灰常感谢),,2不符合  3已经有短信了
拾忆:小程序通过统一消息接口发送公众号模板消息(其中小程序模板消息部分代码已经下架无法使用):https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/uniform-message/uniformMessage.send.html

公众号模板消息接口:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html


以上方案是基于用户需要关注公众号,否则也无法推送。
Travelerᘗ:好的  需要关注公众号也不符合我们需求  谢谢大神。。

-EOF-

AI助手支持GPT4.0