Authored by xuqi

href to pay

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