Explorar o código

wesmiler 报恩寺项目提交

wesmiler %!s(int64=4) %!d(string=hai) anos
pai
achega
1b9cedf044
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/BuddhistService.php

+ 1 - 1
app/Services/BuddhistService.php

@@ -45,7 +45,7 @@ class BuddhistService extends BaseService
         $page = isset($params['pageSize']) ? intval($params['pageSize']) : PAGE;
         $pageSize = isset($params['pageSize']) ? intval($params['pageSize']) : PERPAGE;
 
-        $dataList = $this->model::from('buddhist as a')
+        $dataList = $this->model::from('buddhists as a')
             ->leftJoin('buddhist_cates as c', 'a.cate_id', '=', 'c.id')
             ->where(function ($query) use ($params) {
                 $query->where('a.mark', 1);