mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
58 lines
1.3 KiB
PHP
58 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use App\Models\PersonalAccessToken;
|
|
use Illuminate\Console\Command;
|
|
use NexusPlugin\Menu\Filament\MenuItemResource\Pages\ManageMenuItems;
|
|
use NexusPlugin\Menu\MenuRepository;
|
|
use NexusPlugin\Menu\Models\MenuItem;
|
|
use NexusPlugin\Permission\Models\Permission;
|
|
use NexusPlugin\Permission\Models\Role;
|
|
use NexusPlugin\PostLike\PostLikeRepository;
|
|
use NexusPlugin\StickyPromotion\Models\StickyPromotion;
|
|
use NexusPlugin\StickyPromotion\Models\StickyPromotionParticipator;
|
|
use NexusPlugin\Tracker\TrackerRepository;
|
|
use NexusPlugin\Work\Models\RoleWork;
|
|
use NexusPlugin\Work\WorkRepository;
|
|
|
|
class Test extends Command
|
|
{
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'test:test';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Just for test';
|
|
|
|
/**
|
|
* Create a new command instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
* Execute the console command.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function handle()
|
|
{
|
|
$r = config('nexus.ammds_secret');
|
|
// $r = SearchBox::query()->find(4)->ss()->orWhere("mode", 0)->get();
|
|
dd($r);
|
|
}
|
|
|
|
}
|