mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
torrent global state add begin
This commit is contained in:
@@ -18,6 +18,8 @@ class Setting extends NexusModel
|
||||
const DIRECT_PERMISSION_CACHE_KEY_PREFIX = 'nexus_direct_permissions_';
|
||||
const ROLE_PERMISSION_CACHE_KEY_PREFIX = 'nexus_role_permissions_';
|
||||
|
||||
const TORRENT_GLOBAL_STATE_CACHE_KEY = 'global_promotion_state';
|
||||
|
||||
/**
|
||||
* get setting autoload = yes with cache
|
||||
*
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace App\Models;
|
||||
|
||||
class TorrentState extends NexusModel
|
||||
{
|
||||
protected $fillable = ['global_sp_state', 'deadline'];
|
||||
protected $fillable = ['global_sp_state', 'deadline', 'begin'];
|
||||
|
||||
protected $table = 'torrents_state';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user