ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package jnpf.base.service;
 
import jnpf.base.entity.DataInterfaceUserEntity;
import jnpf.base.model.InterfaceOauth.InterfaceUserForm;
 
import java.util.List;
 
/**
 * @author JNPF开发平台组
 * @version V3.4.7
 * @copyright 引迈信息技术有限公司
 * @date 2021/9/20 9:22
 */
public interface DataInterfaceUserService extends SuperService<DataInterfaceUserEntity> {
 
    /**
     * 授权用户
     *
     * @param interfaceUserForm
     */
    void saveUserList(InterfaceUserForm interfaceUserForm);
 
    /**
     * 根据认证接口id查询授权用户列表
     *
     * @param oauthId
     * @return
     */
    List<DataInterfaceUserEntity> select(String oauthId);
 
    /**
     * 通过用户密钥获取用户token
     *
     * @param oauthId
     * @param userKey
     * @return
     */
    String getInterfaceUserToken(String tenantId, String oauthId, String userKey);
 
}