package com.lideeyunji.service.system.api;

import com.lideeyunji.service.system.service.ISocialClientService;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * 社交应用的 API 实现类
 *
 * @author 金灯剑客
 */
@Service
@Validated
public class ApiSocialClientApiImpl implements IApiSocialClientApi {

    @Resource
    private ISocialClientService socialClientService;

    @Override
    public String getAuthorizeUrl(Integer socialType, Integer userType, String redirectUri) {
        return socialClientService.getAuthorizeUrl(socialType, userType, redirectUri);
    }


}
