Authored by jinhu.tung

remove console

@@ -120,7 +120,6 @@ exports.sendToFavorite = (req, res, next) => { @@ -120,7 +120,6 @@ exports.sendToFavorite = (req, res, next) => {
120 } 120 }
121 121
122 cartModel.transferToFavorite(params).then(result => { 122 cartModel.transferToFavorite(params).then(result => {
123 - console.log('transferToFavorite-result:', result);  
124 res.json(_.merge(cartModel.filterCartData(result, uid), {code: result.code, message: result.message})); 123 res.json(_.merge(cartModel.filterCartData(result, uid), {code: result.code, message: result.message}));
125 }).catch(next); 124 }).catch(next);
126 }; 125 };
@@ -18,8 +18,6 @@ exports.multiple = (num1, num2) => { @@ -18,8 +18,6 @@ exports.multiple = (num1, num2) => {
18 18
19 if (num1 && num2) { 19 if (num1 && num2) {
20 return num1 * num2; 20 return num1 * num2;
21 - } else {  
22 - console.error('multiplication needs two number parameters');  
23 } 21 }
24 }; 22 };
25 23