Tokumeikoi %!s(int64=5) %!d(string=hai) anos
pai
achega
cb2efac160
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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'])) {
         if (!$this->handle($params['merchant_order_id'], $params['order_id'])) {
             abort(500, 'order process fail');
             abort(500, 'order process fail');
         }
         }
-        die('success');
+        die(json_encode([
+            'status' => 200
+        ]));
     }
     }
 
 
     public function payTaroNotify(Request $request)
     public function payTaroNotify(Request $request)