223211
This commit is contained in:
@@ -39,6 +39,7 @@ namespace MyCode.Project.WebApi.Areas.Admin.Controllers
|
||||
/// <param name="pagedSearch"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
|
||||
public PageResult<PurchaseOrderPageList> GetPageList(PagedSearch<PurchaseOrderPageSearch> pagedSearch)
|
||||
{
|
||||
return _purchaseOrderService.GetPageList(pagedSearch, this.CurrentLogin);
|
||||
@@ -67,6 +68,7 @@ namespace MyCode.Project.WebApi.Areas.Admin.Controllers
|
||||
[HttpPost]
|
||||
public void BatchSetChengNuoJiaoQi(List<UpdateTime> updateList)
|
||||
{
|
||||
|
||||
if (this.CurrentLogin.RoleType == 1)
|
||||
{
|
||||
throw new BaseException("管理员只能查看数据");
|
||||
|
||||
Reference in New Issue
Block a user