Przeglądaj źródła

wesmiler 报恩寺项目

wesmiler 4 lat temu
rodzic
commit
6341e8521e

+ 1 - 1
app/Http/Controllers/Api/v1/GongdengController.php

@@ -37,7 +37,7 @@ class GongdengController extends BaseController
      * @return mixed
      */
     public function index(){
-        return $this->service->getList($this->userId);
+        return $this->service->getMyGdList($this->userId);
     }
 
     /**

+ 1 - 1
app/Services/GongdengOrderService.php

@@ -80,7 +80,7 @@ class GongdengOrderService extends BaseService
     /**
      * 我的供灯列表
      */
-    public function getList($userId)
+    public function getMyGdList($userId)
     {
         $params = request()->all();
         $page = isset($params['pageSize']) ? intval($params['pageSize']) : PAGE;