|
|
|
@ -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);
|
|
|
|
|