18 lines
482 B
PHP
Executable File
18 lines
482 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Controller\admin\api;
|
|
|
|
use App\Controller\AbstractController;
|
|
use App\Model\AppAdminMenu;
|
|
use Hyperf\HttpServer\Annotation\Controller;
|
|
use Hyperf\HttpServer\Annotation\RequestMapping;
|
|
|
|
#[Controller(prefix: 'admin/api/permission')]
|
|
class PermissionController extends AbstractController
|
|
{
|
|
#[RequestMapping(path:'', methods: 'get')]
|
|
public function index(): array
|
|
{
|
|
return ['code' => 0, 'msg' => 'ok', 'data' => ['*']];
|
|
}
|
|
} |