public static BaseUserContactEntity GetUserContactObjectByCache(BaseUserInfo userInfo, string id) { BaseUserContactEntity result = null; string key = "UserContact:" + id; result = BaseUserContactManager.GetCacheByKey(key); // 远程通过接口获取数据 if (result == null) { result = GetUserContactObject(userInfo, id); } return(result); }