...
|
...
|
@@ -264,10 +264,10 @@ export default function() { |
|
|
return order;
|
|
|
},
|
|
|
|
|
|
async payAction(ctx, { orderCode }) {
|
|
|
async payAction(ctx, { orderCode, payment = 2 }) {
|
|
|
const payResult = await this.$api.post('/api/order/pay', {
|
|
|
orderCode,
|
|
|
payment: 2
|
|
|
payment
|
|
|
});
|
|
|
|
|
|
if (payResult.code !== 200) {
|
...
|
...
|
|