目录结构更新,增加composer支持

This commit is contained in:
2018-01-14 09:41:28 +08:00
parent ae46a73172
commit 0c7d06de51
29 changed files with 506 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?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>
// +----------------------------------------------------------------------
return [
// 验证码字体大小
'fontSize' => 25,
// 验证码位数
'length' => 3,
// 关闭验证码杂点
'useNoise' => false,
'useZh' => true
];

View File

@@ -0,0 +1,28 @@
<?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>
// +----------------------------------------------------------------------
return [
'text' => ['title' => '单行文本', 'type' => 'varchar'],
'string' => ['title' => '字符串', 'type' => 'int'],
'password' => ['title' => '密码', 'type' => 'varchar'],
'textarea' => ['title' => '文本框', 'type' => 'text'],
'bool' => ['title' => '布尔型', 'type' => 'int'],
'select' => ['title' => '选择', 'type' => 'varchar'],
'num' => ['title' => '数字', 'type' => 'int'],
'decimal' => ['title' => '金额', 'type' => 'decimal'],
'tags' => ['title' => '标签', 'type' => 'varchar'],
'datetime' => ['title' => '时间控件', 'type' => 'int'],
'date' => ['title' => '日期控件', 'type' => 'varchar'],
'editor' => ['title' => '编辑器', 'type' => 'text'],
'bind' => ['title' => '模型绑定', 'type' => 'int'],
'image' => ['title' => '图片上传', 'type' => 'int'],
'images' => ['title' => '多图上传', 'type' => 'varchar'],
'attach' => ['title' => '文件上传', 'type' => 'varchar'],
];