添加获取标签下粉丝列表的接口

This commit is contained in:
BinaryWang
2016-09-20 21:03:55 +08:00
parent 63c41d44ab
commit c5c8628668
4 changed files with 138 additions and 16 deletions

View File

@@ -1,15 +1,14 @@
package me.chanjar.weixin.mp.api.impl;
import java.util.List;
import com.google.inject.Inject;
import me.chanjar.weixin.mp.api.ApiTestModule;
import me.chanjar.weixin.mp.bean.tag.WxTagListUser;
import me.chanjar.weixin.mp.bean.tag.WxUserTag;
import org.testng.Assert;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
import com.google.inject.Inject;
import me.chanjar.weixin.mp.api.ApiTestModule;
import me.chanjar.weixin.mp.bean.tag.WxUserTag;
import java.util.List;
/**
*
@@ -22,7 +21,7 @@ public class WxMpUserTagServiceImplTest {
@Inject
protected WxMpServiceImpl wxService;
private Integer tagId;
private Integer tagId = 2;
@Test
public void testTagCreate() throws Exception {
@@ -55,4 +54,10 @@ public class WxMpUserTagServiceImplTest {
Assert.assertTrue(res);
}
}
@Test
public void testTagListUser() throws Exception {
WxTagListUser res = this.wxService.getUserTagService().tagListUser(this.tagId, null);
System.out.println(res);
Assert.assertNotNull(res);
}
}