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/Web.config |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/WebAPI/Web.config b/WebAPI/Web.config
index 8207cf6..f0d0277 100644
--- a/WebAPI/Web.config
+++ b/WebAPI/Web.config
@@ -36,12 +36,13 @@
 		<!--<add key="surl" value="http://localhost:8082/webs/webservice1.asmx"/>    --><!--鏈湴-->
 		<!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>-->	<!--闄堥洴闈欐湰鍦伴厤缃�-->
 		<!--<add key="surl" value="http://localhost/WEBS-WMS/webservice1.asmx" />--> <!--缈佹稕娑涙湰鍦伴厤缃�-->
+		<!--<add key="surl" value="http://localhost:81/MESWMS-WEBS/webservice1.asmx" />--> <!--闄堥晲鍝叉湰鍦伴厤缃�-->
 		<!--<add key="sUrl" value="http://192.168.1.57:8082/WEBS-WMS/WebService1.asmx"/>涔濊彵-->
 		<!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--><!--鏂帿灏�-->
 		<!--<add key="surl" value="http://192.168.0.113/WEBS-WMS/Webservice1.asmx" />涓夊崌鏈湴閰嶇疆-->
 		<!--<add key="surl" value="http://36.134.2.30:200/WEBS-WMS/WebService1.asmx" />-->	<!--閲戝竻-->
-		<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx" />   
-		
+		<!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx" />   -->
+
 		<add key="webpages:Version" value="3.0.0.0" />
 		<add key="webpages:Enabled" value="false" />
 		<add key="ClientValidationEnabled" value="true" />
@@ -142,15 +143,15 @@
 			</basicHttpBinding>
 		</bindings>
 		<client>
-			 <endpoint address="http://47.96.97.237/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> 
-			<!--<endpoint address="http://localhost:81/MESWMS-WEBS/webservice1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" />-->
+			<!--<endpoint address="http://47.96.97.237/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> -->
+		<endpoint address="http://localhost:81/MESWMS-WEBS/webservice1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" />
 		</client>
 	</system.serviceModel>
  <applicationSettings>
   <WebAPI.Properties.Settings>
    <setting name="WebAPI_WebS_WebService1" serializeAs="String">
-     <value>http://47.96.97.237/WEBS-WMS/WebService1.asmx</value> 
-    <!--<value>http://localhost:81/MESWMS-WEBS/webservice1.asmx</value>-->
+	   <!--<value>http://47.96.97.237/WEBS-WMS/WebService1.asmx</value> --> 
+    <value>http://localhost:81/MESWMS-WEBS/webservice1.asmx</value>
    </setting>
   </WebAPI.Properties.Settings>
  </applicationSettings>

--
Gitblit v1.9.1