[运营]公告

This commit is contained in:
2026-04-16 14:32:35 +08:00
parent 54f460a242
commit 6c491bac81
6 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace app\admin\controller\operation;
use app\common\controller\Backend;
use support\Response;
use Webman\Http\Request as WebmanRequest;
/**
* 运营公告
*/
class OperationNotice extends Backend
{
protected ?object $model = null;
protected string|array $preExcludeFields = ['id', 'create_time', 'update_time'];
protected string|array $quickSearchField = ['id', 'title'];
protected string|array $defaultSortField = ['id' => 'desc'];
protected string|array $orderGuarantee = ['id' => 'desc'];
protected bool $modelValidate = false;
protected function initController(WebmanRequest $request): ?Response
{
$this->model = new \app\common\model\OperationNotice();
return null;
}
}