We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用版本 3.7.8.B 代码如下 List buttons = new ArrayList<>(); TaskCardButton button1 = new TaskCardButton();//该处会提示 button1.setKey("yes"); button1.setName("同意"); button1.setReplaceName("同意杀题"); button1.setColor("blue"); button1.setBold(true);
提示错误 java: 无法将类 me.chanjar.weixin.cp.bean.taskcard.TaskCardButton中的构造器 TaskCardButton应用到给定类型; 需要: java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean 找到: 没有参数 原因: 实际参数列表和形式参数列表长度不同
The text was updated successfully, but these errors were encountered:
应该和上次 MpnewsArticle 类一样
Sorry, something went wrong.
你先使用builder方法吧,之前确实是考虑欠妥
🎨 #1550 企业微信TaskCardButton类增加无参构造方法
92ea01e
好的,感谢
3.7.9.B版本已优化
No branches or pull requests
使用版本 3.7.8.B
代码如下
List buttons = new ArrayList<>();
TaskCardButton button1 = new TaskCardButton();//该处会提示
button1.setKey("yes");
button1.setName("同意");
button1.setReplaceName("同意杀题");
button1.setColor("blue");
button1.setBold(true);
提示错误
java: 无法将类 me.chanjar.weixin.cp.bean.taskcard.TaskCardButton中的构造器 TaskCardButton应用到给定类型;
需要: java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean
找到: 没有参数
原因: 实际参数列表和形式参数列表长度不同
The text was updated successfully, but these errors were encountered: