Przeglądaj źródła

wesmiler 报恩寺项目提交

wesmiler 4 lat temu
rodzic
commit
c3746909af

+ 5 - 1
app/Http/Controllers/Api/v1/BuddhistController.php

@@ -90,7 +90,11 @@ class BuddhistController extends BaseController
         return $this->pageService->getDetail($bid, $id);
     }
 
+    /**
+     * 收藏
+     * @return array
+     */
     public function collect(){
-        return $this->collectService->collect($this->userId);
+        return $this->collectService->save($this->userId);
     }
 }