/// <summary> /// 从存储获取Ticket /// </summary> /// <param name="account"></param> /// <param name="ticketType"></param> /// <returns></returns> private static TokenInfo GetTicketFromStorage(AppAccountInfo account, string ticketType) { var result = TokenDao.Get(account.AppId + account.AppSecret + ticketType); return(result); }
/// <summary> /// 从存储获取Token /// </summary> /// <param name="account"></param> /// <returns></returns> private static TokenInfo GetTokenFromStorage(AppAccountInfo account) { var result = TokenDao.Get(account.AppId + account.AppSecret); return(result); }