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