|
|
@@ -23,6 +23,9 @@ class AliPay
|
|
23
|
23
|
{
|
|
24
|
24
|
$groupOrderId = request()->param('groupOrderId');
|
|
25
|
25
|
$groupOrder = StoreGroupOrder::where('group_order_id', $groupOrderId)->find()->toArray();
|
|
|
26
|
+ if (!$groupOrder) {
|
|
|
27
|
+ return app('json')->fail('订单不存在');
|
|
|
28
|
+ }
|
|
26
|
29
|
$access = new Access();
|
|
27
|
30
|
$res = $access->pay_huifu('ALI','',$groupOrder,'支付宝支付',env('APP_URL')."/api/hf_notify/pay");
|
|
28
|
31
|
return app('json')->success($res);
|