黄宗昌 2 years ago
parent
commit
e07bfe744b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      app/Http/Controllers/V1/PayController.php

+ 4 - 1
app/Http/Controllers/V1/PayController.php

xqd
@@ -66,7 +66,10 @@ class PayController extends Controller
         }
         if($pay_type == 1){ // 支付宝支付
             $result = Factory::payment()->page()->pay("加入企业会员",$order->order_no,$order->money,'');
-            return $this->success($result->body);
+            return $this->success([
+                'order'=>$order,
+                'body'=>$result->body
+            ]);
         }else{
             return $this->error("正在开发中...");
         }