mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
4cc1e5533d
commit
29742fec2f
8
composer.lock
generated
8
composer.lock
generated
@ -909,12 +909,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "030a60c13c6d8d15a6ce507edaf47ee384835983"
|
"reference": "36784fab429f25fbcab86c7ebcb2de0922302b5b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/030a60c13c6d8d15a6ce507edaf47ee384835983",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/36784fab429f25fbcab86c7ebcb2de0922302b5b",
|
||||||
"reference": "030a60c13c6d8d15a6ce507edaf47ee384835983",
|
"reference": "36784fab429f25fbcab86c7ebcb2de0922302b5b",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -958,7 +958,7 @@
|
|||||||
],
|
],
|
||||||
"description": "ThinkPHP v6.0 Development Library",
|
"description": "ThinkPHP v6.0 Development Library",
|
||||||
"homepage": "http://framework.thinkadmin.top",
|
"homepage": "http://framework.thinkadmin.top",
|
||||||
"time": "2019-12-10T02:15:54+00:00"
|
"time": "2019-12-10T08:48:47+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zoujingli/wechat-developer",
|
"name": "zoujingli/wechat-developer",
|
||||||
|
4
vendor/composer/autoload_classmap.php
vendored
4
vendor/composer/autoload_classmap.php
vendored
@ -203,10 +203,6 @@ return array(
|
|||||||
'app\\admin\\controller\\api\\Upload' => $baseDir . '/app/admin/controller/api/Upload.php',
|
'app\\admin\\controller\\api\\Upload' => $baseDir . '/app/admin/controller/api/Upload.php',
|
||||||
'app\\index\\controller\\Index' => $baseDir . '/app/index/controller/Index.php',
|
'app\\index\\controller\\Index' => $baseDir . '/app/index/controller/Index.php',
|
||||||
'app\\wechat\\command\\Fans' => $baseDir . '/app/wechat/command/Fans.php',
|
'app\\wechat\\command\\Fans' => $baseDir . '/app/wechat/command/Fans.php',
|
||||||
'app\\wechat\\command\\fans\\FansAll' => $baseDir . '/app/wechat/command/fans/FansAll.php',
|
|
||||||
'app\\wechat\\command\\fans\\FansBlack' => $baseDir . '/app/wechat/command/fans/FansBlack.php',
|
|
||||||
'app\\wechat\\command\\fans\\FansList' => $baseDir . '/app/wechat/command/fans/FansList.php',
|
|
||||||
'app\\wechat\\command\\fans\\FansTags' => $baseDir . '/app/wechat/command/fans/FansTags.php',
|
|
||||||
'app\\wechat\\controller\\Config' => $baseDir . '/app/wechat/controller/Config.php',
|
'app\\wechat\\controller\\Config' => $baseDir . '/app/wechat/controller/Config.php',
|
||||||
'app\\wechat\\controller\\Fans' => $baseDir . '/app/wechat/controller/Fans.php',
|
'app\\wechat\\controller\\Fans' => $baseDir . '/app/wechat/controller/Fans.php',
|
||||||
'app\\wechat\\controller\\Keys' => $baseDir . '/app/wechat/controller/Keys.php',
|
'app\\wechat\\controller\\Keys' => $baseDir . '/app/wechat/controller/Keys.php',
|
||||||
|
4
vendor/composer/autoload_static.php
vendored
4
vendor/composer/autoload_static.php
vendored
@ -343,10 +343,6 @@ class ComposerStaticInitada0e677dd8f1307ba83d0cf07626e6c
|
|||||||
'app\\admin\\controller\\api\\Upload' => __DIR__ . '/../..' . '/app/admin/controller/api/Upload.php',
|
'app\\admin\\controller\\api\\Upload' => __DIR__ . '/../..' . '/app/admin/controller/api/Upload.php',
|
||||||
'app\\index\\controller\\Index' => __DIR__ . '/../..' . '/app/index/controller/Index.php',
|
'app\\index\\controller\\Index' => __DIR__ . '/../..' . '/app/index/controller/Index.php',
|
||||||
'app\\wechat\\command\\Fans' => __DIR__ . '/../..' . '/app/wechat/command/Fans.php',
|
'app\\wechat\\command\\Fans' => __DIR__ . '/../..' . '/app/wechat/command/Fans.php',
|
||||||
'app\\wechat\\command\\fans\\FansAll' => __DIR__ . '/../..' . '/app/wechat/command/fans/FansAll.php',
|
|
||||||
'app\\wechat\\command\\fans\\FansBlack' => __DIR__ . '/../..' . '/app/wechat/command/fans/FansBlack.php',
|
|
||||||
'app\\wechat\\command\\fans\\FansList' => __DIR__ . '/../..' . '/app/wechat/command/fans/FansList.php',
|
|
||||||
'app\\wechat\\command\\fans\\FansTags' => __DIR__ . '/../..' . '/app/wechat/command/fans/FansTags.php',
|
|
||||||
'app\\wechat\\controller\\Config' => __DIR__ . '/../..' . '/app/wechat/controller/Config.php',
|
'app\\wechat\\controller\\Config' => __DIR__ . '/../..' . '/app/wechat/controller/Config.php',
|
||||||
'app\\wechat\\controller\\Fans' => __DIR__ . '/../..' . '/app/wechat/controller/Fans.php',
|
'app\\wechat\\controller\\Fans' => __DIR__ . '/../..' . '/app/wechat/controller/Fans.php',
|
||||||
'app\\wechat\\controller\\Keys' => __DIR__ . '/../..' . '/app/wechat/controller/Keys.php',
|
'app\\wechat\\controller\\Keys' => __DIR__ . '/../..' . '/app/wechat/controller/Keys.php',
|
||||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -935,12 +935,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "030a60c13c6d8d15a6ce507edaf47ee384835983"
|
"reference": "36784fab429f25fbcab86c7ebcb2de0922302b5b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/030a60c13c6d8d15a6ce507edaf47ee384835983",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/36784fab429f25fbcab86c7ebcb2de0922302b5b",
|
||||||
"reference": "030a60c13c6d8d15a6ce507edaf47ee384835983",
|
"reference": "36784fab429f25fbcab86c7ebcb2de0922302b5b",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -956,7 +956,7 @@
|
|||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"topthink/framework": "^6.0"
|
"topthink/framework": "^6.0"
|
||||||
},
|
},
|
||||||
"time": "2019-12-10T02:15:54+00:00",
|
"time": "2019-12-10T08:48:47+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:2019-12-10 10:17:59
|
// This file is automatically generated at:2019-12-14 14:07:13
|
||||||
declare (strict_types = 1);
|
declare (strict_types = 1);
|
||||||
return array (
|
return array (
|
||||||
0 => 'think\\app\\Service',
|
0 => 'think\\app\\Service',
|
||||||
|
54
vendor/zoujingli/think-library/src/common.php
vendored
54
vendor/zoujingli/think-library/src/common.php
vendored
@ -67,26 +67,6 @@ if (!function_exists('sysconf')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('sysqueue')) {
|
|
||||||
/**
|
|
||||||
* 注册异步处理任务
|
|
||||||
* @param string $title 任务名称
|
|
||||||
* @param string $command 执行内容
|
|
||||||
* @param integer $later 延时执行时间
|
|
||||||
* @param array $data 任务附加数据
|
|
||||||
* @param integer $rscript 任务多开
|
|
||||||
* @return QueueService
|
|
||||||
* @throws \think\Exception
|
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
|
||||||
* @throws \think\db\exception\DbException
|
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
|
||||||
*/
|
|
||||||
function sysqueue($title, $command, $later = 0, $data = [], $rscript = 1)
|
|
||||||
{
|
|
||||||
return QueueService::instance()->register($title, $command, $later, $data, $rscript);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!function_exists('sysdata')) {
|
if (!function_exists('sysdata')) {
|
||||||
/**
|
/**
|
||||||
* JSON 数据读取与存储
|
* JSON 数据读取与存储
|
||||||
@ -107,16 +87,23 @@ if (!function_exists('sysdata')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('sysoplog')) {
|
if (!function_exists('sysqueue')) {
|
||||||
/**
|
/**
|
||||||
* 写入系统日志
|
* 注册异步处理任务
|
||||||
* @param string $action 日志行为
|
* @param string $title 任务名称
|
||||||
* @param string $content 日志内容
|
* @param string $command 执行内容
|
||||||
* @return boolean
|
* @param integer $later 延时执行时间
|
||||||
|
* @param array $data 任务附加数据
|
||||||
|
* @param integer $rscript 任务多开
|
||||||
|
* @return QueueService
|
||||||
|
* @throws \think\Exception
|
||||||
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
|
* @throws \think\db\exception\DbException
|
||||||
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
function sysoplog($action, $content)
|
function sysqueue($title, $command, $later = 0, $data = [], $rscript = 1)
|
||||||
{
|
{
|
||||||
return SystemService::instance()->setOplog($action, $content);
|
return QueueService::instance()->register($title, $command, $later, $data, $rscript);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,6 +120,19 @@ if (!function_exists('systoken')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists('sysoplog')) {
|
||||||
|
/**
|
||||||
|
* 写入系统日志
|
||||||
|
* @param string $action 日志行为
|
||||||
|
* @param string $content 日志内容
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
function sysoplog($action, $content)
|
||||||
|
{
|
||||||
|
return SystemService::instance()->setOplog($action, $content);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!function_exists('encode')) {
|
if (!function_exists('encode')) {
|
||||||
/**
|
/**
|
||||||
* 加密 UTF8 字符串
|
* 加密 UTF8 字符串
|
||||||
|
Loading…
x
Reference in New Issue
Block a user