[更新]ComposerUpdate

This commit is contained in:
Anyon 2019-04-08 09:53:39 +08:00
parent d8ced493fa
commit f5e65f3035
6 changed files with 18 additions and 17 deletions

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitdd4cd514a6f8c3f392f6ee5b28563c79::getLoader();
return ComposerAutoloaderInitf894ac9a65650ea774d251c7a7b441d3::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitdd4cd514a6f8c3f392f6ee5b28563c79
class ComposerAutoloaderInitf894ac9a65650ea774d251c7a7b441d3
{
private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInitdd4cd514a6f8c3f392f6ee5b28563c79
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitdd4cd514a6f8c3f392f6ee5b28563c79', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitf894ac9a65650ea774d251c7a7b441d3', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitdd4cd514a6f8c3f392f6ee5b28563c79', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitf894ac9a65650ea774d251c7a7b441d3', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitf894ac9a65650ea774d251c7a7b441d3::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInitdd4cd514a6f8c3f392f6ee5b28563c79
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79::$files;
$includeFiles = Composer\Autoload\ComposerStaticInitf894ac9a65650ea774d251c7a7b441d3::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequiredd4cd514a6f8c3f392f6ee5b28563c79($fileIdentifier, $file);
composerRequiref894ac9a65650ea774d251c7a7b441d3($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequiredd4cd514a6f8c3f392f6ee5b28563c79($fileIdentifier, $file)
function composerRequiref894ac9a65650ea774d251c7a7b441d3($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79
class ComposerStaticInitf894ac9a65650ea774d251c7a7b441d3
{
public static $files = array (
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
@ -346,9 +346,9 @@ class ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitdd4cd514a6f8c3f392f6ee5b28563c79::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitf894ac9a65650ea774d251c7a7b441d3::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitf894ac9a65650ea774d251c7a7b441d3::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitf894ac9a65650ea774d251c7a7b441d3::$classMap;
}, null, ClassLoader::class);
}

View File

@ -499,12 +499,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "ee43486ce1f064a0702f229b0ce3a52a8f9bb5dd"
"reference": "4814e484ac22b33a86f4614cc9f1b34ba383546f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/ee43486ce1f064a0702f229b0ce3a52a8f9bb5dd",
"reference": "ee43486ce1f064a0702f229b0ce3a52a8f9bb5dd",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/4814e484ac22b33a86f4614cc9f1b34ba383546f",
"reference": "4814e484ac22b33a86f4614cc9f1b34ba383546f",
"shasum": "",
"mirrors": [
{
@ -523,7 +523,7 @@
"qiniu/php-sdk": "^7.2",
"topthink/framework": "5.1.*"
},
"time": "2019-04-03T05:55:15+00:00",
"time": "2019-04-04T04:53:18+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {

View File

@ -37,6 +37,7 @@ if (!function_exists('format_datetime')) {
function format_datetime($datetime, $format = 'Y年m月d日 H:i:s')
{
if (empty($datetime)) return '--';
if (is_numeric($datetime)) return date($format, $datetime);
return date($format, strtotime($datetime));
}
}

View File

@ -30,7 +30,7 @@ WeChatDeveloper 是基于官方接口封装,在做微信开发前,必需先
* 商户支付文档https://pay.weixin.qq.com/wiki/doc/api/index.html
针对 WeChatDeveloper 也有一准备了帮助资料可供参考。
* ThinkAdminhttps://github.com/zoujingli/ThinkAdmin
* ThinkAdminhttps://github.com/zoujingli/Think.Admin
* WeChatDeveloperhttps://www.kancloud.cn/zoujingli/wechat-developer