36 lines
891 B
C#
36 lines
891 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Web;
|
|||
|
|
using System.Web.Http;
|
|||
|
|
using System.Web.Mvc;
|
|||
|
|
|
|||
|
|
namespace WebAPI.Controllers
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
///
|
|||
|
|
/// </summary>
|
|||
|
|
public class HJGLIndexController : ApiController
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取首页数据分析
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="projectId"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
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;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|