uni.request({
url: config.requestUrl + 'api/Url',
method: 'post',
data: {
orderSN
},
responseType: "arrayBuffer",
success: (res) => {
uni.hideLoading()
let url = 'data:image/png;base64,' + uni.arrayBufferToBase64(res.data)
this.payImg = url
},
fail: (err) => {
uni.hideLoading()
this.isSubmiting = false
this.$showTip(err.msg)
}
})