Skip to content

WxCpTp获取永久授权码解析JSON时 发生错误 #1109

@yaoye6262

Description

@yaoye6262

企业安装应用时 获取auth_code

通过WxCpTpService.getPermanentCode(“预授权码”)

BaseWxCpTpServiceImpl getPermanentCode方法以下代码发生错误:

WxCpTpCorp wxCpTpCorp = WxCpTpCorp.fromJson(jsonObject.get("auth_corp_info").getAsString());
wxCpTpCorp.setPermanentCode(jsonObject.get("permanent_code").getAsString());

直接抛异常!

模块版本情况

  • WxJava 模块名: weixin-java-cp
  • WxJava 版本号: 3.4.6.B

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions