mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-11 19:07:09 +08:00
增加用户标签查询接口
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user