提交 3cc9ce15 编写于 作者: tangyaolong's avatar tangyaolong

同步修改oauth2开关

上级 5daa511b
......@@ -3,14 +3,14 @@ TARGET=PSSYSTEM
</#ibiztemplate>
<#assign oauth2Enable=false>
<#if sysrun?? && sysrun.getPSDevSlnMSDepAPI()?? >
<#assign depSysApi=sysrun.getPSDevSlnMSDepAPI()>
<#if depSysApi.getPSDCMSPlatformNode()??>
<#assign depSysApiPlatformNode=depSysApi.getPSDCMSPlatformNode()>
<#assign depSysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if depSysApiPlatform.getUserParam("ibiz.oauth2.enable","")?? && depSysApiPlatform.getUserParam("ibiz.oauth2.enable","")!="">
<#assign sysRunApi=sysrun.getPSDevSlnMSDepAPI()>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if ((depSysApi.getPSSysServiceAPI().getPSSysServiceAPI().getCodeName())!'') == ((sysRunApi.getPSSysServiceAPI().getPSSysServiceAPI().getCodeName())!'')
&& depSysApi.getUserParam("ibiz.oauth2.enable","")!=''>
<#assign oauth2Enable=true>
<#break>
</#if>
</#if>
</#list>
</#if>
package ${pub.getPKGCodeName()}.util.client;
......
......@@ -3,14 +3,14 @@ TARGET=PSSYSTEM
</#ibiztemplate>
<#assign oauth2Enable=false>
<#if sysrun?? && sysrun.getPSDevSlnMSDepAPI()?? >
<#assign depSysApi=sysrun.getPSDevSlnMSDepAPI()>
<#if depSysApi.getPSDCMSPlatformNode()??>
<#assign depSysApiPlatformNode=depSysApi.getPSDCMSPlatformNode()>
<#assign depSysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if depSysApiPlatform.getUserParam("ibiz.oauth2.enable","")?? && depSysApiPlatform.getUserParam("ibiz.oauth2.enable","")!="">
<#assign sysRunApi=sysrun.getPSDevSlnMSDepAPI()>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if ((depSysApi.getPSSysServiceAPI().getPSSysServiceAPI().getCodeName())!'') == ((sysRunApi.getPSSysServiceAPI().getPSSysServiceAPI().getCodeName())!'')
&& depSysApi.getUserParam("ibiz.oauth2.enable","")!=''>
<#assign oauth2Enable=true>
<#break>
</#if>
</#if>
</#list>
</#if>
package ${pub.getPKGCodeName()}.util.client;
......
......@@ -3,14 +3,14 @@ TARGET=PSSYSTEM
</#ibiztemplate>
<#assign oauth2Enable=false>
<#if sysrun?? && sysrun.getPSDevSlnMSDepAPI()?? >
<#assign depSysApi=sysrun.getPSDevSlnMSDepAPI()>
<#if depSysApi.getPSDCMSPlatformNode()??>
<#assign depSysApiPlatformNode=depSysApi.getPSDCMSPlatformNode()>
<#assign depSysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if depSysApiPlatform.getUserParam("ibiz.oauth2.enable","")?? && depSysApiPlatform.getUserParam("ibiz.oauth2.enable","")!="">
<#assign sysRunApi=sysrun.getPSDevSlnMSDepAPI()>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if ((depSysApi.getPSSysServiceAPI().getPSSysServiceAPI().getCodeName())!'') == ((sysRunApi.getPSSysServiceAPI().getPSSysServiceAPI().getCodeName())!'')
&& depSysApi.getUserParam("ibiz.oauth2.enable","")!=''>
<#assign oauth2Enable=true>
<#break>
</#if>
</#if>
</#list>
</#if>
package ${pub.getPKGCodeName()}.util.web;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册