43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
<?php
|
|
declare(strict_types=1);
|
|
/**
|
|
* MineAdmin is committed to providing solutions for quickly building web applications
|
|
* Please view the LICENSE file that was distributed with this source code,
|
|
* For the full copyright and license information.
|
|
* Thank you very much for using MineAdmin.
|
|
*
|
|
* @Author X.Mo<root@imoi.cn>
|
|
* @Link https://gitee.com/xmo/MineAdmin
|
|
*/
|
|
|
|
namespace {NAMESPACE};
|
|
|
|
{USE}
|
|
use Hyperf\Di\Annotation\Inject;
|
|
use Hyperf\HttpServer\Annotation\Controller;
|
|
use Hyperf\HttpServer\Annotation\DeleteMapping;
|
|
use Hyperf\HttpServer\Annotation\GetMapping;
|
|
use Hyperf\HttpServer\Annotation\PostMapping;
|
|
use Hyperf\HttpServer\Annotation\PutMapping;
|
|
use Builder\Annotation\Auth;
|
|
use Builder\Annotation\OperationLog;
|
|
use Builder\Annotation\Permission;
|
|
use Builder\MineController;
|
|
use Psr\Http\Message\ResponseInterface;
|
|
|
|
/**
|
|
* {COMMENT}
|
|
* Class {CLASS_NAME}
|
|
*/
|
|
#[Controller(prefix: "{CONTROLLER_ROUTE}"), Auth]
|
|
class {CLASS_NAME} extends MineController
|
|
{
|
|
/**
|
|
* 业务处理服务
|
|
* {SERVICE}
|
|
*/
|
|
#[Inject]
|
|
protected {SERVICE} $service;
|
|
|
|
{FUNCTIONS}
|
|
} |