Skip to content

Commit

Permalink
Merge pull request #73 from EasyAbp/fix-get-authorizer-info-request
Browse files Browse the repository at this point in the history
Fix `GetAuthorizerInfoRequest`
  • Loading branch information
gdlcf88 authored Dec 20, 2022
2 parents a263a1c + 5f933b0 commit dbf52ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<AbpVersion>6.0.1</AbpVersion>
<EasyAbpAbpTagHelperPlusModuleVersion>1.2.3</EasyAbpAbpTagHelperPlusModuleVersion>
<EasyAbpAbpWeChatModuleVersion>2.0.0-rc.6</EasyAbpAbpWeChatModuleVersion>
<EasyAbpAbpWeChatModuleVersion>2.0.0-rc.7</EasyAbpAbpWeChatModuleVersion>

</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>2.0.0-rc.5</Version>
<Version>2.0.0-rc.6</Version>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>EasyAbp Team</Authors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ await optionsProvider.GetAsync(thirdPartyPlatformWeChatApp.AppId)

if (authorizerInfo is null)
{
Logger.LogWarning("api_get_authorizer_info 预期外的返回内容:{response}", response);

throw new UserFriendlyException("无法通过 api_get_authorizer_info 接口获取微信应用信息,授权处理失败");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EasyAbp.WeChatManagement.ThirdPartyPlatforms.Authorization.Models;

public class GetAuthorizerInfoRequest : IOpenPlatformRequest
public class GetAuthorizerInfoRequest : OpenPlatformCommonRequest
{
[JsonProperty("component_appid")]
public string ComponentAppId { get; set; }
Expand Down

0 comments on commit dbf52ff

Please sign in to comment.