123456789101112131415161718192021 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class Banner extends Validate{
- protected $rule = [
- 'title|标题' => 'require',
- 'img|图片' => 'require',
- ];
- protected $message = [
- 'img.require' => '未上传图片',
- ];
- protected $scene = [
- ];
- }
|