mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🎨 #3562 【企业微信】发送应用消息接口返回增加unlicenseduser字段
This commit is contained in:
parent
2762a98279
commit
1a74e3e3a8
@ -50,6 +50,9 @@ public class WxCpMessageSendResult implements Serializable {
|
|||||||
@SerializedName("invalidtag")
|
@SerializedName("invalidtag")
|
||||||
private String invalidTag;
|
private String invalidTag;
|
||||||
|
|
||||||
|
@SerializedName("unlicenseduser")
|
||||||
|
private String unlicensedUser;
|
||||||
|
|
||||||
@SerializedName("msgid")
|
@SerializedName("msgid")
|
||||||
private String msgId;
|
private String msgId;
|
||||||
|
|
||||||
@ -93,4 +96,13 @@ public class WxCpMessageSendResult implements Serializable {
|
|||||||
public List<String> getInvalidTagList() {
|
public List<String> getInvalidTagList() {
|
||||||
return this.content2List(this.invalidTag);
|
return this.content2List(this.invalidTag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets unlicensed user list.
|
||||||
|
*
|
||||||
|
* @return the unlicensed user list
|
||||||
|
*/
|
||||||
|
public List<String> getUnlicensedUserList() {
|
||||||
|
return this.content2List(this.unlicensedUser);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -80,6 +80,7 @@ public class WxCpMessageServiceImplTest {
|
|||||||
System.out.println(messageSendResult.getInvalidPartyList());
|
System.out.println(messageSendResult.getInvalidPartyList());
|
||||||
System.out.println(messageSendResult.getInvalidUserList());
|
System.out.println(messageSendResult.getInvalidUserList());
|
||||||
System.out.println(messageSendResult.getInvalidTagList());
|
System.out.println(messageSendResult.getInvalidTagList());
|
||||||
|
System.out.println(messageSendResult.getUnlicensedUserList());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user