Skip to content

Commit d31c9f7

Browse files
committed
标记分组接口为过期的
1 parent 71709bb commit d31c9f7

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/WxMpGroupService.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
/**
99
* 用户分组相关操作接口
1010
* @author Binary Wang
11+
* 分组接口属于老接口,不知道啥时候被替换成用户标签接口
1112
*
1213
*/
14+
@Deprecated
1315
public interface WxMpGroupService {
1416

1517

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpGroupServiceImpl.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
package me.chanjar.weixin.mp.api.impl;
22

3-
import java.util.List;
4-
53
import com.google.gson.JsonElement;
64
import com.google.gson.JsonObject;
75
import com.google.gson.JsonParser;
86
import com.google.gson.reflect.TypeToken;
9-
107
import me.chanjar.weixin.common.exception.WxErrorException;
118
import me.chanjar.weixin.common.util.http.SimpleGetRequestExecutor;
129
import me.chanjar.weixin.common.util.http.SimplePostRequestExecutor;
@@ -16,9 +13,12 @@
1613
import me.chanjar.weixin.mp.bean.WxMpGroup;
1714
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
1815

16+
import java.util.List;
17+
1918
/**
2019
* Created by Binary Wang on 2016/7/21.
2120
*/
21+
@Deprecated
2222
public class WxMpGroupServiceImpl implements WxMpGroupService {
2323
private static final String API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin/groups";
2424
private WxMpService wxMpService;

‎weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/impl/WxMpGroupServiceImplTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*
1616
* @author chanjarster
1717
*/
18+
@Deprecated
1819
@Test(groups = "groupAPI")
1920
@Guice(modules = ApiTestModule.class)
2021
public class WxMpGroupServiceImplTest {

0 commit comments

Comments
 (0)