From af0d3a1a25fc04c7b9390fe74c74a32b5e79c2f4 Mon Sep 17 00:00:00 2001 From: anhc <3442943606@qq.com> Date: Tue, 5 Jul 2022 16:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96header=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=9B=B4=E6=8D=A2=E4=BD=BF=E7=94=A8=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=9D=83=E9=99=90=E7=BC=93=E5=AD=98=E8=8E=B7=E5=8F=96?= =?UTF-8?q?app=E5=BA=94=E7=94=A8=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/actionsoft/apps/coe/pal/portal/web/NavigationWeb.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/portal/web/NavigationWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/portal/web/NavigationWeb.java index 5bfd2046..789f6301 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/portal/web/NavigationWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/portal/web/NavigationWeb.java @@ -25,6 +25,7 @@ import java.util.*; import com.actionsoft.apps.coe.pal.constant.CoEConstant; import com.actionsoft.apps.coe.pal.cooperation.CoeCooperationAPIManager; +import com.actionsoft.apps.coe.pal.cooperation.cache.CooperationCache; import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationTeamModel; import com.actionsoft.apps.coe.pal.log.CoEOpLogAPI; import com.actionsoft.apps.coe.pal.log.CoEOpLogConst; @@ -1181,7 +1182,7 @@ public class NavigationWeb extends ActionWeb { if (UtilString.isNotEmpty(teamId)) { for (int i = 0; i < teamOptions.size(); i++) { String tempTeamId = teamOptions.getJSONObject(i).getString("teamId"); - Set appPerm = CoeCooperationAPIManager.getInstance().queryAppPerm(tempTeamId, _uc.getUID()); + Set appPerm = CooperationCache.getUserAPPPermission(tempTeamId, _uc.getUID()); JSONArray tempList = new JSONArray(); for (int j = 0; j < appList.size(); j++) { JSONObject app = appList.getJSONObject(j);