فهرست منبع

wesmiler 报恩寺项目提交

wesmiler 4 سال پیش
والد
کامیت
04b3bef6d5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Services/ArticleService.php

+ 1 - 1
app/Services/ArticleService.php

@@ -211,7 +211,7 @@ class ArticleService extends BaseService
 
         $info = $this->model::from('article as a')
             ->leftJoin('article_cates as c', 'a.cate_id', '=', 'c.id')
-            ->where(['a.id'=> $id,'makr'=> 1,'status'=> 1])
+            ->where(['a.id'=> $id,'mark'=> 1,'status'=> 1])
             ->select(['a.id','a.cate_id','a.type'])
             ->first();