[admin] filter improve & fix ad link

This commit is contained in:
xiaomlove
2022-03-04 16:16:56 +08:00
parent b9d5df232b
commit 0665770ca5
51 changed files with 218 additions and 71 deletions

View File

@@ -32,6 +32,8 @@ class HitAndRun extends NexusModel
self::MODE_GLOBAL => ['text' => 'Global'],
];
const MINIMUM_IGNORE_USER_CLASS = User::CLASS_VIP;
public function getStatusTextAttribute()
{
return nexus_trans('hr.status_' . $this->status);