Lyyyi 1 周之前
父节点
当前提交
7f1923ee29
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      OASystem/OASystem.Api/Controllers/StatisticsController.cs

+ 3 - 3
OASystem/OASystem.Api/Controllers/StatisticsController.cs

@@ -80,12 +80,12 @@ namespace OASystem.API.Controllers
         public async Task<IActionResult> PostGroupStatementItems(GroupStatementItemsDto dto)
         {
             #region  参数验证
-            if (_dto.UserId < 1) return Ok(JsonView(false, "员工Id为空"));
-            if (_dto.PageId < 1) return Ok(JsonView(false, "页面Id为空"));
+            if (dto.UserId < 1) return Ok(JsonView(false, "员工Id为空"));
+            if (dto.PageId < 1) return Ok(JsonView(false, "页面Id为空"));
 
             PageFunAuthViewBase pageFunAuthView = new PageFunAuthViewBase();
             #region 页面操作权限验证
-            pageFunAuthView = await GeneralMethod.PostUserPageFuncDatas(_dto.UserId, _dto.PageId);
+            pageFunAuthView = await GeneralMethod.PostUserPageFuncDatas(dto.UserId, dto.PageId);
 
             if (pageFunAuthView.CheckAuth == 0) return Ok(JsonView(false, "您没有查看权限"));
             #endregion