|
@@ -978,7 +978,7 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
|
|
|
}).success(function (data) {
|
|
}).success(function (data) {
|
|
|
$rootScope.unReadMessCount = data.count;
|
|
$rootScope.unReadMessCount = data.count;
|
|
|
|
|
|
|
|
- }).error(function (response) {
|
|
|
|
|
|
|
+ }).error(function (err) {
|
|
|
toaster.pop('error', err || '获取未读消息数量失败');
|
|
toaster.pop('error', err || '获取未读消息数量失败');
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|