+
+20
+
+BBBB;
+
+ public function testConstruct()
+ {
+ $config = new StorageCapacityConfig(10);
+ $this->assertEquals($config->getStorageCapacity(), 10);
+ $this->assertEquals($this->cleanXml($this->validXml_10), $this->cleanXml($config->serializeToXml()));
+ }
+
+ public function testSetStorageCapacity()
+ {
+ $config = new StorageCapacityConfig(2);
+ $config->setStorageCapacity(20);
+ $this->assertEquals($this->cleanXml($this->validXml_20), $this->cleanXml($config->serializeToXml()));
+ $this->assertEquals($this->cleanXml($this->validXml_20), $this->cleanXml($config->__toString()));
+ }
+
+ public function testParseFromXml()
+ {
+ try {
+ $config = new StorageCapacityConfig(10);
+ $config->parseFromXml('invaide xml');
+ $this->assertTrue(false);
+ } catch (OssException $e) {
+ $this->assertTrue(true);
+ if (strpos($e, "Not implemented.") == false)
+ {
+ $this->assertTrue(false);
+ }
+ }
+ }
+
+ private function cleanXml($xml)
+ {
+ return str_replace("\n", "", str_replace("\r", "", $xml));
+ }
+}
diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php
index 4a39dfa97..c43639184 100644
--- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php
+++ b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php
@@ -13,7 +13,7 @@ class SymlinkTest extends TestOssClientBase
{
public function testPutSymlink()
{
- $bucket = getenv('OSS_BUCKET');
+ $bucket = $this->bucket;
$symlink = 'test-link';
$special_object = 'exist_object^$#!~';
$object = 'exist_object';
@@ -31,10 +31,13 @@ class SymlinkTest extends TestOssClientBase
public function testGetSymlink()
{
- $bucket = getenv('OSS_BUCKET');
+ $bucket = $this->bucket;
$symlink = 'test-link';
$object = 'exist_object^$#!~';
+ $this->ossClient ->putObject($bucket, $object, 'test_content');
+ $this->ossClient->putSymlink($bucket, $symlink, $object);
+
$result = $this->ossClient->getSymlink($bucket, $symlink);
$this->assertEquals($result[OssClient::OSS_SYMLINK_TARGET], $object);
$this->assertEquals('200', $result[OssClient::OSS_INFO][OssClient::OSS_HTTP_CODE]);
@@ -44,7 +47,7 @@ class SymlinkTest extends TestOssClientBase
public function testPutNullSymlink()
{
- $bucket = getenv('OSS_BUCKET');
+ $bucket = $this->bucket;
$symlink = 'null-link';
$object_not_exist = 'not_exist_object+$#!b不';
$this->ossClient->putSymlink($bucket, $symlink, $object_not_exist);
@@ -53,13 +56,13 @@ class SymlinkTest extends TestOssClientBase
$this->ossClient->getObject($bucket, $symlink);
$this->assertTrue(false);
}catch (OssException $e){
- $this->assertEquals('The specified key does not exist.', $e->getErrorMessage());
+ $this->assertEquals('The symlink target object does not exist', $e->getErrorMessage());
}
}
public function testGetNullSymlink()
{
- $bucket = getenv('OSS_BUCKET');
+ $bucket = $this->bucket;
$symlink = 'null-link-new';
try{
diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php
index 4abd31f92..233568a39 100644
--- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php
+++ b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php
@@ -20,10 +20,10 @@ class TestOssClientBase extends \PHPUnit_Framework_TestCase
public function setUp()
{
- $this->bucket = Common::getBucketName() . rand(100000, 999999);
+ $this->bucket = Common::getBucketName() .'-'. time();
$this->ossClient = Common::getOssClient();
$this->ossClient->createBucket($this->bucket);
- Common::waitMetaSync();
+ Common::waitMetaSync();
}
public function tearDown()
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 2fb8d89e2..5a681facd 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -37,12 +37,18 @@ return array(
'OSS\\Http\\ResponseCore' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Http/ResponseCore.php',
'OSS\\Model\\BucketInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/BucketInfo.php',
'OSS\\Model\\BucketListInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/BucketListInfo.php',
+ 'OSS\\Model\\BucketStat' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/BucketStat.php',
'OSS\\Model\\CnameConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/CnameConfig.php',
'OSS\\Model\\CorsConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/CorsConfig.php',
'OSS\\Model\\CorsRule' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/CorsRule.php',
+ 'OSS\\Model\\DeleteMarkerInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteMarkerInfo.php',
+ 'OSS\\Model\\DeleteObjectInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteObjectInfo.php',
+ 'OSS\\Model\\DeletedObjectInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/DeletedObjectInfo.php',
+ 'OSS\\Model\\ExtendWormConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/ExtendWormConfig.php',
'OSS\\Model\\GetLiveChannelHistory' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelHistory.php',
'OSS\\Model\\GetLiveChannelInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelInfo.php',
'OSS\\Model\\GetLiveChannelStatus' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelStatus.php',
+ 'OSS\\Model\\InitiateWormConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/InitiateWormConfig.php',
'OSS\\Model\\LifecycleAction' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleAction.php',
'OSS\\Model\\LifecycleConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleConfig.php',
'OSS\\Model\\LifecycleRule' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleRule.php',
@@ -55,12 +61,21 @@ return array(
'OSS\\Model\\LoggingConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/LoggingConfig.php',
'OSS\\Model\\ObjectInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectInfo.php',
'OSS\\Model\\ObjectListInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectListInfo.php',
+ 'OSS\\Model\\ObjectVersionInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionInfo.php',
+ 'OSS\\Model\\ObjectVersionListInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php',
'OSS\\Model\\PartInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/PartInfo.php',
'OSS\\Model\\PrefixInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/PrefixInfo.php',
'OSS\\Model\\RefererConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/RefererConfig.php',
+ 'OSS\\Model\\RequestPaymentConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/RequestPaymentConfig.php',
+ 'OSS\\Model\\RestoreConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/RestoreConfig.php',
+ 'OSS\\Model\\ServerSideEncryptionConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/ServerSideEncryptionConfig.php',
'OSS\\Model\\StorageCapacityConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/StorageCapacityConfig.php',
+ 'OSS\\Model\\Tag' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/Tag.php',
+ 'OSS\\Model\\TaggingConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/TaggingConfig.php',
'OSS\\Model\\UploadInfo' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/UploadInfo.php',
+ 'OSS\\Model\\VersioningConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/VersioningConfig.php',
'OSS\\Model\\WebsiteConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/WebsiteConfig.php',
+ 'OSS\\Model\\WormConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/WormConfig.php',
'OSS\\Model\\XmlConfig' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Model/XmlConfig.php',
'OSS\\OssClient' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/OssClient.php',
'OSS\\Result\\AclResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/AclResult.php',
@@ -68,8 +83,16 @@ return array(
'OSS\\Result\\BodyResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/BodyResult.php',
'OSS\\Result\\CallbackResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/CallbackResult.php',
'OSS\\Result\\CopyObjectResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/CopyObjectResult.php',
+ 'OSS\\Result\\DeleteObjectVersionsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectVersionsResult.php',
'OSS\\Result\\DeleteObjectsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectsResult.php',
'OSS\\Result\\ExistResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ExistResult.php',
+ 'OSS\\Result\\GetBucketEncryptionResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketEncryptionResult.php',
+ 'OSS\\Result\\GetBucketInfoResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketInfoResult.php',
+ 'OSS\\Result\\GetBucketRequestPaymentResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketRequestPaymentResult.php',
+ 'OSS\\Result\\GetBucketStatResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php',
+ 'OSS\\Result\\GetBucketTagsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketTagsResult.php',
+ 'OSS\\Result\\GetBucketVersioningResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketVersioningResult.php',
+ 'OSS\\Result\\GetBucketWormResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketWormResult.php',
'OSS\\Result\\GetCnameResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetCnameResult.php',
'OSS\\Result\\GetCorsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetCorsResult.php',
'OSS\\Result\\GetLifecycleResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetLifecycleResult.php',
@@ -82,10 +105,12 @@ return array(
'OSS\\Result\\GetStorageCapacityResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetStorageCapacityResult.php',
'OSS\\Result\\GetWebsiteResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetWebsiteResult.php',
'OSS\\Result\\HeaderResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/HeaderResult.php',
+ 'OSS\\Result\\InitiateBucketWormResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateBucketWormResult.php',
'OSS\\Result\\InitiateMultipartUploadResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateMultipartUploadResult.php',
'OSS\\Result\\ListBucketsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListBucketsResult.php',
'OSS\\Result\\ListLiveChannelResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListLiveChannelResult.php',
'OSS\\Result\\ListMultipartUploadResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListMultipartUploadResult.php',
+ 'OSS\\Result\\ListObjectVersionsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectVersionsResult.php',
'OSS\\Result\\ListObjectsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectsResult.php',
'OSS\\Result\\ListPartsResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListPartsResult.php',
'OSS\\Result\\PutLiveChannelResult' => $vendorDir . '/aliyuncs/oss-sdk-php/src/OSS/Result/PutLiveChannelResult.php',
@@ -132,6 +157,7 @@ return array(
'WeChat\\Contracts\\BasicPushEvent' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/BasicPushEvent.php',
'WeChat\\Contracts\\BasicWeChat' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/BasicWeChat.php',
'WeChat\\Contracts\\BasicWePay' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php',
+ 'WeChat\\Contracts\\BasicWeWork' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/BasicWeWork.php',
'WeChat\\Contracts\\DataArray' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/DataArray.php',
'WeChat\\Contracts\\DataError' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/DataError.php',
'WeChat\\Contracts\\MyCurlFile' => $vendorDir . '/zoujingli/wechat-developer/WeChat/Contracts/MyCurlFile.php',
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index c4000e93a..f713633cb 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -130,12 +130,18 @@ class ComposerStaticInit0ac7cd5b2cda0031cee9c92b2dc93c50
'OSS\\Http\\ResponseCore' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Http/ResponseCore.php',
'OSS\\Model\\BucketInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/BucketInfo.php',
'OSS\\Model\\BucketListInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/BucketListInfo.php',
+ 'OSS\\Model\\BucketStat' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/BucketStat.php',
'OSS\\Model\\CnameConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/CnameConfig.php',
'OSS\\Model\\CorsConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/CorsConfig.php',
'OSS\\Model\\CorsRule' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/CorsRule.php',
+ 'OSS\\Model\\DeleteMarkerInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteMarkerInfo.php',
+ 'OSS\\Model\\DeleteObjectInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteObjectInfo.php',
+ 'OSS\\Model\\DeletedObjectInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/DeletedObjectInfo.php',
+ 'OSS\\Model\\ExtendWormConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/ExtendWormConfig.php',
'OSS\\Model\\GetLiveChannelHistory' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelHistory.php',
'OSS\\Model\\GetLiveChannelInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelInfo.php',
'OSS\\Model\\GetLiveChannelStatus' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelStatus.php',
+ 'OSS\\Model\\InitiateWormConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/InitiateWormConfig.php',
'OSS\\Model\\LifecycleAction' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleAction.php',
'OSS\\Model\\LifecycleConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleConfig.php',
'OSS\\Model\\LifecycleRule' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleRule.php',
@@ -148,12 +154,21 @@ class ComposerStaticInit0ac7cd5b2cda0031cee9c92b2dc93c50
'OSS\\Model\\LoggingConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/LoggingConfig.php',
'OSS\\Model\\ObjectInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectInfo.php',
'OSS\\Model\\ObjectListInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectListInfo.php',
+ 'OSS\\Model\\ObjectVersionInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionInfo.php',
+ 'OSS\\Model\\ObjectVersionListInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php',
'OSS\\Model\\PartInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/PartInfo.php',
'OSS\\Model\\PrefixInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/PrefixInfo.php',
'OSS\\Model\\RefererConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/RefererConfig.php',
+ 'OSS\\Model\\RequestPaymentConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/RequestPaymentConfig.php',
+ 'OSS\\Model\\RestoreConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/RestoreConfig.php',
+ 'OSS\\Model\\ServerSideEncryptionConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/ServerSideEncryptionConfig.php',
'OSS\\Model\\StorageCapacityConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/StorageCapacityConfig.php',
+ 'OSS\\Model\\Tag' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/Tag.php',
+ 'OSS\\Model\\TaggingConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/TaggingConfig.php',
'OSS\\Model\\UploadInfo' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/UploadInfo.php',
+ 'OSS\\Model\\VersioningConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/VersioningConfig.php',
'OSS\\Model\\WebsiteConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/WebsiteConfig.php',
+ 'OSS\\Model\\WormConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/WormConfig.php',
'OSS\\Model\\XmlConfig' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Model/XmlConfig.php',
'OSS\\OssClient' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/OssClient.php',
'OSS\\Result\\AclResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/AclResult.php',
@@ -161,8 +176,16 @@ class ComposerStaticInit0ac7cd5b2cda0031cee9c92b2dc93c50
'OSS\\Result\\BodyResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/BodyResult.php',
'OSS\\Result\\CallbackResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/CallbackResult.php',
'OSS\\Result\\CopyObjectResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/CopyObjectResult.php',
+ 'OSS\\Result\\DeleteObjectVersionsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectVersionsResult.php',
'OSS\\Result\\DeleteObjectsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectsResult.php',
'OSS\\Result\\ExistResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ExistResult.php',
+ 'OSS\\Result\\GetBucketEncryptionResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketEncryptionResult.php',
+ 'OSS\\Result\\GetBucketInfoResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketInfoResult.php',
+ 'OSS\\Result\\GetBucketRequestPaymentResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketRequestPaymentResult.php',
+ 'OSS\\Result\\GetBucketStatResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php',
+ 'OSS\\Result\\GetBucketTagsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketTagsResult.php',
+ 'OSS\\Result\\GetBucketVersioningResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketVersioningResult.php',
+ 'OSS\\Result\\GetBucketWormResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketWormResult.php',
'OSS\\Result\\GetCnameResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetCnameResult.php',
'OSS\\Result\\GetCorsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetCorsResult.php',
'OSS\\Result\\GetLifecycleResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetLifecycleResult.php',
@@ -175,10 +198,12 @@ class ComposerStaticInit0ac7cd5b2cda0031cee9c92b2dc93c50
'OSS\\Result\\GetStorageCapacityResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetStorageCapacityResult.php',
'OSS\\Result\\GetWebsiteResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/GetWebsiteResult.php',
'OSS\\Result\\HeaderResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/HeaderResult.php',
+ 'OSS\\Result\\InitiateBucketWormResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateBucketWormResult.php',
'OSS\\Result\\InitiateMultipartUploadResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateMultipartUploadResult.php',
'OSS\\Result\\ListBucketsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListBucketsResult.php',
'OSS\\Result\\ListLiveChannelResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListLiveChannelResult.php',
'OSS\\Result\\ListMultipartUploadResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListMultipartUploadResult.php',
+ 'OSS\\Result\\ListObjectVersionsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectVersionsResult.php',
'OSS\\Result\\ListObjectsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectsResult.php',
'OSS\\Result\\ListPartsResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/ListPartsResult.php',
'OSS\\Result\\PutLiveChannelResult' => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS/Result/PutLiveChannelResult.php',
@@ -225,6 +250,7 @@ class ComposerStaticInit0ac7cd5b2cda0031cee9c92b2dc93c50
'WeChat\\Contracts\\BasicPushEvent' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/BasicPushEvent.php',
'WeChat\\Contracts\\BasicWeChat' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/BasicWeChat.php',
'WeChat\\Contracts\\BasicWePay' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php',
+ 'WeChat\\Contracts\\BasicWeWork' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/BasicWeWork.php',
'WeChat\\Contracts\\DataArray' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/DataArray.php',
'WeChat\\Contracts\\DataError' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/DataError.php',
'WeChat\\Contracts\\MyCurlFile' => __DIR__ . '/..' . '/zoujingli/wechat-developer/WeChat/Contracts/MyCurlFile.php',
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index 7eb5bc67f..ae986aeb7 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -1,17 +1,17 @@
[
{
"name": "aliyuncs/oss-sdk-php",
- "version": "v2.3.1",
- "version_normalized": "2.3.1.0",
+ "version": "v2.4.0",
+ "version_normalized": "2.4.0.0",
"source": {
"type": "git",
"url": "https://github.com/aliyun/aliyun-oss-php-sdk.git",
- "reference": "053d7ba9e798e4c09b9c5c1edab153d25ea9643a"
+ "reference": "bd9c2bba3d167de821cbb33b5c03fe6e41e8e363"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/053d7ba9e798e4c09b9c5c1edab153d25ea9643a",
- "reference": "053d7ba9e798e4c09b9c5c1edab153d25ea9643a",
+ "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/bd9c2bba3d167de821cbb33b5c03fe6e41e8e363",
+ "reference": "bd9c2bba3d167de821cbb33b5c03fe6e41e8e363",
"shasum": "",
"mirrors": [
{
@@ -27,7 +27,7 @@
"phpunit/phpunit": "~4.0",
"satooshi/php-coveralls": "~1.0"
},
- "time": "2019-11-15T11:05:42+00:00",
+ "time": "2020-08-31T08:39:59+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -177,8 +177,8 @@
},
{
"name": "symfony/options-resolver",
- "version": "v3.4.43",
- "version_normalized": "3.4.43.0",
+ "version": "v3.4.44",
+ "version_normalized": "3.4.44.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
@@ -415,12 +415,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
- "reference": "bcc628e4258a716b3569d6b7511ab01144d98cd5"
+ "reference": "5e91c776c2111fa0cc7635a6f018ba0e553e3f49"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/bcc628e4258a716b3569d6b7511ab01144d98cd5",
- "reference": "bcc628e4258a716b3569d6b7511ab01144d98cd5",
+ "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/5e91c776c2111fa0cc7635a6f018ba0e553e3f49",
+ "reference": "5e91c776c2111fa0cc7635a6f018ba0e553e3f49",
"shasum": "",
"mirrors": [
{
@@ -440,7 +440,7 @@
"qiniu/php-sdk": "^7.2",
"topthink/framework": "5.1.*"
},
- "time": "2020-07-14T01:51:17+00:00",
+ "time": "2020-09-04T04:16:04+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -460,17 +460,17 @@
},
{
"name": "zoujingli/wechat-developer",
- "version": "v1.2.24",
- "version_normalized": "1.2.24.0",
+ "version": "v1.2.25",
+ "version_normalized": "1.2.25.0",
"source": {
"type": "git",
"url": "https://github.com/zoujingli/WeChatDeveloper.git",
- "reference": "2e5ca0d48fca8014eea504db6daec2b97d53d768"
+ "reference": "6fcb6504904ee4276b358b3f9b80ffc992eb385c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/2e5ca0d48fca8014eea504db6daec2b97d53d768",
- "reference": "2e5ca0d48fca8014eea504db6daec2b97d53d768",
+ "url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/6fcb6504904ee4276b358b3f9b80ffc992eb385c",
+ "reference": "6fcb6504904ee4276b358b3f9b80ffc992eb385c",
"shasum": "",
"mirrors": [
{
@@ -490,7 +490,7 @@
"ext-xml": "*",
"php": ">=5.4"
},
- "time": "2020-08-16T07:01:12+00:00",
+ "time": "2020-08-19T08:52:11+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
diff --git a/vendor/zoujingli/think-library/src/command/Sync.php b/vendor/zoujingli/think-library/src/command/Sync.php
index 4f0325ec1..c7d02e7f9 100644
--- a/vendor/zoujingli/think-library/src/command/Sync.php
+++ b/vendor/zoujingli/think-library/src/command/Sync.php
@@ -188,11 +188,55 @@ class Sync extends Command
{
$result = json_decode(http_get("{$this->uri}?s=admin/api.update/read/{$encode}"), true);
if (empty($result['code'])) return false;
+ if (!$this->checkAllowDownload(decode($encode))) {
+ return false;
+ }
$pathname = env('root_path') . decode($encode);
file_exists(dirname($pathname)) || mkdir(dirname($pathname), 0755, true);
return file_put_contents($pathname, base64_decode($result['data']['content']));
}
+ /**
+ * 检查文件是否可下载
+ * @param string $name 文件名称
+ * @return boolean
+ */
+ private function checkAllowDownload($name)
+ {
+ // 禁止目录级别上跳
+ if (stripos($name, '../') !== false) {
+ return false;
+ }
+ // 禁止下载数据库配置文件
+ if (stripos($name, 'database.php') !== false) {
+ return false;
+ }
+ // 禁止非官方演示项目下载
+ if (stripos($this->app->request->domain(), 'thinkadmin.top') === false) {
+ return false;
+ }
+ // 检查允许下载的文件规则
+ foreach ($this->_getAllowDownloadRule() as $rule) {
+ if (stripos($name, $rule) !== false) return true;
+ }
+ // 不在允许下载的文件规则
+ return false;
+ }
+
+ /**
+ * 获取允许下载的规则
+ * @return array
+ */
+ private function _getAllowDownloadRule(): array
+ {
+ $data = cache('moduleAllowRule', []);
+ if (is_array($data) && count($data) > 0) return $data;
+ $data = ['think', 'config', 'public/static', 'public/router.php', 'public/index.php'];
+ foreach (['admin', 'wechat', 'service'] as $name) $data[] = 'application/' . $name;
+ cache('moduleAllowRule', $data, 30);
+ return $data;
+ }
+
/**
* 获取文件差异数据
* @return array
diff --git a/vendor/zoujingli/wechat-developer/AliPay/App.php b/vendor/zoujingli/wechat-developer/AliPay/App.php
index f2cf383ca..63876e615 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/App.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/App.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Bill.php b/vendor/zoujingli/wechat-developer/AliPay/Bill.php
index 995e90632..ed3c9817b 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Bill.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Bill.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Pos.php b/vendor/zoujingli/wechat-developer/AliPay/Pos.php
index 800104e13..bb43cec42 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Pos.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Pos.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Scan.php b/vendor/zoujingli/wechat-developer/AliPay/Scan.php
index df9973c77..85bfc70d8 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Scan.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Scan.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Trade.php b/vendor/zoujingli/wechat-developer/AliPay/Trade.php
index aa289c953..0438f3e62 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Trade.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Trade.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Transfer.php b/vendor/zoujingli/wechat-developer/AliPay/Transfer.php
index 3ba69f1fe..d190ccf38 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Transfer.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Transfer.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Wap.php b/vendor/zoujingli/wechat-developer/AliPay/Wap.php
index e97ac948e..5b7668e7e 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Wap.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Wap.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/AliPay/Web.php b/vendor/zoujingli/wechat-developer/AliPay/Web.php
index 2ad937cc4..d09425349 100644
--- a/vendor/zoujingli/wechat-developer/AliPay/Web.php
+++ b/vendor/zoujingli/wechat-developer/AliPay/Web.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/We.php b/vendor/zoujingli/wechat-developer/We.php
index 2de2ebe90..8439aedde 100644
--- a/vendor/zoujingli/wechat-developer/We.php
+++ b/vendor/zoujingli/wechat-developer/We.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
@@ -86,7 +86,7 @@ class We
* 定义当前版本
* @var string
*/
- const VERSION = '1.2.24';
+ const VERSION = '1.2.25';
/**
* 静态配置
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Card.php b/vendor/zoujingli/wechat-developer/WeChat/Card.php
index b392781eb..dc12cbe85 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Card.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Card.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicAliPay.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicAliPay.php
index 1c0c49f5c..e9b62fe62 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicAliPay.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicAliPay.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicPushEvent.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicPushEvent.php
index c21e6e492..57259abc3 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicPushEvent.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicPushEvent.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeChat.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeChat.php
index 403a62cc4..6a3b5df30 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeChat.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeChat.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php
index 55a708004..46de39c8c 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeWork.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeWork.php
new file mode 100644
index 000000000..07ff8b8be
--- /dev/null
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWeWork.php
@@ -0,0 +1,41 @@
+access_token) return $this->access_token;
+ $ckey = $this->config->get('appid') . '_access_token';
+ if ($this->access_token = Tools::getCache($ckey)) return $this->access_token;
+ list($appid, $secret) = [$this->config->get('appid'), $this->config->get('appsecret')];
+ $result = Tools::json2arr(Tools::get("https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid={$appid}&corpsecret={$secret}"));
+ if (isset($result['access_token']) && $result['access_token']) Tools::setCache($ckey, $result['access_token'], 7000);
+ return $this->access_token = $result['access_token'];
+ }
+
+}
\ No newline at end of file
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataArray.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataArray.php
index c932c7daf..34035bf18 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataArray.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataArray.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataError.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataError.php
index 51cd9a2ee..ffdc80ec8 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataError.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/DataError.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/Prpcrypt.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/Prpcrypt.php
index 2b93c5038..e8808c7bc 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/Prpcrypt.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/Prpcrypt.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Contracts/Tools.php b/vendor/zoujingli/wechat-developer/WeChat/Contracts/Tools.php
index 8209caeb8..0f96b7b27 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Contracts/Tools.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Contracts/Tools.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Custom.php b/vendor/zoujingli/wechat-developer/WeChat/Custom.php
index 6d0309140..8d6f1be17 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Custom.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Custom.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidArgumentException.php b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidArgumentException.php
index 993c4e008..834d609e4 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidArgumentException.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidArgumentException.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidDecryptException.php b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidDecryptException.php
index f45c0581e..da022d275 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidDecryptException.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidDecryptException.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidInstanceException.php b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidInstanceException.php
index e4c6816f8..5859c0129 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidInstanceException.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidInstanceException.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidResponseException.php b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidResponseException.php
index c3cb89267..28927ce2d 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidResponseException.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/InvalidResponseException.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/LocalCacheException.php b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/LocalCacheException.php
index 35be83a8d..741ab60d6 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Exceptions/LocalCacheException.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Exceptions/LocalCacheException.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Limit.php b/vendor/zoujingli/wechat-developer/WeChat/Limit.php
index 6ccc6f488..3071fd6d0 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Limit.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Limit.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Media.php b/vendor/zoujingli/wechat-developer/WeChat/Media.php
index 8c7ca02d2..cbfde3757 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Media.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Media.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Menu.php b/vendor/zoujingli/wechat-developer/WeChat/Menu.php
index c006a8eae..43a9624fa 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Menu.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Menu.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Oauth.php b/vendor/zoujingli/wechat-developer/WeChat/Oauth.php
index a8be2729e..2cb79d07e 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Oauth.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Oauth.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Pay.php b/vendor/zoujingli/wechat-developer/WeChat/Pay.php
index dcc87cede..709a1d73b 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Pay.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Pay.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Product.php b/vendor/zoujingli/wechat-developer/WeChat/Product.php
index 74eb3eed4..d08c092a0 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Product.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Product.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Qrcode.php b/vendor/zoujingli/wechat-developer/WeChat/Qrcode.php
index 3b6251101..d198cf3e1 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Qrcode.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Qrcode.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Receive.php b/vendor/zoujingli/wechat-developer/WeChat/Receive.php
index 7f4d07006..8907ed4cd 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Receive.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Receive.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Scan.php b/vendor/zoujingli/wechat-developer/WeChat/Scan.php
index ad272eb43..459265a4a 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Scan.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Scan.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Script.php b/vendor/zoujingli/wechat-developer/WeChat/Script.php
index 145e51945..0a54b6b1f 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Script.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Script.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Shake.php b/vendor/zoujingli/wechat-developer/WeChat/Shake.php
index 2d259581c..b7f6a5d0a 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Shake.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Shake.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Tags.php b/vendor/zoujingli/wechat-developer/WeChat/Tags.php
index a13c79f79..f07b9c984 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Tags.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Tags.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Template.php b/vendor/zoujingli/wechat-developer/WeChat/Template.php
index eb50ab4a2..9a889327b 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Template.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Template.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/User.php b/vendor/zoujingli/wechat-developer/WeChat/User.php
index 2156cf7b2..a99571c37 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/User.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/User.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeChat/Wifi.php b/vendor/zoujingli/wechat-developer/WeChat/Wifi.php
index ff22afffc..f76f68b03 100644
--- a/vendor/zoujingli/wechat-developer/WeChat/Wifi.php
+++ b/vendor/zoujingli/wechat-developer/WeChat/Wifi.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Crypt.php b/vendor/zoujingli/wechat-developer/WeMini/Crypt.php
index 38fe360d2..4fc2bd3b1 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Crypt.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Crypt.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Delivery.php b/vendor/zoujingli/wechat-developer/WeMini/Delivery.php
index 6d6d6aff5..6cf29c984 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Delivery.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Delivery.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Guide.php b/vendor/zoujingli/wechat-developer/WeMini/Guide.php
index 2653b4500..0f8452fb5 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Guide.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Guide.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Image.php b/vendor/zoujingli/wechat-developer/WeMini/Image.php
index 16db57544..9323f3c95 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Image.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Image.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Live.php b/vendor/zoujingli/wechat-developer/WeMini/Live.php
index 98893ce31..a2ca74493 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Live.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Live.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Logistics.php b/vendor/zoujingli/wechat-developer/WeMini/Logistics.php
index dc048bb5e..788a88eab 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Logistics.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Logistics.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Message.php b/vendor/zoujingli/wechat-developer/WeMini/Message.php
index fdb06a4c6..fae99d86f 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Message.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Message.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Newtmpl.php b/vendor/zoujingli/wechat-developer/WeMini/Newtmpl.php
index 29d7e8d4b..83b939bf2 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Newtmpl.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Newtmpl.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Ocr.php b/vendor/zoujingli/wechat-developer/WeMini/Ocr.php
index 22b5048d7..47fbf9a72 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Ocr.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Ocr.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Operation.php b/vendor/zoujingli/wechat-developer/WeMini/Operation.php
index fe0bb068d..5778c6791 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Operation.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Operation.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Plugs.php b/vendor/zoujingli/wechat-developer/WeMini/Plugs.php
index 6110e89cd..6607f3b36 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Plugs.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Plugs.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Poi.php b/vendor/zoujingli/wechat-developer/WeMini/Poi.php
index c81ef5d2d..fff684cb1 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Poi.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Poi.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Qrcode.php b/vendor/zoujingli/wechat-developer/WeMini/Qrcode.php
index 4c238b34d..e4e09f204 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Qrcode.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Qrcode.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Search.php b/vendor/zoujingli/wechat-developer/WeMini/Search.php
index 92b888e8e..598851f04 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Search.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Search.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Security.php b/vendor/zoujingli/wechat-developer/WeMini/Security.php
index 5b1901fa4..f9527b4ff 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Security.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Security.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Soter.php b/vendor/zoujingli/wechat-developer/WeMini/Soter.php
index 789056896..2f19566d9 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Soter.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Soter.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Template.php b/vendor/zoujingli/wechat-developer/WeMini/Template.php
index 516d40741..18616002a 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Template.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Template.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WeMini/Total.php b/vendor/zoujingli/wechat-developer/WeMini/Total.php
index 9d55a6b5b..023f61ca2 100644
--- a/vendor/zoujingli/wechat-developer/WeMini/Total.php
+++ b/vendor/zoujingli/wechat-developer/WeMini/Total.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/Bill.php b/vendor/zoujingli/wechat-developer/WePay/Bill.php
index 602fbc712..f6580c11d 100644
--- a/vendor/zoujingli/wechat-developer/WePay/Bill.php
+++ b/vendor/zoujingli/wechat-developer/WePay/Bill.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/Coupon.php b/vendor/zoujingli/wechat-developer/WePay/Coupon.php
index 92ca5c06f..bbc126293 100644
--- a/vendor/zoujingli/wechat-developer/WePay/Coupon.php
+++ b/vendor/zoujingli/wechat-developer/WePay/Coupon.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/Order.php b/vendor/zoujingli/wechat-developer/WePay/Order.php
index 1d93288fe..1e390c19b 100644
--- a/vendor/zoujingli/wechat-developer/WePay/Order.php
+++ b/vendor/zoujingli/wechat-developer/WePay/Order.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/Redpack.php b/vendor/zoujingli/wechat-developer/WePay/Redpack.php
index bf97ad89f..aec9c2236 100644
--- a/vendor/zoujingli/wechat-developer/WePay/Redpack.php
+++ b/vendor/zoujingli/wechat-developer/WePay/Redpack.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/Refund.php b/vendor/zoujingli/wechat-developer/WePay/Refund.php
index 8e3c199fc..e8abbad8f 100644
--- a/vendor/zoujingli/wechat-developer/WePay/Refund.php
+++ b/vendor/zoujingli/wechat-developer/WePay/Refund.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/Transfers.php b/vendor/zoujingli/wechat-developer/WePay/Transfers.php
index 89ff1d8c1..b3b39b670 100644
--- a/vendor/zoujingli/wechat-developer/WePay/Transfers.php
+++ b/vendor/zoujingli/wechat-developer/WePay/Transfers.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/WePay/TransfersBank.php b/vendor/zoujingli/wechat-developer/WePay/TransfersBank.php
index 0509d010a..46658f944 100644
--- a/vendor/zoujingli/wechat-developer/WePay/TransfersBank.php
+++ b/vendor/zoujingli/wechat-developer/WePay/TransfersBank.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-app.php b/vendor/zoujingli/wechat-developer/_test/alipay-app.php
index 2efcc13de..54373ff85 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-app.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-app.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-bill.php b/vendor/zoujingli/wechat-developer/_test/alipay-bill.php
index 4bc7797bd..f40eb3fb0 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-bill.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-bill.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-notify.php b/vendor/zoujingli/wechat-developer/_test/alipay-notify.php
index 0d5911682..68683bdbd 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-notify.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-notify.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-pos.php b/vendor/zoujingli/wechat-developer/_test/alipay-pos.php
index e55c4e2e0..8593cc528 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-pos.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-pos.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-refund.php b/vendor/zoujingli/wechat-developer/_test/alipay-refund.php
index 6bcdddb5d..30086ef63 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-refund.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-refund.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-scan.php b/vendor/zoujingli/wechat-developer/_test/alipay-scan.php
index 2bc880632..e8cfeb327 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-scan.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-scan.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-transfer-account.php b/vendor/zoujingli/wechat-developer/_test/alipay-transfer-account.php
index 1d2b289e4..ab7845da7 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-transfer-account.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-transfer-account.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-transfer-create.php b/vendor/zoujingli/wechat-developer/_test/alipay-transfer-create.php
index 39d0fc429..5ab5d6597 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-transfer-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-transfer-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-transfer-query.php b/vendor/zoujingli/wechat-developer/_test/alipay-transfer-query.php
index 7e7d99fea..efca7fe48 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-transfer-query.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-transfer-query.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-transfer.php b/vendor/zoujingli/wechat-developer/_test/alipay-transfer.php
index 4eaf6fb1f..1a6cff547 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-transfer.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-transfer.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-wap.php b/vendor/zoujingli/wechat-developer/_test/alipay-wap.php
index ac04021d2..3eabe8732 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-wap.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-wap.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay-web.php b/vendor/zoujingli/wechat-developer/_test/alipay-web.php
index 46f0efcf0..e7202481e 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay-web.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay-web.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/alipay.php b/vendor/zoujingli/wechat-developer/_test/alipay.php
index beaf985bd..b2f401d71 100644
--- a/vendor/zoujingli/wechat-developer/_test/alipay.php
+++ b/vendor/zoujingli/wechat-developer/_test/alipay.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/config.php b/vendor/zoujingli/wechat-developer/_test/config.php
index e6f807584..4442b2bb7 100644
--- a/vendor/zoujingli/wechat-developer/_test/config.php
+++ b/vendor/zoujingli/wechat-developer/_test/config.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-download-bill.php b/vendor/zoujingli/wechat-developer/_test/pay-download-bill.php
index ffac45b0f..2d5bb171e 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-download-bill.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-download-bill.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-order-close.php b/vendor/zoujingli/wechat-developer/_test/pay-order-close.php
index eeead4af5..06d724996 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-order-close.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-order-close.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-order-create.php b/vendor/zoujingli/wechat-developer/_test/pay-order-create.php
index e9c9f20a7..3df9f4e99 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-order-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-order-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-order-notify.php b/vendor/zoujingli/wechat-developer/_test/pay-order-notify.php
index 7484aace9..902cc37fb 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-order-notify.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-order-notify.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-order-query.php b/vendor/zoujingli/wechat-developer/_test/pay-order-query.php
index b7edf34a1..c3df4b965 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-order-query.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-order-query.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-redpack-create.php b/vendor/zoujingli/wechat-developer/_test/pay-redpack-create.php
index c45dadeb4..e08cddf28 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-redpack-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-redpack-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-refund-create.php b/vendor/zoujingli/wechat-developer/_test/pay-refund-create.php
index 8e3df01ff..7385a8a26 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-refund-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-refund-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-refund-query.php b/vendor/zoujingli/wechat-developer/_test/pay-refund-query.php
index fa63acc9e..e1a66f825 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-refund-query.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-refund-query.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-transfers-create.php b/vendor/zoujingli/wechat-developer/_test/pay-transfers-create.php
index 659d888e2..43292fc69 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-transfers-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-transfers-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/pay-transfersbank-create.php b/vendor/zoujingli/wechat-developer/_test/pay-transfersbank-create.php
index ca3979edf..e6bf58d85 100644
--- a/vendor/zoujingli/wechat-developer/_test/pay-transfersbank-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/pay-transfersbank-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/wechat-jssdk-sign.php b/vendor/zoujingli/wechat-developer/_test/wechat-jssdk-sign.php
index 6a3b6985c..01bccd7af 100644
--- a/vendor/zoujingli/wechat-developer/_test/wechat-jssdk-sign.php
+++ b/vendor/zoujingli/wechat-developer/_test/wechat-jssdk-sign.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/wechat-menu-get.php b/vendor/zoujingli/wechat-developer/_test/wechat-menu-get.php
index 5447aad17..e5cf36f2e 100644
--- a/vendor/zoujingli/wechat-developer/_test/wechat-menu-get.php
+++ b/vendor/zoujingli/wechat-developer/_test/wechat-menu-get.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/wechat-qrcode-create.php b/vendor/zoujingli/wechat-developer/_test/wechat-qrcode-create.php
index 256e30ad9..2964d223d 100644
--- a/vendor/zoujingli/wechat-developer/_test/wechat-qrcode-create.php
+++ b/vendor/zoujingli/wechat-developer/_test/wechat-qrcode-create.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/wechat-user-get.php b/vendor/zoujingli/wechat-developer/_test/wechat-user-get.php
index d42cb5632..c980530ca 100644
--- a/vendor/zoujingli/wechat-developer/_test/wechat-user-get.php
+++ b/vendor/zoujingli/wechat-developer/_test/wechat-user-get.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
diff --git a/vendor/zoujingli/wechat-developer/_test/work-config.php b/vendor/zoujingli/wechat-developer/_test/work-config.php
new file mode 100644
index 000000000..e2cb5a322
--- /dev/null
+++ b/vendor/zoujingli/wechat-developer/_test/work-config.php
@@ -0,0 +1,18 @@
+ '', // 企业ID
+ 'appsecret' => '', // 应用的凭证密钥
+];
\ No newline at end of file
diff --git a/vendor/zoujingli/wechat-developer/_test/work-department.php b/vendor/zoujingli/wechat-developer/_test/work-department.php
new file mode 100644
index 000000000..89ce781a8
--- /dev/null
+++ b/vendor/zoujingli/wechat-developer/_test/work-department.php
@@ -0,0 +1,30 @@
+callGetApi($url);
+ echo '';
+ print_r(BasicWeWork::instance($config)->config->get());
+ print_r($result);
+ echo '
';
+} catch (Exception $exception) {
+ echo $exception->getMessage() . PHP_EOL;
+}
diff --git a/vendor/zoujingli/wechat-developer/include.php b/vendor/zoujingli/wechat-developer/include.php
index cd3af5f50..ebe37fa90 100644
--- a/vendor/zoujingli/wechat-developer/include.php
+++ b/vendor/zoujingli/wechat-developer/include.php
@@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
-// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
+// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------