30 lines
999 B
PHP
Raw Permalink 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
// +----------------------------------------------------------------------
// | 作者:修缘 联系QQ278896498 QQ群1054861244
// | 声明:未经作者许可,禁止倒卖等商业运营,违者必究
// | 另接php业务网站制作、代理后台、gm后台、支付对接等
// +----------------------------------------------------------------------
// | 创建时间: 2022/1/19 19:59
// +----------------------------------------------------------------------
namespace app\common\validate;
class MergeServerValidate extends Validate
{
protected $rule = [
'password' => 'require',
'server' => 'require|different:target_server',
'target_server' => 'require',
];
protected $message = [
'password.require' => 'gm密码不能为空',
'server.require' => '请选择合并大区',
'server.different' => '合并区与目标区不能相同',
'target_server.require' => '请选择目标大区',
];
}