小程序消息通知问题?

小程序 文章 2022-04-07 11:20 299 0 全屏看文

AI助手支持GPT4.0

小程序消息通知问题?Mini program message notification problem?

小程序消息通知问题?

公司有一个小程序应用. 用户首次会录入一个表单单,表单会授权获取用户微信手机号码,用户用这个手机号码加手机验证码登入进小程序应用,产品小姐姐说要发消息通知. 开发说没有openid或 unionid发不了消息通知. 产品不相信.他们认为手机号都能获得,认为开发可能看漏了文档,请教一下,有没有其他方法?快打起来了.最好官方账号的回复一下,产品比较信你们.

The company has a small application The user will enter a form for the first time, and the form will authorize to obtain the user's wechat mobile phone number. The user will log in to the applet application with this mobile phone number and mobile phone verification code. The product lady said she would send a message notice The developer said he couldn't send a message without openid or unionid I don't believe in products They think that mobile phone numbers can be obtained. They think that the development may have missed the document. Please ask, is there any other way? There's going to be a fight It's better to reply to the official account. The products are more reliable to you

回答:

海蓝色贝壳🌸 🌻:

手机号是用户主动授权,如果是发小程序的消息通知,需要用户订阅的,你们开发可以自己找官方文档啊

Mr.Zhao:

有openid才能发

叫我李兄:问题是有无技术方案.改程序? 还是改产品?
空空:如果你要使用微信自己的推送消息的话,你必须获取用户的openid,小程序的订阅消息是通过openid(用户在这个小程序的唯一标识)下发的消息,如果不使用微信自己的推送消息你就使用站内信形式只能在小程序内看到。还是获取openid这种形式会好些
空空:

那为什么不获取openid呢

叫我李兄:因为产品设计同一些场景需要所以没有登录没走wx.login过程.
空空:你可以让产品自己找找有没有其他办法
小乙:那么问题来了,你们要用自己的账号密码登录,不准备使用微信自带的,为什么不让用户自己输入手机号?如果要用微信给的,为什么不调用wx.login获取一下openid呢?

-EOF-

AI助手支持GPT4.0