first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2020/4/20
* Time: 20:10
*/
namespace app\api\validate;
class MajorValidate extends BaseValidate
{
protected $rule = [
'title' => 'require|max:20',
'page' => 'require|isPostInt',
'userPro' => 'require|isPostInt',
'subType' => 'require',
'batch' => 'require',
];
protected $message = [
'title.max' => '标题长度不能大于20',
'page.isPostInt' => '页码必须是正整数',
'userPro.isPostInt' => '用户所在省份code必须是正整数'
];
}