| | |
| | | var tryCallWx = false |
| | | // #ifdef MP |
| | | let tmp = this |
| | | if (wx.openBusinessView&&false) { |
| | | if (wx.openBusinessView && tmp.dto && tmp.dto.paymentTrId) { |
| | | tryCallWx = true |
| | | wx.openBusinessView({ |
| | | businessType: 'weappOrderConfirm', |
| | | extraData: { |
| | | merchant_id: '1230000109', |
| | | merchant_trade_no: '1234323JKHDFE1243252', |
| | | transaction_id: '420123123123123123123' |
| | | // merchant_id: '', |
| | | // merchant_trade_no: '', |
| | | transaction_id: tmp.dto && tmp.dto.paymentTrId || '' |
| | | }, |
| | | success() { |
| | | //dosomething |
| | |
| | | var tryCallWx = false |
| | | // #ifdef MP |
| | | let tmp = this |
| | | if (wx.openBusinessView&&false) { |
| | | if (wx.openBusinessView&&item.paymentTrId) { |
| | | tryCallWx = true |
| | | wx.openBusinessView({ |
| | | businessType: 'weappOrderConfirm', |
| | | extraData: { |
| | | merchant_id: '1230000109', |
| | | merchant_trade_no: '1234323JKHDFE1243252', |
| | | transaction_id: '420123123123123123123' |
| | | // merchant_id: '1230000109', |
| | | // merchant_trade_no: '1234323JKHDFE1243252', |
| | | transaction_id: item.paymentTrId |
| | | }, |
| | | success() { |
| | | //dosomething |