|
@@ -83,7 +83,7 @@ exports.compute = (req, res, next) => { |
|
@@ -83,7 +83,7 @@ exports.compute = (req, res, next) => { |
83
|
uid: req.user.uid,
|
83
|
uid: req.user.uid,
|
84
|
product_sku: sku,
|
84
|
product_sku: sku,
|
85
|
delivery_way: req.body.deliveryId || 1,
|
85
|
delivery_way: req.body.deliveryId || 1,
|
86
|
- use_yoho_coin: req.body.use_yoho_coin || 0,
|
86
|
+ use_yoho_coin: req.body.yohoCoin || 0,
|
87
|
activity_id: activityId
|
87
|
activity_id: activityId
|
88
|
};
|
88
|
};
|
89
|
|
89
|
|
|
@@ -134,7 +134,10 @@ exports.submit = (req, res, next) => { |
|
@@ -134,7 +134,10 @@ exports.submit = (req, res, next) => { |
134
|
delivery_time: deliveryTime,
|
134
|
delivery_time: deliveryTime,
|
135
|
delivery_way: deliveryWay,
|
135
|
delivery_way: deliveryWay,
|
136
|
payment_id: paymentId,
|
136
|
payment_id: paymentId,
|
137
|
- payment_type: paymentType
|
137
|
+ payment_type: paymentType,
|
|
|
138
|
+ product_sku: sku,
|
|
|
139
|
+ activity_id: activityId,
|
|
|
140
|
+ uid
|
138
|
};
|
141
|
};
|
139
|
|
142
|
|
140
|
return buyNowModel.submit(options)
|
143
|
return buyNowModel.submit(options)
|