WeiXinMPSDK icon indicating copy to clipboard operation
WeiXinMPSDK copied to clipboard

公众号授权给三方平台问题

Open gongzhx1998 opened this issue 2 years ago • 3 comments

扫码进行公众号授权给第三方平台的回调中,ComponentContainer.GetQueryAuthResult查询授权方信息时,会执行AuthorizerContainer.TryUpdateAuthorizationInfo,这里会报出QueryAuthResult:ContainerBag 更新时,Key 不能为空!类型:Senparc.Weixin.Open.Containers.AuthorizerBag错误。更新redis:AuthorizerBag image 所有的信息都是空的

gongzhx1998 avatar Apr 02 '22 12:04 gongzhx1998

@gongzhx1998 这里空的一般是因为已经完成了注册,但是没有成功获取过API的值并写入。 方便提供一下你注册的代码,以及“ComponentContainer.GetQueryAuthResult查询授权方信息时"收到的消息吗?做一个单元测试看一下。

JeffreySu avatar Apr 04 '22 10:04 JeffreySu

你好!你的邮件已收到,我会尽快回复你,谢谢。 

bianlan avatar Oct 11 '22 06:10 bianlan

你好 请问有回复吗@bianlan

SenparcHai avatar Mar 25 '24 03:03 SenparcHai