1
0
mirror of synced 2025-12-23 02:18:07 +08:00

issue #1 添加分组管理接口-查询分组

This commit is contained in:
Daniel Qian
2014-08-25 17:57:06 +08:00
parent f57a0e4c87
commit fb7e739fef
4 changed files with 48 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package chanjarster.weixin.api;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import chanjarster.weixin.bean.WxCustomMessage;
import chanjarster.weixin.bean.WxGroup;
@@ -180,6 +181,7 @@ public interface WxService {
/**
* <pre>
* 分组管理接口 - 创建分组
* 最多支持创建500个分组
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=分组管理接口
* </pre>
* @param name 分组名字30个字符以内
@@ -187,6 +189,16 @@ public interface WxService {
*/
public WxGroup groupCreate(String name) throws WxErrorException;
/**
* <pre>
* 分组管理接口 - 查询所有分组
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=分组管理接口
* </pre>
* @return
* @throws WxErrorException
*/
public List<WxGroup> groupGet() throws WxErrorException;
/**
* 注入 {@link WxConfigStorage} 的实现
* @param wxConfigProvider