You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
1 year ago
|
<?php
|
||
|
/**
|
||
|
* +----------------------------------------------------------------------
|
||
|
* | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||
|
* +----------------------------------------------------------------------
|
||
|
* | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
||
|
* +----------------------------------------------------------------------
|
||
|
* | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||
|
* +----------------------------------------------------------------------
|
||
|
* | Author: CRMEB Team <admin@crmeb.com>
|
||
|
* +----------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* 投诉管理
|
||
|
* @author crud自动生成代码
|
||
|
* @date 2023/10/16 15:26:40
|
||
|
*/
|
||
|
|
||
|
namespace app\adminapi\validate\crud;
|
||
|
|
||
|
|
||
|
use think\Validate;
|
||
|
|
||
|
/**
|
||
|
* Class CrudValidate
|
||
|
* @date 2023/10/16
|
||
|
* @package app\adminapi\validate\crud
|
||
|
*/
|
||
|
class UserComplaintValidate extends Validate
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $rule = [
|
||
|
'content'=> 'require',
|
||
|
'school_id'=> 'require',
|
||
|
'school_name'=> 'require',
|
||
|
'user_id'=> 'require',
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $message = [
|
||
|
'content.require'=> '投诉内容必须填写',
|
||
|
'school_id.require'=> '学校ID必须填写',
|
||
|
'school_name.require'=> '学校名称必须填写',
|
||
|
'user_id.require'=> '用户ID必须填写',
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $scene = [
|
||
|
|
||
|
];
|
||
|
}
|