UserReward.php 342 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\common\validate;
  3. use think\Db;
  4. use think\Validate;
  5. class UserReward extends Validate{
  6. protected $rule = [
  7. 'user_id' => 'require',
  8. 'title|荣誉/奖项名称' => 'require',
  9. ];
  10. protected $message = [
  11. 'user_id.require' => '参数错误',
  12. ];
  13. protected $scene = [
  14. ];
  15. }