绑定微信二维码提醒注释

master
yangkai 6 years ago
parent 86d26f51d0
commit 87a3849227

@ -34,14 +34,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
// if ($rootScope.currentUser.role ==2 || $rootScope.currentUser.role == 4){ // if ($rootScope.currentUser.role ==2 || $rootScope.currentUser.role == 4){
// $scope.loadPartnerApplyNotice(); // $scope.loadPartnerApplyNotice();
// } // }
if ($rootScope.currentUser.wx_openid == null) { /*if ($rootScope.currentUser.wx_openid == null) {
if ($filter('withRole')('100')) { if ($filter('withRole')('100')) {
$scope.managerBindWechat('static'); $scope.managerBindWechat('static');
} else { } else {
$scope.managerBindWechat(true); $scope.managerBindWechat(true);
} }
} }*/
}, function (resp) { }, function (resp) {
if (resp.status == 403) { if (resp.status == 403) {
location.href = 'm_login.html?f=' + encodeURIComponent(location.href); location.href = 'm_login.html?f=' + encodeURIComponent(location.href);

@ -162,14 +162,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
// if ($rootScope.currentUser.role ==2 || $rootScope.currentUser.role == 4){ // if ($rootScope.currentUser.role ==2 || $rootScope.currentUser.role == 4){
// $scope.loadPartnerApplyNotice(); // $scope.loadPartnerApplyNotice();
// } // }
if ($rootScope.currentUser.wx_openid == null) { /*if ($rootScope.currentUser.wx_openid == null) {
if ($filter('withRole')('100')) { if ($filter('withRole')('100')) {
$scope.managerBindWechat('static'); $scope.managerBindWechat('static');
} else { } else {
$scope.managerBindWechat(true); $scope.managerBindWechat(true);
} }
} }*/
}, function (resp) { }, function (resp) {
if (resp.status == 403) { if (resp.status == 403) {
location.href = 'm_login.html?f=' + encodeURIComponent(location.href); location.href = 'm_login.html?f=' + encodeURIComponent(location.href);

Loading…
Cancel
Save