62 lines
1.4 KiB
C#
62 lines
1.4 KiB
C#
using MyCode.Project.Domain.Message.Act.Common;
|
|
using MyCode.Project.Domain.Message.Response.LxmZHMDReport;
|
|
using MyCode.Project.Infrastructure.Cache;
|
|
using MyCode.Project.Infrastructure.Common;
|
|
using MyCode.Project.Infrastructure.Constant;
|
|
using MyCode.Project.Infrastructure.Enumeration;
|
|
using MyCode.Project.Infrastructure.Exceptions;
|
|
using MyCode.Project.Services;
|
|
using MyCode.Project.WebApi.App_Filter;
|
|
using System;
|
|
using System.IO;
|
|
using System.Web.Http;
|
|
|
|
namespace MyCode.Project.WebApi.Areas.Admin.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 报表
|
|
/// </summary>
|
|
public class DataChartController : BaseAdminController
|
|
{
|
|
#region 初始化
|
|
private IYuyuboService _yuyuboService;
|
|
|
|
public DataChartController(IYuyuboService yuyuboService)
|
|
{
|
|
_yuyuboService = yuyuboService;
|
|
|
|
|
|
}
|
|
#endregion
|
|
|
|
#region Test(测试方法)
|
|
/// <summary>
|
|
/// 测试方法
|
|
/// </summary>
|
|
[AllowAnonymous]
|
|
[HttpGet]
|
|
public string Test()
|
|
{
|
|
|
|
return "test";
|
|
|
|
}
|
|
#endregion
|
|
|
|
|
|
/// <summary>
|
|
/// 销售订单列表
|
|
/// </summary>
|
|
/// <param name="search"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[AllowAnonymous]
|
|
public PageResult<SalOrderResp> GetPageList(PagedSearch search)
|
|
{
|
|
return _yuyuboService.GetPageList(search);
|
|
}
|
|
|
|
|
|
}
|
|
}
|