Commit c2ec5325 by 孙喜旺 Committed by linkwechat8856@163.com

拉取企业的全部群发记录群发记录

1 parent 31ba6670
......@@ -55,7 +55,7 @@ public interface WeCustomerMessagePushClient {
* @return {@link WeGroupMsgListDto}
*/
@Request(url = "/externalcontact/get_groupmsg_list_v2",type = "POST")
WeGroupMsgListDto getGroupMsgResult(@JSONBody WeGroupMsgListQuery query);
WeGroupMsgListDto getGroupMsgList(@JSONBody WeGroupMsgListQuery query);
/**
* 获取群发成员发送任务列表
......
......@@ -27,7 +27,7 @@ public class WeGroupMsgDto {
private Long createTime;
@ApiModelProperty("群发消息创建来源。0:企业 1:个人")
private String createType;
private Integer createType;
@ApiModelProperty("消息文本内容,最多4000个字节")
private WeAddMsgTemplateQuery.Text text;
......
......@@ -25,10 +25,10 @@ public class WeGroupMsgListQuery {
private String creator;
@ApiModelProperty("创建人类型。0:企业发表 1:个人发表 2:所有,包括个人创建以及企业创建,默认情况下为所有类型")
private Integer filter_type;
private Integer filter_type = 2;
@ApiModelProperty("返回的最大记录数,整型,最大值100,默认值50")
private Integer limit;
private Integer limit = 100;
@ApiModelProperty("用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填")
private String cursor;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!