<?php

namespace app\common\validate;

use think\Validate;

class PreviousValidate extends Validate
{
    protected $rule = [
        'title' => 'require',
        'image' => 'require',
    ];

    protected $message = [
        'title' => '标题不能为空',
        'image' => '请上传图片',
    ];

}