using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; namespace WebAPI.Controllers { /// /// /// public class HJGLIndexController : ApiController { /// /// 获取首页数据分析 /// /// /// public Model.ResponeData GetJGLIndexItem(string projectId) { var responeData = new Model.ResponeData(); try { responeData.data = BLL.APIHJGLIndexService.GetJGLIndexItem(projectId); } catch (Exception ex) { responeData.code = 0; responeData.message = ex.Message; } return responeData; } } }