Browse Source

wesmiler 报恩寺项目提交

wesmiler 4 years ago
parent
commit
8ba7783f89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/BuddhistService.php

+ 1 - 1
app/Services/BuddhistService.php

@@ -204,7 +204,7 @@ class BuddhistService extends BaseService
         $info = $this->model::from('buddhists as a')
             ->leftJoin('buddhist_cates as c', 'a.cate_id', '=', 'c.id')
             ->where(['a.id'=> $id,'a.mark'=> 1,'a.status'=> 1])
-            ->select(['a.id','a.cate_id','a.type'])
+            ->select(['a.id','a.cate_id'])
             ->first();
 
         $dataList = $this->model::from('buddhists as a')