<?php

namespace app\admin\validate;

use think\Validate;
use app\model;
use app\api\validate\BaseValidate;

class UserExpRuleValidate extends BaseValidate
{

    protected $rule = [
        'event' => 'require',
        'action' => 'require',
        'exp' => 'require|number'

    ];

    protected $message = [
        'event.require' => '事件不能为空',
        'action.require' => '接口地址不能为空',
        'exp.require' => '经验值不能为空'
    ];


}