feat: autotransfer

This commit is contained in:
hashbro
2026-08-17 02:03:17 +08:00
parent 376b442880
commit a32043df71
42 changed files with 3268 additions and 256 deletions
+10
View File
@@ -9,6 +9,11 @@ class User extends Authenticatable
{
protected $fillable = [
'username', 'password', 'status', 'comment', 'chat_id',
'auto_transfer_enabled',
'auto_transfer_threshold_usdt',
'auto_transfer_threshold_trx',
'auto_transfer_threshold_eth',
'auto_transfer_threshold_btc',
];
protected $hidden = [
@@ -29,6 +34,11 @@ class User extends Authenticatable
return [
'password' => 'hashed',
'status' => 'integer',
'auto_transfer_enabled' => 'boolean',
'auto_transfer_threshold_usdt' => 'decimal:8',
'auto_transfer_threshold_trx' => 'decimal:8',
'auto_transfer_threshold_eth' => 'decimal:8',
'auto_transfer_threshold_btc' => 'decimal:8',
];
}