nk-lihaink-cn/app/admin/validate/SupplyLevelValidate.php
2023-03-13 17:57:40 +08:00

22 lines
458 B
PHP

<?php
/**
* @copyright Copyright (c) 2021 勾股工作室
* @license https://opensource.org/licenses/Apache-2.0
* @link https://www.gougucms.com
*/
namespace app\admin\validate;
use think\Validate;
class SupplyLevelValidate extends Validate
{
protected $rule = [
'name' => 'require',
'rate' => 'require',
];
protected $message = [
'name.require' => '角色名称不能为空',
'rate.require' => '分佣比例不能为空',
];
}