123456789101112131415161718 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- use think\Db;
- class HouseContractDefault extends Validate{
- protected $rule = [
- 'contract_id' => 'require',
- 'intro|说明' => 'require',
- 'default_date|违约时间' => 'require|date',
- ];
- protected $scene = [
- 'contract_id.require' => '参数错误'
- ];
- }
|