Skip to content

Commit

Permalink
- 新增医疗行业紧急通知API UrgentCallApi
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound403 committed May 31, 2023
1 parent a2c07b3 commit 3a4e9dd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions wecom-sdk/src/main/java/cn/felord/api/WorkWeChatApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,14 @@ public WeDriveApi weDriveApi(AgentDetails agentDetails) {
public ApprovalApi approvalApi(AgentDetails agentDetails) {
return new ApprovalApi(new WorkWeChatApiClient(new AccessTokenApi(weComTokenCacheable, agentDetails)));
}

/**
* 紧急通知API(限医疗行业)
*
* @param agentDetails the agent details
* @return the urgent call api
*/
public UrgentCallApi urgentCallApi(AgentDetails agentDetails) {
return new UrgentCallApi(new WorkWeChatApiClient(new AccessTokenApi(weComTokenCacheable, agentDetails)));
}
}

0 comments on commit 3a4e9dd

Please sign in to comment.