v.2.30
Добавлен расширенный отчет по реализации Добавлен монитор активности
This commit is contained in:
@@ -23,7 +23,11 @@
|
||||
url: $rootScope.apiUrl + method,
|
||||
timeout: 10 * 60 * 1000,
|
||||
data: xsrf,
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Token': $rootScope.globals.currentUser ? $rootScope.globals.currentUser.token : '' }
|
||||
headers: {
|
||||
'Accept': 'application/json, text/plain, */*',
|
||||
'Token': $rootScope.globals.currentUser ? $rootScope.globals.currentUser.token : '',
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
}).then(function successCallback(response) {
|
||||
if (response.data.status !== 'success') {
|
||||
if (response.data.more) {
|
||||
@@ -57,7 +61,11 @@
|
||||
method: 'GET',
|
||||
url: $rootScope.apiUrl + method,
|
||||
timeout: 10 * 60 * 1000,
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Token': $rootScope.globals.currentUser ? $rootScope.globals.currentUser.token : '' }
|
||||
headers: {
|
||||
'Accept': 'application/json, text/plain, */*',
|
||||
'Token': $rootScope.globals.currentUser ? $rootScope.globals.currentUser.token : '',
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
}).then(function successCallback(response) {
|
||||
if (response.data.status !== 'success') {
|
||||
Notification.error(response.data.more);
|
||||
|
||||
Reference in New Issue
Block a user