|
@@ -236,7 +236,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
};
|
|
};
|
|
|
}]);
|
|
}]);
|
|
|
|
|
|
|
|
- app.controller('AuthCtrl', ['$scope', '$window', 'AuthenticationService', '$modal', function($scope, $window, AuthenticationService, $modal) {
|
|
|
|
|
|
|
+ app.controller('AuthCtrl', ['$scope', '$window', 'AuthenticationService', '$modal', 'BaseService', function($scope, $window, AuthenticationService, $modal, BaseService) {
|
|
|
$scope.isAuthed = AuthenticationService.isAuthed(); //AuthenticationService模块在common/下
|
|
$scope.isAuthed = AuthenticationService.isAuthed(); //AuthenticationService模块在common/下
|
|
|
$scope.userInfo = {};
|
|
$scope.userInfo = {};
|
|
|
AuthenticationService.getAuthentication().success(function(data) {
|
|
AuthenticationService.getAuthentication().success(function(data) {
|