yaozc
2023-03-20 d18c0bde988f8501ba84600f9d3d02f676a881e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package me.zhengjie.modules.quartz.service;
 
import me.zhengjie.modules.quartz.service.dto.OapiDingTalkAccessToken;
import me.zhengjie.modules.quartz.service.dto.OapiDingTalkRecordResult;
 
import java.util.List;
 
/**
 * @author zlh
 * @date 2022-02-23
 */
public interface OpaiDingTalkService {
 
    // 获取token
    OapiDingTalkAccessToken getAccessToken() throws Exception;
 
    //获取数据
    List<OapiDingTalkRecordResult> getAttendanceList(List<OapiDingTalkRecordResult> oapiDingTalkRecordResultList, String access_token, String workDate, List<String> userIdList, Long offset, Long limit) throws Exception;
 
    //发送信息到钉钉
    void sendNotice(List<String> userIdList, String title, String content, String type) throws Exception;
}