徐总多门店
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.
 
 
 
 
 
 
jiuhaoshenghuo/app/validate/admin/work/WechatWorkChannelCodeValida...

40 lines
1.4 KiB

<?php
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
namespace app\validate\admin\work;
use think\Validate;
class WechatWorkChannelCodeValidate extends Validate
{
/**
* @var array
*/
protected $rule = [
'name' => 'require',
'reserve_userid' => 'require',
'cate_id' => 'require',
'label_id' => 'require',
'welcome_words' => 'require',
];
/**
* @var array
*/
protected $message = [
'name.require' => '请填写渠道二维码名称',
'reserve_userid.require' => '请选择渠道二维码备用成员',
'cate_id.require' => '请选择渠道二维码分类',
'label_id.require' => '请选择渠道二维码标签',
'welcome_words.require' => '请填写渠道二维码欢迎语',
];
}