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