Explorar el Código

wesmiler 报恩寺项目提交

wesmiler hace 4 años
padre
commit
8cb73027e7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Http/Controllers/Api/v1/DonatesController.php

+ 2 - 2
app/Http/Controllers/Api/v1/DonatesController.php

@@ -27,7 +27,7 @@ class DonatesController extends BaseController
     {
     {
         parent::__construct();
         parent::__construct();
 
 
-        $this->service = new DonateService();
+        $this->service = new DonateService()
         $this->mecryService = new MecryService();
         $this->mecryService = new MecryService();
     }
     }
 
 
@@ -37,7 +37,7 @@ class DonatesController extends BaseController
      */
      */
     public function index(){
     public function index(){
         $params = request()->all();
         $params = request()->all();
-        $params['user_id']=> $this->userId;
+        $params['user_id'] = $this->userId;
         return $this->service->getDataList($params);
         return $this->service->getDataList($params);
     }
     }