mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
log promotion for filter
This commit is contained in:
@@ -77,9 +77,9 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$torrent = Torrent::query()->first();
|
||||
$torrent->name = Carbon::now()->toDateTimeString();
|
||||
$torrent->update(['seeders' => 100]);
|
||||
$torrent = \App\Models\Torrent::query()->find(3);
|
||||
$promotionInfo = apply_filter('torrent_promotion', $torrent->toArray());
|
||||
dd($promotionInfo);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user