🎨 #3562 【企业微信】发送应用消息接口返回增加unlicenseduser字段

This commit is contained in:
altusea 2025-05-13 22:54:28 +08:00 committed by GitHub
parent 2762a98279
commit 1a74e3e3a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -50,6 +50,9 @@ public class WxCpMessageSendResult implements Serializable {
@SerializedName("invalidtag")
private String invalidTag;
@SerializedName("unlicenseduser")
private String unlicensedUser;
@SerializedName("msgid")
private String msgId;
@ -93,4 +96,13 @@ public class WxCpMessageSendResult implements Serializable {
public List<String> getInvalidTagList() {
return this.content2List(this.invalidTag);
}
/**
* Gets unlicensed user list.
*
* @return the unlicensed user list
*/
public List<String> getUnlicensedUserList() {
return this.content2List(this.unlicensedUser);
}
}

View File

@ -80,6 +80,7 @@ public class WxCpMessageServiceImplTest {
System.out.println(messageSendResult.getInvalidPartyList());
System.out.println(messageSendResult.getInvalidUserList());
System.out.println(messageSendResult.getInvalidTagList());
System.out.println(messageSendResult.getUnlicensedUserList());
}
/**