Skip to content

Commit a553c9b

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

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpHrService.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,6 @@ public interface WxCpHrService {
5050
* 请求方式:POST(HTTPS)
5151
* 请求地址:https://qyapi.weixin.qq.com/cgi-bin/hr/get_staff_info?access_token=ACCESS_TOKEN
5252
* 权限说明:
53-
* 需要配置人事助手的secret,调用接口前需给对应成员赋予人事小助手应用的权限。
54-
*
55-
* @param userid 员工userid
56-
* @param getAll 是否获取全部字段
57-
* @param fields 指定字段key列表
58-
* @return 员工档案数据响应 wx cp hr employee field data resp
59-
* @throws WxErrorException the wx error exception
60-
*/
61-
default WxCpHrEmployeeFieldDataResp getEmployeeFieldInfo(String userid, boolean getAll,
62-
List<String> fields) throws WxErrorException {
63-
// 为了保持接口的向后兼容性,默认实现忽略 getAll 参数,仅透传 fields。
64-
// 需要根据 getAll 返回全部字段的实现类可以自行覆盖该方法。
65-
return this.getEmployeeFieldInfo(userid, fields);
66-
}
67-
68-
/**
6953
* 更新员工档案数据.
7054
* <p>
7155
* 请求方式:POST(HTTPS)

0 commit comments

Comments
 (0)