<?php

namespace app\admin\validate\sys_manage;

use support\Validate;

class ContentValidate extends Validate
{
    protected $rule = [
        'content_id' => 'require|integer',
        'content_title|标题' => 'require',
    ];

    protected $scene = [
        'add' => ['content_title'],
        'update' => ['content_id', 'content_title']
    ];
}