1234567891011121314151617181920212223 |
- <?php
- namespace app\common\validate;
- use think\Db;
- use think\Validate;
- class UserSchool extends Validate{
- protected $rule = [
- 'user_id' => 'require',
- 'xueli' => 'require',
- ];
- protected $message = [
- 'user_id.require' => '参数错误',
- 'xueli.require' => '未选择学历',
- ];
- protected $scene = [
- ];
- }
|