前端组件调整,剔除无用文件

This commit is contained in:
2019-09-28 20:12:43 +08:00
parent 0b0d659c5e
commit c29b8358be
3496 changed files with 893 additions and 393801 deletions

View File

@@ -0,0 +1,32 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace app\http\validate\admin;
use think\Validate;
class Client extends Validate {
protected $rule = [
'title' => 'require|unique:client',
'appid' => 'require|unique:client',
'appsecret' => 'require',
];
protected $message = [
'title.require' => '客户端标题不能为空!',
'appid.require' => 'APPID不能为空',
'appsecret.require' => '秘钥不能为空!',
];
protected $scene = [
'add' => ['title', 'appid', 'appsecret'],
'edit' => ['title', 'appid', 'appsecret'],
];
}