Skip to content

Commit 3da4e37

Browse files
binarywangCopilot
andauthored
Update weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpHrServiceImpl.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5313f17 commit 3da4e37

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpHrServiceImpl.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public WxCpHrEmployeeFieldDataResp getEmployeeFieldInfo(String userid, boolean g
5353
jsonObject.addProperty("get_all", getAll);
5454
if (fields != null && !fields.isEmpty()) {
5555
jsonObject.add("fields", WxCpGsonBuilder.create().toJsonTree(fields));
56-
}else{
57-
if(!getAll)
58-
throw new IllegalArgumentException("fields 不能为空");
5956
}
6057
String response = this.cpService.post(
6158
this.cpService.getWxCpConfigStorage().getApiUrl(GET_EMPLOYEE_FIELD_INFO),

0 commit comments

Comments
 (0)