1
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using MyCode.Project.Domain.Message.Act.Common;
|
||||
using MyCode.Project.Domain.Message.Response.PurOrder;
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using MyCode.Project.Services;
|
||||
using MyCode.Project.Services.Implementation;
|
||||
using System;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace MyCode.Project.WebApi.Controllers
|
||||
@@ -7,14 +12,41 @@ namespace MyCode.Project.WebApi.Controllers
|
||||
/// 测试接口
|
||||
/// </summary>
|
||||
public class TestController : BaseAPIController
|
||||
{
|
||||
|
||||
public TestController( )
|
||||
{
|
||||
IPurOrderService _PurOrderService;
|
||||
|
||||
public TestController(IPurOrderService purOrderService)
|
||||
{
|
||||
|
||||
_PurOrderService = purOrderService;
|
||||
}
|
||||
|
||||
|
||||
public TestController()
|
||||
{
|
||||
}
|
||||
#region 测试
|
||||
|
||||
/// <summary>
|
||||
/// 测试采购看板
|
||||
/// </summary>
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public PageResult<PurOrderMainResp> GetPurOrderMain(PagedSearch search)
|
||||
{
|
||||
return _PurOrderService.GetPurMain(search);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 测试采购看板
|
||||
/// </summary>
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public PageResult<PurOrderDetilResp> GetPurOrderDetil(PagedSearch<IdAct> search)
|
||||
{
|
||||
return _PurOrderService.GetPurDetil(search);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
//#region AESEncrypt(AES加密)
|
||||
///// <summary>
|
||||
|
||||
Reference in New Issue
Block a user