创建模型验证器,验证数据正确性
This commit is contained in:
@@ -23,7 +23,9 @@ class UserNoticeRead extends Backend
|
||||
|
||||
protected array $withJoinTable = ['user', 'operationNotice'];
|
||||
|
||||
protected bool $modelValidate = false;
|
||||
protected bool $modelValidate = true;
|
||||
|
||||
protected bool $modelSceneValidate = true;
|
||||
|
||||
protected function initController(WebmanRequest $request): ?Response
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user