12345678910111213141516171819202122 |
- <?php
- namespace app\common\validate;
- use think\Db;
- use think\Validate;
- class UserReward extends Validate{
- protected $rule = [
- 'user_id' => 'require',
- 'title|荣誉/奖项名称' => 'require',
- ];
- protected $message = [
- 'user_id.require' => '参数错误',
- ];
- protected $scene = [
- ];
- }
|