mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
add taxonomy field to torrent comment fields
This commit is contained in:
@@ -55,6 +55,8 @@ use NexusPlugin\Permission\Models\Role;
|
||||
use NexusPlugin\PostLike\PostLikeRepository;
|
||||
use NexusPlugin\StickyPromotion\Models\StickyPromotion;
|
||||
use NexusPlugin\StickyPromotion\Models\StickyPromotionParticipator;
|
||||
use NexusPlugin\Work\Models\RoleWork;
|
||||
use NexusPlugin\Work\WorkRepository;
|
||||
use PhpIP\IP;
|
||||
use PhpIP\IPBlock;
|
||||
use Rhilip\Bencode\Bencode;
|
||||
@@ -92,11 +94,8 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$categoryTaxonomies = [
|
||||
'category' => ['table' => 'categories', 'model' => Category::class],
|
||||
];
|
||||
$categoryTaxonomies = array_merge($categoryTaxonomies, SearchBox::$taxonomies);
|
||||
dd($categoryTaxonomies);
|
||||
$rep = new WorkRepository();
|
||||
$rep->settleRole(5);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user