🐛 修复错误代码

This commit is contained in:
Binary Wang
2021-04-07 15:40:47 +08:00
parent 2b89a1dd64
commit 4d0ff8fbd7

View File

@ -58,7 +58,7 @@ public class WxCpTpDepartmentServiceImpl implements WxCpTpDepartmentService {
JsonObject tmpJsonObject = GsonParser.parse(responseContent); JsonObject tmpJsonObject = GsonParser.parse(responseContent);
return WxCpGsonBuilder.create() return WxCpGsonBuilder.create()
.fromJson(tmpJsonObject.get("department"), .fromJson(tmpJsonObject.get("department"),
new TypeToken<List<WxCpDepart>>() { new TypeToken<List<WxCpTpDepart>>() {
}.getType() }.getType()
); );
} }