...
|
...
|
@@ -154,8 +154,9 @@ class BuyNowController { |
|
|
* @param {*} next
|
|
|
*/
|
|
|
orderSub(req, res, next) {
|
|
|
let uid = req.user.uid;
|
|
|
let params = {
|
|
|
uid: req.user.uid,
|
|
|
uid: uid,
|
|
|
product_sku: req.body.product_sku,
|
|
|
sku_type: req.body.sku_type,
|
|
|
buy_number: req.body.buy_number,
|
...
|
...
|
@@ -186,6 +187,10 @@ class BuyNowController { |
|
|
}
|
|
|
}
|
|
|
|
|
|
if (req.cookies.mkt_code || req.cookies._QYH_UNION) {
|
|
|
params.qhy_union = paymentProcess.unionInfoHandle(req.cookies, uid);
|
|
|
}
|
|
|
|
|
|
co(function * () {
|
|
|
let result = yield req.ctx(BuyNowModel).submit(params);
|
|
|
|
...
|
...
|
|