feat: tg/ws/security/

This commit is contained in:
hashbro
2026-10-03 05:40:19 +08:00
parent 6e4f7e6020
commit afac799588
32 changed files with 2038 additions and 18 deletions
+12
View File
@@ -12,6 +12,14 @@ class SystemLog extends Model
public const ACTION_MNEMONIC_CREATE = 'mnemonic_create';
public const ACTION_ADMIN_LOCKED = 'admin_locked';
public const ACTION_ADMIN_UNLOCKED = 'admin_unlocked';
public const ACTION_AGENT_LOCKED = 'agent_locked';
public const ACTION_AGENT_UNLOCKED = 'agent_unlocked';
public const UPDATED_AT = null;
protected $fillable = [
@@ -30,6 +38,10 @@ class SystemLog extends Model
return [
self::ACTION_MNEMONIC_REVEAL => '查看助记词',
self::ACTION_MNEMONIC_CREATE => '手动添加助记词',
self::ACTION_ADMIN_LOCKED => '账号封锁',
self::ACTION_ADMIN_UNLOCKED => '账号解锁',
self::ACTION_AGENT_LOCKED => '代理账号封锁',
self::ACTION_AGENT_UNLOCKED => '代理账号解锁',
];
}