<?php
/**
 * @author 林海涛
 * @date 2024/7/10 下午5:20
 */

namespace app\workerapi\validate;
use app\common\validate\BaseValidate;
class MasterWorkerCustomerValidate extends BaseValidate
{
    protected $rule = [
        'name' => 'require',
        'mobile' => 'require|mobile',
        'problem' => 'require',
    ];

    protected $message = [
        'name.require' => '请输入真实姓名',
        'mobile.require' => '请输入手机号',
        'mobile.mobile' => '手机号格式有误',
        'problem.require' => '请输入要咨询的问题',
    ];
}