WeiXinMPSDK icon indicating copy to clipboard operation
WeiXinMPSDK copied to clipboard

WxAppApi.GetWxaCodeUnlimitAsync 异步接口有问题,没有出错信息,也没微信数据返回

Open yueliuhun opened this issue 2 years ago • 3 comments

此版块专为反馈 bug 及提交需求服务,不负责解答开发问题,请勿发表开发问题, 如果您需要这方面的帮助,请移步问答社区:https://weixin.senparc.com/QA

问题描述

小程序获取二维码 WxAppApi.GetWxaCodeUnlimit 正常 WxAppApi.GetWxaCodeUnlimitAsync 不正常

异步接口返回{"errcode":0,"ErrorCodeValue":0,"errmsg":null,"P2PData":null}

重现问题步骤(如果可以)

调用后就可以测试了,异步接口返回{"errcode":0,"ErrorCodeValue":0,"errmsg":null,"P2PData":null}

微信官方文档 URL
微信官方文档快照(直接复制关键内容到下方)
发现问题的模块
  • [ ] Senparc.Weixin 版本:
  • [ ] Senparc.Weixin.MP 版本:
  • [ ] Senparc.Weixin.MP.MVC 版本:
  • [x] Senparc.Weixin.Open 版本:3.14.10.0 ~- [ ] Senparc.Weixin.QY 版本:~
  • [ ] Senparc.Weixin.Work 版本:
  • [ ] Senparc.Weixin.WxOpen 版本:
  • [ ] Senparc.Weixin.Cache.Redis 版本:
  • [ ] Senparc.Weixin.Cache.Memcached 版本:
  • [ ] Senparc.Weixin.Tenpay 版本:
  • [ ] Senparc.WebSocket 版本:
  • [ ] 其他模块:
模块对应的 .net 版本
  • [ ] .net 3.5
  • [ ] .net 4.0
  • [ ] .net 4.5+
  • [ ] .net standard 2.0 / 2.1
  • [ ] .net core 1.x
  • [ ] .net core 2.x
  • [ ] .net core 3.x
  • [x] .net 5.x / 6.x
开发环境
  • [ ] Visual Studio 2019
  • [x] Visual Studio 2022
  • [ ] Visual Studio Code
  • [ ] 其他:
缓存环境
  • [x] 服务器内存缓存(默认)
  • [ ] Redis 版本:
  • [ ] Memcached 版本:
  • [ ] 其他:
系统环境
  • [] Windows,版本:
  • [x] Linux,版本:
  • [ ] Mac,版本:
  • [ ] 其他:
联系方式

Email:[email protected]

(也可将问题地址及联系方式发送到 [email protected]

发布问题后,请保持对 issue 的关注,有时会有需要进一步沟通的信息,很长时间内没有得到答复的 issue 将被关闭。

yueliuhun avatar Feb 28 '22 16:02 yueliuhun

我遇到了相同的问题,且异步与同步方法都无法正确返回 errcode 微信 API 返回非 0 的错误码时,Senparc.Weixin.Entities.WxJsonResult.errcode 依然为 0

Senparc.Weixin Version 6.15.5 Senparc.Weixin.WxOpen Version 3.15.7.1

Surbowl avatar Sep 28 '22 05:09 Surbowl

@yueliuhun @Surbowl 重新测试了一下都是正常的,请升级到最新的版本再试一下,如有问题欢迎继续反馈,谢谢!

JeffreySu avatar Feb 26 '23 15:02 JeffreySu

@JeffreySu 升级到最新版本“Senparc.Weixin.WxOpen, Version=3.15.13.0”,如果请求的scense长度超过32位,并没有返回错误还是返回成功

Edward-Zhou avatar Mar 08 '23 12:03 Edward-Zhou