qq小程序支付

This commit is contained in:
Devil 2019-11-02 14:11:18 +08:00
parent b21fb7eb15
commit 3bcadafa12
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ class QQ
// QQ小程序支付
case 'MINIAPP' :
$result = DataReturn('success', 0, 'prepay_id='.$data['prepay_id']);
$result = DataReturn('success', 0, 'package='.$data['prepay_id']);
break;
// APP支付

View File

@ -235,7 +235,7 @@ Page({
app.showToast("支付成功", "success");
} else {
qq.requestPayment({
package: res.data.data,
package: res.data.data.package,
success: function(res) {
// 数据设置
var temp_data_list = self.data.data_list;