...
|
...
|
@@ -54,7 +54,7 @@ class PayController extends HomeBaseController |
|
|
'body' => '百荣科技',
|
|
|
'detail' => '以客户为中心 以奋斗者文本',
|
|
|
'out_trade_no' => $data['order_number'],
|
|
|
'total_fee' => 1, /*$data['money']*100,*/ // 单位:分
|
|
|
'total_fee' => $data['money']*100, // 单位:分
|
|
|
'notify_url' => url('portal/pay/notify','','',true), // 支付结果通知网址,如果不设置则会使用配置里的默认地址
|
|
|
'openid' => $openid, // trade_type=JSAPI,此参数必传,用户在商户appid下的唯一标识,
|
|
|
];
|
...
|
...
|
@@ -301,12 +301,12 @@ class PayController extends HomeBaseController |
|
|
Db::rollback();
|
|
|
}
|
|
|
|
|
|
/*cache('a1',"789");
|
|
|
cache('a1',"789");
|
|
|
$bird = new BirdController;
|
|
|
$createOrder = $bird -> createOrder($order['id']);
|
|
|
cache('yuyue1',$createOrder);
|
|
|
$takeOrder = $bird -> takeOrder($order['id']);
|
|
|
cache('dingyue1',$takeOrder);*/
|
|
|
cache('dingyue1',$takeOrder);
|
|
|
}
|
|
|
return true; // 返回处理完成
|
|
|
});
|
...
|
...
|
|