|
@@ -35,9 +35,9 @@ export default ({
|
|
|
},
|
|
|
// 获取支付信息
|
|
|
getPayOrderChange: function (orderID, payChannel, cb) {
|
|
|
- config.formData.append('order_id', orderID)
|
|
|
- config.formData.append('pay_channel', payChannel)
|
|
|
- axios.post('o2o/order/pay', config.formData).then(function (res) {
|
|
|
+ let test = [{user_id: config.userId}, {order_id: orderID}, {pay_channel: payChannel}]
|
|
|
+ let json = JSON.stringify(test)
|
|
|
+ axios.post('o2o/order/pay', json).then(function (res) {
|
|
|
cb(res.data)
|
|
|
}).catch(function (e) {
|
|
|
console.log(e)
|