wesmiler hace 1 día
padre
commit
1079a47dcc
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      app/Http/Controllers/Api/v1/PostRecordController.php

+ 4 - 0
app/Http/Controllers/Api/v1/PostRecordController.php

@@ -11,6 +11,10 @@ use App\Services\Api\PostRecordService;
  */
 class PostRecordController extends webApp
 {
+    public function __construct()
+    {
+        $this->service = new PostRecordService();
+    }
 
     /**
      * 列表