/// <summary> /// 从hash表获取数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="key"></param> /// <param name="dataKey"></param> /// <returns></returns> public Task <string> HashGetAsync(string key, string dataKey) { return(QuickHelperBase.HashGetAsync(key, dataKey)); }
/// <summary> /// 从hash表获取数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="key"></param> /// <param name="dataKey"></param> /// <returns></returns> public async Task <T> HashGetAsync <T>(string key, string dataKey) where T : class, new() { return(ConvertObj <T>(await QuickHelperBase.HashGetAsync(key, dataKey))); }