3 天以前 b1ad2d17c7f93e819c67fe5ab5c2ca94e764e517
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.iocoder.yudao.module.system.api.social;
 
import cn.iocoder.yudao.module.system.enums.social.SocialTypeEnum;
 
/**
 * 社交应用的 API 接口
 *
 * @author 超级管理员
 */
public interface SocialClientApi {
 
    /**
     * 获得社交平台的授权 URL
     *
     * @param socialType  社交平台的类型 {@link SocialTypeEnum}
     * @param userType    用户类型
     * @param redirectUri 重定向 URL
     * @return 社交平台的授权 URL
     */
    String getAuthorizeUrl(Integer socialType, Integer userType, String redirectUri);
 
}