|
|
@@ -885,7 +885,7 @@ define(["app/app", 'jquery-summernote'], function(app) {
|
|
|
$scope.calculateAmount($scope.selectedStoreCarts);
|
|
|
|
|
|
}, function (res) {
|
|
|
- toaster.pop('error', '系统错误', '购物车信息删除失败' + res.data);
|
|
|
+ toaster.pop('error', '系统错误', res.data);
|
|
|
});
|
|
|
|
|
|
|
|
|
@@ -899,7 +899,7 @@ define(["app/app", 'jquery-summernote'], function(app) {
|
|
|
$scope.collectDelete(id);
|
|
|
toaster.pop('success', '收藏成功');
|
|
|
}, function(response) {
|
|
|
- toaster.pop('error', '收藏失败');
|
|
|
+ toaster.pop('error', response.data);
|
|
|
})
|
|
|
});
|
|
|
}else{
|
|
|
@@ -920,8 +920,8 @@ define(["app/app", 'jquery-summernote'], function(app) {
|
|
|
$scope.collectDelete();
|
|
|
toaster.pop('success', '收藏成功');
|
|
|
}
|
|
|
- },function () {
|
|
|
- toaster.pop('error', '收藏失败');
|
|
|
+ },function (response) {
|
|
|
+ toaster.pop('error', response.data);
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
@@ -978,7 +978,7 @@ define(["app/app", 'jquery-summernote'], function(app) {
|
|
|
toaster.pop('success', '成功删除');
|
|
|
$modalInstance.close()
|
|
|
}, function (res) {
|
|
|
- toaster.pop('error', '系统错误', '购物车信息删除失败' + res.data);
|
|
|
+ toaster.pop('error', '系统错误', res.data);
|
|
|
});
|
|
|
};
|
|
|
|
|
|
@@ -987,7 +987,7 @@ define(["app/app", 'jquery-summernote'], function(app) {
|
|
|
toaster.pop('success', '成功清除购物车内的无效产品');
|
|
|
$modalInstance.close()
|
|
|
}, function (res) {
|
|
|
- toaster.pop('error', '系统错误', '购物车信息删除失败' + res.data);
|
|
|
+ toaster.pop('error', '系统错误', res.data);
|
|
|
});
|
|
|
};
|
|
|
|