想问下关于这里说的如果不一致则调用wx.qy.login重新登录流程,此时会返回正确的[CorpId, Secret]吗,看文档login接口只会返回code
想问下关于这里说的如果不一致则调用wx.qy.login重新登录流程,此时会返回正确的[CorpId, Secret]吗,看文档login接口只会返回code
I would like to ask about the call if it is inconsistent wx.qy.login When you log in again, will the correct [Corpid, secret] be returned? If you look at the document, the login interface will only return code
回答:
原文出处:关于多企业关联同一个小程序的问题?
您好,是用户登入小程序获取到code之后,当不知道用户所属企业时可以随意使用其中一个企业的corpid和secret获取的token进行code2seesion,然后根据返回的corpid对比获取token的corpid是否一致,不一致就重新进行一遍code2seesion接口