From 87a3849227d71791c5a2134b31145a4c2eaee020 Mon Sep 17 00:00:00 2001 From: yangkai Date: Tue, 20 Nov 2018 17:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E5=BE=AE=E4=BF=A1=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=E6=8F=90=E9=86=92=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/ui/static/boot/managerMainApp.js | 4 ++-- src/main/ui/static/boot/managerMainAppv2.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/ui/static/boot/managerMainApp.js b/src/main/ui/static/boot/managerMainApp.js index 5873c9bb1..345160c15 100644 --- a/src/main/ui/static/boot/managerMainApp.js +++ b/src/main/ui/static/boot/managerMainApp.js @@ -34,14 +34,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo // if ($rootScope.currentUser.role ==2 || $rootScope.currentUser.role == 4){ // $scope.loadPartnerApplyNotice(); // } - if ($rootScope.currentUser.wx_openid == null) { + /*if ($rootScope.currentUser.wx_openid == null) { if ($filter('withRole')('100')) { $scope.managerBindWechat('static'); } else { $scope.managerBindWechat(true); } - } + }*/ }, function (resp) { if (resp.status == 403) { location.href = 'm_login.html?f=' + encodeURIComponent(location.href); diff --git a/src/main/ui/static/boot/managerMainAppv2.js b/src/main/ui/static/boot/managerMainAppv2.js index 69806e518..c14fc6558 100644 --- a/src/main/ui/static/boot/managerMainAppv2.js +++ b/src/main/ui/static/boot/managerMainAppv2.js @@ -162,14 +162,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo // if ($rootScope.currentUser.role ==2 || $rootScope.currentUser.role == 4){ // $scope.loadPartnerApplyNotice(); // } - if ($rootScope.currentUser.wx_openid == null) { + /*if ($rootScope.currentUser.wx_openid == null) { if ($filter('withRole')('100')) { $scope.managerBindWechat('static'); } else { $scope.managerBindWechat(true); } - } + }*/ }, function (resp) { if (resp.status == 403) { location.href = 'm_login.html?f=' + encodeURIComponent(location.href);