12345678910111213141516171819 |
- <?php
- namespace app\validate;
- use think\Validate;
- class Statistic extends Validate
- {
- protected $rule = [
- 'base_id' => 'require',
- 'pro_id' => 'require'
- ];
- protected $message = [
- 'base_id.require' => '基地id不为空',
- 'pro_id.require' => '产品id不为空'
- ];
- }
|