From 0b2869539598059704e1d208e2bcb18603b0fe0f Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 01 五月 2026 00:00:30 +0800
Subject: [PATCH] feat(出库时效): 添加出库时效配置功能
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs
index 22fc324..23a6991 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs
@@ -1,10 +1,7 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Routing;
-using WIDESEA_DTO.System;
+锘縰sing Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
-using WIDESEA_Core.BaseRepository;
+using WIDESEA_DTO.System;
using WIDESEA_ISystemService;
using WIDESEA_Model.Models;
using WIDESEA_Model.Models.System;
@@ -19,6 +16,7 @@
public class Sys_RoleController : ApiBaseController<ISys_RoleService, Sys_Role>
{
private readonly IHttpContextAccessor _httpContextAccessor;
+
public Sys_RoleController(ISys_RoleService service, IHttpContextAccessor httpContextAccessor) : base(service)
{
_httpContextAccessor = httpContextAccessor;
@@ -63,6 +61,7 @@
{
return Json(Service.GetCurrentTreePermissionPDA());
}
+
[HttpPost, Route("getUserTreePermissionPDA")]
public IActionResult GetUserTreePermissionPDA(int roleId)
{
@@ -81,4 +80,4 @@
return Json(Service.SavePermissionPDA(userPermissions, roleId));
}
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3