using System.Threading.Tasks; namespace GDZZ.Core; public interface IWechatOAuth { Task GetCode2SessionAsync(string code, string state = ""); string GetAuthorizeUrl(string state = ""); Task GetUserInfoAsync(string accessToken, string openId); Task GetRefreshTokenAsync(string refreshToken); Task GetTokenAsync(); Task GetShareCodeAsync(string access_token, string scene, string page); }