Commit 41b9fa81 by wangshuo

单集购买微信支付

parent ded24a71
......@@ -48,7 +48,7 @@ class Single extends Component {
this.setState({
orderId: res.data.data.order_id
})
this.state.payType === '1' ? this.alipayPay(this.state.orderId) : this.weixinPay(this.state.orderId)
this.state.payType === '1' ? this.alipayPay(res.data.data.order_id) : this.weixinPay(res.data.data.order_id)
} else {
Toast.info(res.data.msg, 2)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment