[更新]ComposerUpdate

This commit is contained in:
Anyon 2018-03-26 14:58:02 +08:00
parent 5bd78024d7
commit b76abdc0d1
7 changed files with 21 additions and 21 deletions

View File

@ -16,13 +16,13 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => '127.0.0.1', 'hostname' => 'server.cuci.cc',
// 数据库名 // 数据库名
'database' => 'admin_v3', 'database' => 'admin_v3',
// 用户名 // 用户名
'username' => 'admin_v3', 'username' => 'admin_v3',
// 密码 // 密码
'password' => 'FbYBHcWKr2', 'password' => 'Test12345',
// 端口 // 端口
'hostport' => '3306', 'hostport' => '3306',
// 连接dsn // 连接dsn

View File

@ -15,7 +15,7 @@
use think\facade\Route; use think\facade\Route;
/* 去除下面注释可启用禁用功能 */ /* 去除下面注释可启用禁用功能 */
// return []; return [];
/* 测试环境禁止操作路由绑定 */ /* 测试环境禁止操作路由绑定 */
Route::post('admin/user/pass', function () { Route::post('admin/user/pass', function () {

2
vendor/autoload.php vendored
View File

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

View File

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

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d class ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8
{ {
public static $files = array ( public static $files = array (
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php', '1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
@ -257,9 +257,9 @@ class ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d
public static function getInitializer(ClassLoader $loader) public static function getInitializer(ClassLoader $loader)
{ {
return \Closure::bind(function () use ($loader) { return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$classMap; $loader->classMap = ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$classMap;
}, null, ClassLoader::class); }, null, ClassLoader::class);
} }

View File

@ -85,12 +85,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/WeChatDeveloper.git", "url": "https://github.com/zoujingli/WeChatDeveloper.git",
"reference": "f9cad0f2221bec529c8908175e93d2891377d6d3" "reference": "9ba300d0b171fd83e9b958d4f25ed4b0b3d16469"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/f9cad0f2221bec529c8908175e93d2891377d6d3.zip", "url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/9ba300d0b171fd83e9b958d4f25ed4b0b3d16469.zip",
"reference": "f9cad0f2221bec529c8908175e93d2891377d6d3", "reference": "9ba300d0b171fd83e9b958d4f25ed4b0b3d16469",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -98,7 +98,7 @@
"ext-openssl": "*", "ext-openssl": "*",
"php": ">=5.4" "php": ">=5.4"
}, },
"time": "2018-03-26T02:31:05+00:00", "time": "2018-03-26T06:32:30+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {

View File

@ -90,7 +90,7 @@ class Tags extends BasicWeChat
{ {
$url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN'; $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args()); $this->registerApi($url, __FUNCTION__, func_get_args());
return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); return $this->httpPostForJson($url, ['openid_list' => $openids, 'tagid' => $tagId]);
} }
/** /**
@ -105,7 +105,7 @@ class Tags extends BasicWeChat
{ {
$url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN'; $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args()); $this->registerApi($url, __FUNCTION__, func_get_args());
return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); return $this->httpPostForJson($url, ['openid_list' => $openids, 'tagid' => $tagId]);
} }
/** /**