UserBank.php 368 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\common\validate;
  3. use think\Db;
  4. use think\Validate;
  5. class UserBank extends Validate{
  6. protected $rule = [
  7. 'user_id' => 'require',
  8. 'card|账号' => 'require',
  9. // 'card_name|户主' => 'require'
  10. ];
  11. protected $message = [
  12. 'user_id.require' => '参数错误',
  13. ];
  14. protected $scene = [
  15. ];
  16. }