123456789101112131415161718192021222324 |
- <?php
- namespace app\validate;
- use think\Validate;
- class ProPchAdd extends Validate
- {
- protected $rule = [
- 'qydm' => 'require',
- 'rq' => 'require',
- 'base_id' => 'require',
- 'pro_id' => 'require'
- ];
- protected $message = [
- 'qydm.require' => '企业代码不为空',
- 'rq.require' => '日期不为空',
- 'base_id.require' => '基地id不能为空',
- 'pro_id.require' => '产品id不能为空'
- ];
- }
|