Authored by xuqi

href to pay

@@ -76,8 +76,8 @@ const orderSub = (req, res, next) => { @@ -76,8 +76,8 @@ const orderSub = (req, res, next) => {
76 76
77 // 拼接地址 77 // 拼接地址
78 if (result.code === 200) { 78 if (result.code === 200) {
79 - result.data.payUrl = helper.urlFormat('/shopping/pay', {  
80 - orderCode: result.data.order_code 79 + result.data.payUrl = helper.urlFormat('/shopping/pay/online', {
  80 + code: result.data.order_code
81 }); 81 });
82 } 82 }
83 res.send(result); 83 res.send(result);