...
|
...
|
@@ -44,7 +44,7 @@ exports.addAsync = function(skn, sku) { |
|
|
if (result.code === 200) {
|
|
|
return $.Deferred().resolve().promise();
|
|
|
} else {
|
|
|
return $.Deferred().reject().promise();
|
|
|
return $.Deferred().reject(result).promise();
|
|
|
}
|
|
|
});
|
|
|
} else {
|
...
|
...
|
|