mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 10:59:47 +08:00
qq小程序支付
This commit is contained in:
parent
b21fb7eb15
commit
3bcadafa12
@ -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支付
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user