mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-03 20:27:46 +08:00
🎨 修复获取共享应用列表返回类型错误的问题
This commit is contained in:
parent
f936325b0c
commit
eef62676aa
@ -39,7 +39,7 @@ public class WxCpCorpGroupServiceImpl implements WxCpCorpGroupService {
|
||||
JsonObject tmpJson = GsonParser.parse(responseContent);
|
||||
|
||||
return WxCpGsonBuilder.create().fromJson(tmpJson.get("corp_list"),
|
||||
new TypeToken<List<WxCpCorpGroupCorpListAppShareInfoResp>>() {
|
||||
new TypeToken<List<WxCpCorpGroupCorp>>() {
|
||||
}.getType()
|
||||
);
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package me.chanjar.weixin.cp.api.impl;
|
||||
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.inject.Inject;
|
||||
import me.chanjar.weixin.common.error.WxErrorException;
|
||||
import me.chanjar.weixin.cp.api.ApiTestModule;
|
||||
@ -23,7 +24,7 @@ public class WxCpCorpGroupServiceImplTest {
|
||||
@Test
|
||||
public void testListAppShareInfo() throws WxErrorException {
|
||||
Integer agentId = wxService.getWxCpConfigStorage().getAgentId();
|
||||
Integer businessType = 0;
|
||||
Integer businessType = 1;
|
||||
String corpId = null;
|
||||
Integer limit = null;
|
||||
String cursor = null;
|
||||
|
Loading…
Reference in New Issue
Block a user