修正日行一善
This commit is contained in:
@@ -58,26 +58,20 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
onContinuePayOrder(){
|
||||
this.onPayment({ id: this.query.order_id })
|
||||
},
|
||||
async onCreatePayOrder(){
|
||||
// 创建日行一善支付订单
|
||||
if(this.query.goods_type == '1'){
|
||||
const request = {
|
||||
...this.query,
|
||||
}
|
||||
const request = { ...this.query }
|
||||
const order = await createFriendlyDayOrder(request)
|
||||
this.onPayment(order)
|
||||
return
|
||||
}
|
||||
// 创建填砖加瓦订单
|
||||
if(this.query.goods_type == '2'){
|
||||
const request = {
|
||||
...this.query,
|
||||
|
||||
}
|
||||
const request = { ...this.query }
|
||||
const order = await createBrickDayOrder(request)
|
||||
await this.onPayment(order)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user