后台接口:
小程序端:参数为上面图片中返回参数值,一一对应
wx.requestPayment({
timeStamp: '',
nonceStr: '',
package: '',
signType: '',
paySign: '',
success: function(res) {
//........
},
fail: function(res) {
//........
},
complete: function(res) {
}
});