Tokumeikoi 5 years ago
parent
commit
cb2efac160
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Http/Controllers/Guest/OrderController.php

+ 3 - 1
app/Http/Controllers/Guest/OrderController.php

@@ -117,7 +117,9 @@ class OrderController extends Controller
         if (!$this->handle($params['merchant_order_id'], $params['order_id'])) {
             abort(500, 'order process fail');
         }
-        die('success');
+        die(json_encode([
+            'status' => 200
+        ]));
     }
 
     public function payTaroNotify(Request $request)