点赞城市审核

This commit is contained in:
2025-03-11 21:20:29 +08:00
parent 58f9061565
commit cb5387c591
5 changed files with 38 additions and 5 deletions

View File

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