Skip to content

企业微信接口输入wx.cp.agent-id的值太长报错caused by java.lang.NumberFormatException: For input string: "1013699173317" #4077

Description

@guxiyang

简要描述

我项目中引入的是:


com.github.binarywang
wx-java-cp-spring-boot-starter

在设置:
wx.cp.agent-id 为1013699173317 ,启动就报错, Reason: failed to convert java.lang.String to java.lang.Integer (caused by java.lang.NumberFormatException: For input string: "1013699173317"),这边可否调整为Long类型或者字符串类型,现在企业给的agent-id,有点长,代码目前不支持。

模块版本情况

  • WxJava 模块名: weixin-java-cp
  • WxJava 版本号:4.8.5-20260720.111348

详细描述

日志

日志请写于此处

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions