new_naweigete/crmeb/app/adminapi/validate/crud/LeaveWordValidate.php
2025-03-17 10:04:28 +08:00

60 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* +----------------------------------------------------------------------
* | CRMEB [ CRMEB赋能开发者助力企业发展 ]
* +----------------------------------------------------------------------
* | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
* +----------------------------------------------------------------------
* | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
* +----------------------------------------------------------------------
* | Author: CRMEB Team <admin@crmeb.com>
* +----------------------------------------------------------------------
*/
/**
* 联系我们留言
* @author crud自动生成代码
* @date 2025/03/13 11:55:43
*/
namespace app\adminapi\validate\crud;
use think\Validate;
/**
* Class CrudValidate
* @date 2025/03/13
* @package app\adminapi\validate\crud
*/
class LeaveWordValidate extends Validate
{
/**
* @var array
*/
protected $rule = [
'name'=> 'require',
'mobile'=> 'require',
'content'=> 'require',
'create_time'=> 'require',
];
/**
* @var array
*/
protected $message = [
'name.require'=> '姓名必须填写',
'mobile.require'=> '联系方式必须填写',
'content.require'=> '留言必须填写',
'create_time.require'=> '添加时间必须填写',
];
/**
* @var array
*/
protected $scene = [
];
}