package cn.iocoder.yudao.module.system.api.social;
|
|
import cn.iocoder.yudao.module.system.service.social.SocialClientService;
|
import jakarta.annotation.Resource;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.stereotype.Service;
|
import org.springframework.validation.annotation.Validated;
|
|
/**
|
* 社交应用的 API 实现类
|
*
|
* @author 超级管理员
|
*/
|
@Service
|
@Validated
|
@Slf4j
|
public class SocialClientApiImpl implements SocialClientApi {
|
|
@Resource
|
private SocialClientService socialClientService;
|
|
@Override
|
public String getAuthorizeUrl(Integer socialType, Integer userType, String redirectUri) {
|
return socialClientService.getAuthorizeUrl(socialType, userType, redirectUri);
|
}
|
|
}
|