123456789101112131415161718192021 |
- <?php
- namespace app\admin\validate\customer;
- use support\Validate;
- class IndexValidate extends Validate
- {
- protected $rule = [
- 'id'=>'require|integer',
- 'mobile'=>'mobile',
- 'card_id'=>'idCard'
- ];
- protected $message = [];
- protected $scene = [
- 'add'=>['mobile','card_id'],
- 'update'=>[]
- ];
- }
|