예제 #1
0
        public async Task <UserTokenResp> SocialAuth(SocialPaltforms plat, string code, string state)
        {
            if (string.IsNullOrEmpty(code))
            {
                return(new UserTokenResp(ResultTypes.ParaError, "code 不能为空!"));
            }

            return(await service.SocialAuth(plat, code, state));
        }