mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 20:10:30 +08:00
qq小程序支付
This commit is contained in:
parent
b21fb7eb15
commit
3bcadafa12
@ -215,7 +215,7 @@ class QQ
|
|||||||
|
|
||||||
// QQ小程序支付
|
// QQ小程序支付
|
||||||
case 'MINIAPP' :
|
case 'MINIAPP' :
|
||||||
$result = DataReturn('success', 0, 'prepay_id='.$data['prepay_id']);
|
$result = DataReturn('success', 0, 'package='.$data['prepay_id']);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// APP支付
|
// APP支付
|
||||||
|
@ -235,7 +235,7 @@ Page({
|
|||||||
app.showToast("支付成功", "success");
|
app.showToast("支付成功", "success");
|
||||||
} else {
|
} else {
|
||||||
qq.requestPayment({
|
qq.requestPayment({
|
||||||
package: res.data.data,
|
package: res.data.data.package,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
// 数据设置
|
// 数据设置
|
||||||
var temp_data_list = self.data.data_list;
|
var temp_data_list = self.data.data_list;
|
||||||
|
Loading…
Reference in New Issue
Block a user