first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Administrator
|
||||
* Date: 2020/5/2
|
||||
* Time: 22:59
|
||||
*/
|
||||
|
||||
namespace app\api\validate;
|
||||
|
||||
|
||||
class DefaultMajorValidate extends BaseValidate
|
||||
{
|
||||
protected $rule = [
|
||||
'userPro' => 'require|isPostInt',
|
||||
'subType' => 'require',
|
||||
'batch' => 'require',
|
||||
|
||||
|
||||
];
|
||||
protected $message = [
|
||||
'userPro.isPostInt' => '用户所在省份code必须是正整数'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user