Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public List<WxCpCorpGroupCorp> listAppShareInfo(Integer agentId, Integer busines
JsonObject tmpJson = GsonParser.parse(responseContent);

return WxCpGsonBuilder.create().fromJson(tmpJson.get("corp_list"),
new TypeToken<List<WxCpCorpGroupCorpListAppShareInfoResp>>() {
new TypeToken<List<WxCpCorpGroupCorp>>() {
}.getType()
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down