diff --git a/application/admin/service/CaptchaService.php b/application/admin/service/CaptchaService.php index f574407ff..13b8f7680 100644 --- a/application/admin/service/CaptchaService.php +++ b/application/admin/service/CaptchaService.php @@ -45,7 +45,7 @@ class CaptchaService // 动态配置属性 foreach ($config as $k => $v) if (isset($this->$k)) $this->$k = $v; // 生成验证码序号 - $this->uniqid = uniqid('captcha'); + $this->uniqid = uniqid('captcha') . mt_rand(1000, 9999); // 生成验证码字符串 $length = strlen($this->charset) - 1; for ($i = 0; $i < $this->codelen; $i++) { diff --git a/vendor/autoload.php b/vendor/autoload.php index 2cbb030eb..847569b06 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6::getLoader(); +return ComposerAutoloaderInitaf543090a14d5bae306c4ccd766cf053::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 057480fc4..765cbe707 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6 +class ComposerAutoloaderInitaf543090a14d5bae306c4ccd766cf053 { private static $loader; @@ -19,15 +19,15 @@ class ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitaf543090a14d5bae306c4ccd766cf053', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitaf543090a14d5bae306c4ccd766cf053', '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\ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitaf543090a14d5bae306c4ccd766cf053::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ class ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitaf543090a14d5bae306c4ccd766cf053::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire09fb67115c1225dd8c791a62882d72d6($fileIdentifier, $file); + composerRequireaf543090a14d5bae306c4ccd766cf053($fileIdentifier, $file); } return $loader; } } -function composerRequire09fb67115c1225dd8c791a62882d72d6($fileIdentifier, $file) +function composerRequireaf543090a14d5bae306c4ccd766cf053($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 18861d743..0954cb563 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit09fb67115c1225dd8c791a62882d72d6 +class ComposerStaticInitaf543090a14d5bae306c4ccd766cf053 { public static $files = array ( '841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php', @@ -321,9 +321,9 @@ class ComposerStaticInit09fb67115c1225dd8c791a62882d72d6 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitaf543090a14d5bae306c4ccd766cf053::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitaf543090a14d5bae306c4ccd766cf053::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitaf543090a14d5bae306c4ccd766cf053::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index cdde1ad1c..fb2fb39d5 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -516,12 +516,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/WeOpenDeveloper.git", - "reference": "629f14c1586ac51bdcef47b17d68a70b89d28897" + "reference": "4d0d3c064e54556621453845fc65ba52de58a880" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/WeOpenDeveloper/zipball/629f14c1586ac51bdcef47b17d68a70b89d28897", - "reference": "629f14c1586ac51bdcef47b17d68a70b89d28897", + "url": "https://api.github.com/repos/zoujingli/WeOpenDeveloper/zipball/4d0d3c064e54556621453845fc65ba52de58a880", + "reference": "4d0d3c064e54556621453845fc65ba52de58a880", "shasum": "", "mirrors": [ { @@ -537,7 +537,7 @@ "php": ">=5.4", "zoujingli/wechat-developer": "^1.0" }, - "time": "2019-07-08T07:11:04+00:00", + "time": "2019-10-10T10:18:05+00:00", "type": "library", "installation-source": "dist", "autoload": { diff --git a/vendor/zoujingli/weopen-developer/WeMini/Code.php b/vendor/zoujingli/weopen-developer/WeMini/Code.php index 7e61d5e55..1b9f264af 100644 --- a/vendor/zoujingli/weopen-developer/WeMini/Code.php +++ b/vendor/zoujingli/weopen-developer/WeMini/Code.php @@ -181,7 +181,7 @@ class Code extends BasicWeChat */ public function revertCodeRelease() { - $url = 'https://api.weixin.qq.com/wxa/revertcoderelease?access_token=TOKEN'; + $url = 'https://api.weixin.qq.com/wxa/revertcoderelease?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpGetForJson($url); }