diff --git a/config/database.php b/config/database.php index f0882cd21..f6da17e9c 100644 --- a/config/database.php +++ b/config/database.php @@ -16,13 +16,13 @@ return [ // 数据库类型 'type' => 'mysql', // 服务器地址 - 'hostname' => '127.0.0.1', + 'hostname' => 'server.cuci.cc', // 数据库名 'database' => 'admin_v3', // 用户名 'username' => 'admin_v3', // 密码 - 'password' => 'FbYBHcWKr2', + 'password' => 'Test12345', // 端口 'hostport' => '3306', // 连接dsn diff --git a/route/route.php b/route/route.php index 281a702f0..078c1107e 100644 --- a/route/route.php +++ b/route/route.php @@ -15,7 +15,7 @@ use think\facade\Route; /* 去除下面注释可启用禁用功能 */ -// return []; + return []; /* 测试环境禁止操作路由绑定 */ Route::post('admin/user/pass', function () { diff --git a/vendor/autoload.php b/vendor/autoload.php index 62940f277..767d32234 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d::getLoader(); +return ComposerAutoloaderInit5b9bf45703a8bbf57b5d1b4f5a7493a8::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index ac8372ed9..c088a09cb 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d +class ComposerAutoloaderInit5b9bf45703a8bbf57b5d1b4f5a7493a8 { private static $loader; @@ -19,15 +19,15 @@ class ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d 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(); - 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()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ class ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire82478bf98a2bb4bf864d022f0191d40d($fileIdentifier, $file); + composerRequire5b9bf45703a8bbf57b5d1b4f5a7493a8($fileIdentifier, $file); } return $loader; } } -function composerRequire82478bf98a2bb4bf864d022f0191d40d($fileIdentifier, $file) +function composerRequire5b9bf45703a8bbf57b5d1b4f5a7493a8($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 93b2b3460..908a89740 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d +class ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8 { public static $files = array ( '1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php', @@ -257,9 +257,9 @@ class ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit5b9bf45703a8bbf57b5d1b4f5a7493a8::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index a045b7038..7b4e00b1e 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -85,12 +85,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/WeChatDeveloper.git", - "reference": "f9cad0f2221bec529c8908175e93d2891377d6d3" + "reference": "9ba300d0b171fd83e9b958d4f25ed4b0b3d16469" }, "dist": { "type": "zip", - "url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/f9cad0f2221bec529c8908175e93d2891377d6d3.zip", - "reference": "f9cad0f2221bec529c8908175e93d2891377d6d3", + "url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/9ba300d0b171fd83e9b958d4f25ed4b0b3d16469.zip", + "reference": "9ba300d0b171fd83e9b958d4f25ed4b0b3d16469", "shasum": "" }, "require": { @@ -98,7 +98,7 @@ "ext-openssl": "*", "php": ">=5.4" }, - "time": "2018-03-26T02:31:05+00:00", + "time": "2018-03-26T06:32:30+00:00", "type": "library", "installation-source": "dist", "autoload": { diff --git a/vendor/zoujingli/wechat-developer/WeChat/Tags.php b/vendor/zoujingli/wechat-developer/WeChat/Tags.php index 99f3f3b0c..a13c79f79 100644 --- a/vendor/zoujingli/wechat-developer/WeChat/Tags.php +++ b/vendor/zoujingli/wechat-developer/WeChat/Tags.php @@ -90,7 +90,7 @@ class Tags extends BasicWeChat { $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN'; $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'; $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]); } /**