mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
d26ee541dd
commit
1b2db3a131
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,6 @@
|
|||||||
.env
|
.env
|
||||||
|
.git
|
||||||
|
.svn
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
*.log
|
*.log
|
||||||
@ -7,7 +9,7 @@
|
|||||||
/nbproject
|
/nbproject
|
||||||
/composer.lock
|
/composer.lock
|
||||||
/public/upload
|
/public/upload
|
||||||
/public/static/theme/css/node_modules/
|
/public/static/theme/css/node_modules
|
||||||
/public/static/theme/css/package-lock.json
|
/public/static/theme/css/package-lock.json
|
||||||
/public/static/theme/css/console.custom.css
|
/public/static/theme/css/console.custom.css
|
||||||
/public/static/theme/css/console.custom.css.map
|
/public/static/theme/css/console.custom.css.map
|
||||||
|
8
composer.lock
generated
8
composer.lock
generated
@ -929,12 +929,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "e03639f80bccd83c9ab5bb1f1001ea1d62d85afa"
|
"reference": "5cadd93e2f12dcb645b6a63652da5b37d220274f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/e03639f80bccd83c9ab5bb1f1001ea1d62d85afa",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/5cadd93e2f12dcb645b6a63652da5b37d220274f",
|
||||||
"reference": "e03639f80bccd83c9ab5bb1f1001ea1d62d85afa",
|
"reference": "5cadd93e2f12dcb645b6a63652da5b37d220274f",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -978,7 +978,7 @@
|
|||||||
],
|
],
|
||||||
"description": "ThinkPHP v6.0 Development Library",
|
"description": "ThinkPHP v6.0 Development Library",
|
||||||
"homepage": "http://framework.thinkadmin.top",
|
"homepage": "http://framework.thinkadmin.top",
|
||||||
"time": "2020-07-22T06:32:55+00:00"
|
"time": "2020-07-28T07:55:11+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zoujingli/wechat-developer",
|
"name": "zoujingli/wechat-developer",
|
||||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -955,12 +955,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "e03639f80bccd83c9ab5bb1f1001ea1d62d85afa"
|
"reference": "5cadd93e2f12dcb645b6a63652da5b37d220274f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/e03639f80bccd83c9ab5bb1f1001ea1d62d85afa",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/5cadd93e2f12dcb645b6a63652da5b37d220274f",
|
||||||
"reference": "e03639f80bccd83c9ab5bb1f1001ea1d62d85afa",
|
"reference": "5cadd93e2f12dcb645b6a63652da5b37d220274f",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -976,7 +976,7 @@
|
|||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"topthink/framework": "^6.0"
|
"topthink/framework": "^6.0"
|
||||||
},
|
},
|
||||||
"time": "2020-07-22T06:32:55+00:00",
|
"time": "2020-07-28T07:55:11+00:00",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"think": {
|
"think": {
|
||||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// This file is automatically generated at:2020-07-27 09:27:37
|
// This file is automatically generated at:2020-07-29 09:57:16
|
||||||
declare (strict_types = 1);
|
declare (strict_types = 1);
|
||||||
return array (
|
return array (
|
||||||
0 => 'think\\app\\Service',
|
0 => 'think\\app\\Service',
|
||||||
|
@ -30,11 +30,12 @@ class ValidateHelper extends Helper
|
|||||||
* @param array $rules 验证规则( 验证信息数组 )
|
* @param array $rules 验证规则( 验证信息数组 )
|
||||||
* @param string $type 输入方式 ( post. 或 get. )
|
* @param string $type 输入方式 ( post. 或 get. )
|
||||||
* @return array
|
* @return array
|
||||||
* name.require => message
|
* age.max:100 => message // 最大值限定
|
||||||
* age.max:100 => message
|
* name.require => message // 必填内容
|
||||||
* name.between:1,120 => message
|
* name.between:1,120 => message // 范围限定
|
||||||
* name.value => value
|
* name.value => value // 固定字段数值内容
|
||||||
* name.default => 100 // 获取并设置默认值
|
* name.default => 100 // 获取并设置默认值
|
||||||
|
* 更多规则参照 ThinkPHP 官方的验证类
|
||||||
*/
|
*/
|
||||||
public function init(array $rules, $type = '')
|
public function init(array $rules, $type = '')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user