[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);

View File

@@ -74,7 +74,7 @@ class User extends Authenticatable
'downloaded_human' => '下载量',
'share_ratio' => '分享率',
// 'seed_time' => '做种时间',
'seed_bonus' => '魔力值',
'bonus' => '魔力值',
'seed_points' => '做种积分',
'invites' => '邀请',
];