wesmiler hai 3 meses
pai
achega
27faee8716
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      app/Http/Controllers/Api/v1/OrderController.php

+ 1 - 4
app/Http/Controllers/Api/v1/OrderController.php

@@ -51,10 +51,7 @@ class OrderController extends webApp
     {
         $status = request()->post('status', 1);
         $data = OrderService::make()->getCountByStatus($this->userId, $status);
-        return showJson(1010, true, [
-            'count'=>$data,
-            'social_open'=>ConfigService::make()->getConfigByCode('social_open',0)
-        ]);
+        return showJson(1010, true, $data);
     }