public Dictionary <string, Object> GetBrandList(string agentId) { try { Dictionary <string, Object> dic = new Dictionary <string, object>(); var resultModel = CommonRequest.ApiGetBrandList(agentId); if (resultModel != null) { dic.Add("AllBrand", resultModel["data"]); } var recommondBrand = CommonRequest.ApiGetRecommondBrandList(agentId); if (recommondBrand != null) { dic.Add("CommondBrand", recommondBrand["data"]); } return(dic); } catch (Exception e) { logger.Error("获取推荐品牌和所有品牌列表接口异常:" + e.Message); return(null); } }