🐛 #2894 【企业微信】修复update_taskcard 方法传参错误的问题

This commit is contained in:
th3ee9ine 2022-12-11 15:29:03 +08:00 committed by GitHub
parent c443dc1fd1
commit 8088c4ada8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,8 @@ public class WxCpTaskCardServiceImpl implements WxCpTaskCardService {
data.put("userids", userIds);
data.put("agentid", agentId);
data.put("task_id", taskId);
data.put("replace_name", replaceName);
// 文档地址https://open.work.weixin.qq.com/wwopen/devtool/interface?doc_id=16386
data.put("clicked_key", replaceName);
String url = this.mainService.getWxCpConfigStorage().getApiUrl(UPDATE_TASK_CARD);
this.mainService.post(url, WxGsonBuilder.create().toJson(data));