yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.qianwen.smartman.modules.sync.service;
 
import cn.hutool.core.lang.Snowflake;
import com.alibaba.fastjson.JSONObject;
import com.qianwen.smartman.modules.sync.entity.OuterAppConfig;
import com.qianwen.smartman.modules.sync.util.DingCallbackCrypto;
import com.qianwen.smartman.modules.system.entity.UserOauth;
 
 
public interface IDingEventService {
    void handleEvent(DingCallbackCrypto callbackCrypto, String decryptMsg, OuterAppConfig outerAppConfig);
 
    String getDingAccessToken(String appKey, String appSecret) throws Exception;
 
    void addNewEmployee(JSONObject userObject, UserOauth userOauth, Snowflake snowflake);
}