修改登录后拿不到权限

master
dell 4 years ago
parent eaa934d3f9
commit a46e955fbe

@ -69,7 +69,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) {
$scope.getAgStatus();
}
$scope.loadPartnerNotice();
}, function (resp) {
if (resp.status == 403) {
location.href = 'login.html?f=' + encodeURIComponent(location.href);
@ -100,7 +100,6 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
}
})
};
$scope.loadPartnerNotice();
$scope.loadSignEvents = function () {
$http.get('/client/partner_info/sign_events').then(function (resp) {

Loading…
Cancel
Save