first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Administrator
|
||||
* Date: 2020/4/20
|
||||
* Time: 19:22
|
||||
*/
|
||||
|
||||
namespace app\api\validate;
|
||||
|
||||
|
||||
class SearchAboutValidate extends BaseValidate
|
||||
{
|
||||
protected $rule = [
|
||||
'title' => 'require|max:20'
|
||||
];
|
||||
protected $message = [
|
||||
'title.max' => '标题长度不能大于20'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user