From a985e6ba578b4ec28a25932f871c4df76ce092f2 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 12 五月 2026 15:02:39 +0800
Subject: [PATCH] 模块添加自定义标签鉴权 在Token启用的情况下。通过自定义标签定义的modname和Operate 判断用户是否有访问模块的权限

---
 WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
index bdc6b01..a15472f 100644
--- a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
+++ b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
@@ -11,6 +11,7 @@
 using System.Windows.Forms;
 using WebAPI.Models;
 using System.Linq;
+using WebAPI.Utility;
 
 namespace WebAPI.Controllers
 {
@@ -1967,6 +1968,7 @@
         #region 鍗曟嵁鍙樻洿 淇濆瓨
         [Route("Sc_ProcessExchangeBill/GetProcessExchangeBillMain_Change_save")]
         [HttpGet]
+        [Permission(HModName = "Sc_ProcessExchangeBill_ChangeBill")]
         public object GetProcessExchangeBillMain_Change_save(string HInterID,string HMaterModel2, string user)
         {
             try

--
Gitblit v1.9.1