Authored by 郭成尧

yoho_coin_mode

... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-06-21 10:15:38
* @Last Modified by: Targaryen
* @Last Modified time: 2017-06-27 15:20:50
* @Last Modified time: 2017-06-27 15:31:29
*/
const _ = require('lodash');
const co = require('bluebird').coroutine;
... ... @@ -54,6 +54,7 @@ class BuyNowController {
product_sku: product_sku,
sku_type: req.query.sku_type,
buy_number: buy_number,
yoho_coin_mode: parseInt(orderInfo.use_yoho_coin, 10) > 0 ? 1 : 0
});
let computeData = yield req.ctx(BuyNowModel).compute({
uid: req.user.uid,
... ...