diff --git a/application/wechat/controller/Fans.php b/application/wechat/controller/Fans.php index fb1d51775..06c5bcc26 100644 --- a/application/wechat/controller/Fans.php +++ b/application/wechat/controller/Fans.php @@ -183,7 +183,7 @@ class Fans extends BasicAdmin TagsService::sync(); LogService::write('微信管理', '同步全部微信粉丝成功'); } catch (\Exception $e) { - $this->error('同步粉丝记录失败,请稍候再试!'); + $this->error('同步粉丝记录失败,请稍候再试!' . $e->getMessage()); } $this->success('同步获取所有粉丝成功!', ''); } diff --git a/vendor/autoload.php b/vendor/autoload.php index d9e0dd263..62940f277 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitaf24f5f94ed079e6264991343eebb4cc::getLoader(); +return ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d::getLoader(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 419ff198e..edc1844c4 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -149,6 +149,11 @@ return array( 'app\\admin\\controller\\Node' => $baseDir . '/application/admin/controller/Node.php', 'app\\admin\\controller\\Plugs' => $baseDir . '/application/admin/controller/Plugs.php', 'app\\admin\\controller\\User' => $baseDir . '/application/admin/controller/User.php', + 'app\\goods\\controller\\Brand' => $baseDir . '/application/goods/controller/Brand.php', + 'app\\goods\\controller\\Cate' => $baseDir . '/application/goods/controller/Cate.php', + 'app\\goods\\controller\\Product' => $baseDir . '/application/goods/controller/Product.php', + 'app\\goods\\controller\\Spec' => $baseDir . '/application/goods/controller/Spec.php', + 'app\\goods\\service\\ProductService' => $baseDir . '/application/goods/service/ProductService.php', 'app\\index\\controller\\Index' => $baseDir . '/application/index/controller/Index.php', 'app\\wechat\\controller\\Block' => $baseDir . '/application/wechat/controller/Block.php', 'app\\wechat\\controller\\Config' => $baseDir . '/application/wechat/controller/Config.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index f3f2679a0..ac8372ed9 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitaf24f5f94ed079e6264991343eebb4cc +class ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d { private static $loader; @@ -19,15 +19,15 @@ class ComposerAutoloaderInitaf24f5f94ed079e6264991343eebb4cc return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitaf24f5f94ed079e6264991343eebb4cc', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInitaf24f5f94ed079e6264991343eebb4cc', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit82478bf98a2bb4bf864d022f0191d40d', '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\ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ class ComposerAutoloaderInitaf24f5f94ed079e6264991343eebb4cc $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequireaf24f5f94ed079e6264991343eebb4cc($fileIdentifier, $file); + composerRequire82478bf98a2bb4bf864d022f0191d40d($fileIdentifier, $file); } return $loader; } } -function composerRequireaf24f5f94ed079e6264991343eebb4cc($fileIdentifier, $file) +function composerRequire82478bf98a2bb4bf864d022f0191d40d($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 57bc42524..93b2b3460 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc +class ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d { public static $files = array ( '1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php', @@ -227,6 +227,11 @@ class ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc 'app\\admin\\controller\\Node' => __DIR__ . '/../..' . '/application/admin/controller/Node.php', 'app\\admin\\controller\\Plugs' => __DIR__ . '/../..' . '/application/admin/controller/Plugs.php', 'app\\admin\\controller\\User' => __DIR__ . '/../..' . '/application/admin/controller/User.php', + 'app\\goods\\controller\\Brand' => __DIR__ . '/../..' . '/application/goods/controller/Brand.php', + 'app\\goods\\controller\\Cate' => __DIR__ . '/../..' . '/application/goods/controller/Cate.php', + 'app\\goods\\controller\\Product' => __DIR__ . '/../..' . '/application/goods/controller/Product.php', + 'app\\goods\\controller\\Spec' => __DIR__ . '/../..' . '/application/goods/controller/Spec.php', + 'app\\goods\\service\\ProductService' => __DIR__ . '/../..' . '/application/goods/service/ProductService.php', 'app\\index\\controller\\Index' => __DIR__ . '/../..' . '/application/index/controller/Index.php', 'app\\wechat\\controller\\Block' => __DIR__ . '/../..' . '/application/wechat/controller/Block.php', 'app\\wechat\\controller\\Config' => __DIR__ . '/../..' . '/application/wechat/controller/Config.php', @@ -252,9 +257,9 @@ class ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitaf24f5f94ed079e6264991343eebb4cc::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit82478bf98a2bb4bf864d022f0191d40d::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index b9c25d8c3..a045b7038 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -80,17 +80,17 @@ }, { "name": "zoujingli/wechat-developer", - "version": "v1.0.3", - "version_normalized": "1.0.3.0", + "version": "v1.0.4", + "version_normalized": "1.0.4.0", "source": { "type": "git", "url": "https://github.com/zoujingli/WeChatDeveloper.git", - "reference": "3414f6e6219f0110fe38edeeec8ae4a240ff8fd5" + "reference": "f9cad0f2221bec529c8908175e93d2891377d6d3" }, "dist": { "type": "zip", - "url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/3414f6e6219f0110fe38edeeec8ae4a240ff8fd5.zip", - "reference": "3414f6e6219f0110fe38edeeec8ae4a240ff8fd5", + "url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/f9cad0f2221bec529c8908175e93d2891377d6d3.zip", + "reference": "f9cad0f2221bec529c8908175e93d2891377d6d3", "shasum": "" }, "require": { @@ -98,7 +98,7 @@ "ext-openssl": "*", "php": ">=5.4" }, - "time": "2018-03-07T09:42:18+00:00", + "time": "2018-03-26T02:31:05+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -132,12 +132,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/WeOpenDeveloper.git", - "reference": "c6ff9438f26b4c36b926fcc91cae7b5850a78bc7" + "reference": "8bb75bc08488a43964c00f027b21b93ed58e8d5a" }, "dist": { "type": "zip", - "url": "https://files.phpcomposer.com/files/zoujingli/WeOpenDeveloper/c6ff9438f26b4c36b926fcc91cae7b5850a78bc7.zip", - "reference": "c6ff9438f26b4c36b926fcc91cae7b5850a78bc7", + "url": "https://files.phpcomposer.com/files/zoujingli/WeOpenDeveloper/8bb75bc08488a43964c00f027b21b93ed58e8d5a.zip", + "reference": "8bb75bc08488a43964c00f027b21b93ed58e8d5a", "shasum": "" }, "require": { @@ -146,7 +146,7 @@ "php": ">=5.4", "zoujingli/wechat-developer": "^1.0.0" }, - "time": "2018-02-25T09:52:00+00:00", + "time": "2018-03-21T05:06:35+00:00", "type": "library", "installation-source": "dist", "autoload": { diff --git a/vendor/zoujingli/wechat-developer/WeChat/Custom.php b/vendor/zoujingli/wechat-developer/WeChat/Custom.php index 50e86b6fd..bdd288781 100644 --- a/vendor/zoujingli/wechat-developer/WeChat/Custom.php +++ b/vendor/zoujingli/wechat-developer/WeChat/Custom.php @@ -244,7 +244,7 @@ class Custom extends BasicWeChat { $url = "https://api.weixin.qq.com/cgi-bin/message/mass/speed/set?access_token=ACCESS_TOKEN"; $this->registerApi($url, __FUNCTION__, func_get_args()); - return $this->httpPostForJson($url, []); + return $this->httpPostForJson($url, ['speed' => $speed]); } diff --git a/vendor/zoujingli/wechat-developer/WeChat/Tags.php b/vendor/zoujingli/wechat-developer/WeChat/Tags.php index db26acf05..99f3f3b0c 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, $tagId]); + return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $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, $tagId]); + return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); } /** diff --git a/vendor/zoujingli/weopen-developer/README.md b/vendor/zoujingli/weopen-developer/README.md index 539df7274..f46107bf9 100644 --- a/vendor/zoujingli/weopen-developer/README.md +++ b/vendor/zoujingli/weopen-developer/README.md @@ -17,7 +17,6 @@ PHP开发技术交流(QQ群 513350915) > 针对 WeChatDeveloper 也有一准备了帮助资料可供参考。 >* WeChatDeveloper 文档:http://www.kancloud.cn/zoujingli/wechat-developer ->* WeOpenDeveloper 文档:http://www.kancloud.cn/zoujingli/weopen-developer Repositorie -- @@ -25,6 +24,9 @@ Repositorie >* GitHub 托管地址:https://github.com/zoujingli/WeOpenDeveloper >* OSChina 托管地址:http://git.oschina.net/zoujingli/WeOpenDeveloper +更多开发可以参考项目 [ThinkService](https://github.com/zoujingli/ThinkService) 。 +此项目已经实现对接,[ThinkAdmin](https://github.com/zoujingli/ThinkAdmin) + [ThinkService](https://github.com/zoujingli/ThinkService) 组合。 + Install -- * 通过 Composer 来管理安装