|
|
@@ -47,7 +47,7 @@ class EnshrineNoticeService extends BaseService
|
|
|
$isHide = isset($params['is_hide'])? $params['is_hide'] : 1;
|
|
|
|
|
|
$dataList = $this->model::from('enshrine_notices a')
|
|
|
- ->where(['a.type'=> $type,'a.is_hide','a.mark'=>1,'a.user_id'=> $userId,'a.status'=> 1])
|
|
|
+ ->where(['a.type'=> $type,'a.is_hide'=> $isHide,'a.mark'=>1,'a.user_id'=> $userId,'a.status'=> 1])
|
|
|
->select(['a.*'])
|
|
|
->orderBy('a.create_time', 'desc')
|
|
|
->paginate($pageSize);
|