小程序,uniapp,微信支付

			wx.requestPayment({
			  timeStamp: res.data.result.timeStamp,
			  nonceStr: res.data.result.nonceStr,
			  package: res.data.result.package,
			  signType: res.data.result.signType,
			  paySign: res.data.result.paySign,
			  success (res) { 
				  uni.navigateTo({
				  	url:'/pages/customer/pending'
				  })
			  },
			  fail (res) { 
				  uni.showToast({
				  	title:'支付失败',
					icon:'none',
					duration:1000
				  })
				  uni.navigateTo({
				  	url:'/pages/customer/pending'
				  })
			  }
			})
©️2020 CSDN 皮肤主题: 游动-白 设计师:上身试试 返回首页