master
wangxinglong 2022-04-21 10:54:08 +08:00
parent fb68cdb945
commit 4f4816142a
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class Category extends Base
$item = input('post.');
$validate = $this->validateByApi($item, [
'pid|父级分类' => 'require|number',
'name|标题' => 'require|max:100|unique:disease,name,'.$id,
'name|标题' => 'require|max:100',
]);
if ($validate !== true) {