fudiwei / DotNetCore.SKIT.FlurlHttpClient.Wechat

可能是全网最完整的 C# 版微信 SDK,封装全部已知的微信 OpenAPI,包含微信公众平台(订阅号+服务号+小程序+小游戏+小商店+视频号)、微信开放平台、微信商户平台(微信支付+微企付)、企业微信、微信广告平台、微信智能对话开放平台等模块,可跨平台。持续随官方更新,欢迎 Star/Fork/PR。QQ 交流群 875580418【满】、930461548【满】、611974621。
https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient
MIT License
1.47k stars 285 forks source link

[BUG] 企业微信授权返回model里的user_limit 类型需要改为long #112

Closed lovheot closed 11 months ago

lovheot commented 11 months ago

var req = new SKIT.FlurlHttpClient.Wechat.Work.Models.CgibinServiceGetPermanentCodeRequest(); req.TempAuthCode = authCode; req.AccessToken = accessToken ; var rep = await _wechatWorkClient.ExecuteCgibinServiceGetPermanentCodeAsync(req);

错误信息 Newtonsoft.Json.JsonReaderException: JSON integer 4294967295 is too large or small for an Int32. Path 'edition_info.agent[0].user_limit', line 1, position 1598.

fudiwei commented 11 months ago

已修复。将随下一 release 版本发布,敬请留意。