增加用户标签查询接口

This commit is contained in:
BinaryWang
2016-09-08 21:11:02 +08:00
parent 7bf7f2827b
commit 3ab8a3c7c6
4 changed files with 58 additions and 13 deletions

View File

@@ -3,6 +3,9 @@ package me.chanjar.weixin.mp.api.impl;
import com.google.inject.Inject;
import me.chanjar.weixin.mp.api.ApiTestModule;
import me.chanjar.weixin.mp.bean.tag.WxUserTag;
import java.util.List;
import org.testng.Assert;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
@@ -26,4 +29,11 @@ public class WxMpUserTagServiceImplTest {
Assert.assertEquals(tagName, res.getName());
}
@Test
public void testTagGet() throws Exception {
List<WxUserTag> res = this.wxService.getUserTagService().tagGet();
System.out.println(res);
Assert.assertNotNull(res);
}
}