You've already forked guangan
点赞城市审核
This commit is contained in:
@ -14,7 +14,7 @@ class CmsThumb extends Model
|
||||
|
||||
public function scopePublished($query)
|
||||
{
|
||||
$query->where(['status' => 1])->where('publish_at', '<=', date('Y-m-d H:i:s'));
|
||||
$query->where(['status' => 1])->where(['is_audit' => 1])->where('publish_at', '<=', date('Y-m-d H:i:s'));
|
||||
}
|
||||
|
||||
public function getImgsArrAttr($value, $data)
|
||||
|
Reference in New Issue
Block a user