|
|
@@ -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();
|
|
|
|