public async Task <Result <GetPreAuthCodeOutput> > GetPreAuthCodeAsync() { var tokenOutput = await GetComponentAccessTokenAsync(); if (!tokenOutput.IsSucceeded) { throw new Exception("access_token error"); } var preAuthCodeOutput = await _thirdPartyOauthService.GetPreAuthCodeAsync(tokenOutput.Data.ComponentAccessToken); return(Result <GetPreAuthCodeOutput> .Success(preAuthCodeOutput)); }