Commit 18973df4 authored by pengfei's avatar pengfei

update composer

parent 86860711
<?php
namespace Api\PhpUtils\EasyWechat;
class AppConfig
{
public static function getCorpConfig(array $config = []): array
{
$default = [
'corp_id' => config('wechat', 'corp.id'),
'secret' => config('wechat', 'corp.secret'),
];
return array_merge($default,$config);
}
}
\ No newline at end of file
......@@ -53,6 +53,7 @@ return array(
'Api\\PhpUtils\\Common\\IP' => $vendorDir . '/api/php_utils/src/Common/IP.php',
'Api\\PhpUtils\\Common\\Rsa' => $vendorDir . '/api/php_utils/src/Common/Rsa.php',
'Api\\PhpUtils\\Common\\TimeOut' => $vendorDir . '/api/php_utils/src/Common/TimeOut.php',
'Api\\PhpUtils\\EasyWechat\\AppConfig' => $vendorDir . '/api/php_utils/src/EasyWechat/AppConfig.php',
'Api\\PhpUtils\\Elastic\\ElasticUtil' => $vendorDir . '/api/php_utils/src/Elastic/ElasticUtil.php',
'Api\\PhpUtils\\Elastic\\Manager\\DocumentManager' => $vendorDir . '/api/php_utils/src/Elastic/Manager/DocumentManager.php',
'Api\\PhpUtils\\Elastic\\Manager\\IndexManager' => $vendorDir . '/api/php_utils/src/Elastic/Manager/IndexManager.php',
......@@ -121,6 +122,7 @@ return array(
'App\\Models\\goods\\mysql\\PindanGoodsSnapshot' => $baseDir . '/application/models/goods/mysql/PindanGoodsSnapshot.php',
'App\\Models\\goods\\mysql\\Shop' => $baseDir . '/application/models/goods/mysql/Shop.php',
'App\\Models\\goods\\mysql\\Tcc' => $baseDir . '/application/models/goods/mysql/Tcc.php',
'App\\Models\\marketing\\mysql\\BusinessCircle' => $baseDir . '/application/models/marketing/mysql/BusinessCircle.php',
'App\\Models\\marketing\\mysql\\ColonelDistributorColonel' => $baseDir . '/application/models/marketing/mysql/ColonelDistributorColonel.php',
'App\\Models\\marketing\\mysql\\ColonelDistributorColonelApply' => $baseDir . '/application/models/marketing/mysql/ColonelDistributorColonelApply.php',
'App\\Models\\marketing\\mysql\\ColonelDistributorConfig' => $baseDir . '/application/models/marketing/mysql/ColonelDistributorConfig.php',
......@@ -134,6 +136,7 @@ return array(
'App\\Models\\marketing\\mysql\\MarketingPindan' => $baseDir . '/application/models/marketing/mysql/MarketingPindan.php',
'App\\Models\\marketing\\mysql\\MarketingTakePlace' => $baseDir . '/application/models/marketing/mysql/MarketingTakePlace.php',
'App\\Models\\marketing\\mysql\\QyqGroupleader' => $baseDir . '/application/models/marketing/mysql/QyqGroupleader.php',
'App\\Models\\marketing\\mysql\\Tag' => $baseDir . '/application/models/marketing/mysql/Tag.php',
'App\\Models\\marketing\\mysql\\TakePlace' => $baseDir . '/application/models/marketing/mysql/TakePlace.php',
'App\\Models\\shop\\mysql\\Shop' => $baseDir . '/application/models/shop/mysql/Shop.php',
'App\\Models\\shop\\mysql\\SubShop' => $baseDir . '/application/models/shop/mysql/SubShop.php',
......@@ -151,6 +154,7 @@ return array(
'App\\Services\\goods\\GoodsSnapshotsService' => $baseDir . '/application/services/goods/GoodsSnapshotsService.php',
'App\\Services\\goods\\MarketingPindanGoodsService' => $baseDir . '/application/services/goods/MarketingPindanGoodsService.php',
'App\\Services\\goods\\OtaService' => $baseDir . '/application/services/goods/OtaService.php',
'App\\Services\\marketing\\BusinessCircleService' => $baseDir . '/application/services/marketing/BusinessCircleService.php',
'App\\Services\\marketing\\ColonelService' => $baseDir . '/application/services/marketing/ColonelService.php',
'App\\Services\\marketing\\DistributionService' => $baseDir . '/application/services/marketing/DistributionService.php',
'App\\Services\\marketing\\DistributorService' => $baseDir . '/application/services/marketing/DistributorService.php',
......@@ -159,6 +163,7 @@ return array(
'App\\Services\\marketing\\MarketingService' => $baseDir . '/application/services/marketing/MarketingService.php',
'App\\Services\\marketing\\PindanActivityColonelConfigService' => $baseDir . '/application/services/marketing/PindanActivityColonelConfigService.php',
'App\\Services\\marketing\\PindanActivityInviteOrderService' => $baseDir . '/application/services/marketing/PindanActivityInviteOrderService.php',
'App\\Services\\marketing\\TagService' => $baseDir . '/application/services/marketing/TagService.php',
'App\\Services\\marketing\\TakePlaceService' => $baseDir . '/application/services/marketing/TakePlaceService.php',
'App\\Services\\shop\\ShopService' => $baseDir . '/application/services/shop/ShopService.php',
'App\\Services\\tcc\\Tcc2Service' => $baseDir . '/application/services/tcc/Tcc2Service.php',
......
......@@ -377,6 +377,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
'Api\\PhpUtils\\Common\\IP' => __DIR__ . '/..' . '/api/php_utils/src/Common/IP.php',
'Api\\PhpUtils\\Common\\Rsa' => __DIR__ . '/..' . '/api/php_utils/src/Common/Rsa.php',
'Api\\PhpUtils\\Common\\TimeOut' => __DIR__ . '/..' . '/api/php_utils/src/Common/TimeOut.php',
'Api\\PhpUtils\\EasyWechat\\AppConfig' => __DIR__ . '/..' . '/api/php_utils/src/EasyWechat/AppConfig.php',
'Api\\PhpUtils\\Elastic\\ElasticUtil' => __DIR__ . '/..' . '/api/php_utils/src/Elastic/ElasticUtil.php',
'Api\\PhpUtils\\Elastic\\Manager\\DocumentManager' => __DIR__ . '/..' . '/api/php_utils/src/Elastic/Manager/DocumentManager.php',
'Api\\PhpUtils\\Elastic\\Manager\\IndexManager' => __DIR__ . '/..' . '/api/php_utils/src/Elastic/Manager/IndexManager.php',
......@@ -445,6 +446,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
'App\\Models\\goods\\mysql\\PindanGoodsSnapshot' => __DIR__ . '/../..' . '/application/models/goods/mysql/PindanGoodsSnapshot.php',
'App\\Models\\goods\\mysql\\Shop' => __DIR__ . '/../..' . '/application/models/goods/mysql/Shop.php',
'App\\Models\\goods\\mysql\\Tcc' => __DIR__ . '/../..' . '/application/models/goods/mysql/Tcc.php',
'App\\Models\\marketing\\mysql\\BusinessCircle' => __DIR__ . '/../..' . '/application/models/marketing/mysql/BusinessCircle.php',
'App\\Models\\marketing\\mysql\\ColonelDistributorColonel' => __DIR__ . '/../..' . '/application/models/marketing/mysql/ColonelDistributorColonel.php',
'App\\Models\\marketing\\mysql\\ColonelDistributorColonelApply' => __DIR__ . '/../..' . '/application/models/marketing/mysql/ColonelDistributorColonelApply.php',
'App\\Models\\marketing\\mysql\\ColonelDistributorConfig' => __DIR__ . '/../..' . '/application/models/marketing/mysql/ColonelDistributorConfig.php',
......@@ -458,6 +460,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
'App\\Models\\marketing\\mysql\\MarketingPindan' => __DIR__ . '/../..' . '/application/models/marketing/mysql/MarketingPindan.php',
'App\\Models\\marketing\\mysql\\MarketingTakePlace' => __DIR__ . '/../..' . '/application/models/marketing/mysql/MarketingTakePlace.php',
'App\\Models\\marketing\\mysql\\QyqGroupleader' => __DIR__ . '/../..' . '/application/models/marketing/mysql/QyqGroupleader.php',
'App\\Models\\marketing\\mysql\\Tag' => __DIR__ . '/../..' . '/application/models/marketing/mysql/Tag.php',
'App\\Models\\marketing\\mysql\\TakePlace' => __DIR__ . '/../..' . '/application/models/marketing/mysql/TakePlace.php',
'App\\Models\\shop\\mysql\\Shop' => __DIR__ . '/../..' . '/application/models/shop/mysql/Shop.php',
'App\\Models\\shop\\mysql\\SubShop' => __DIR__ . '/../..' . '/application/models/shop/mysql/SubShop.php',
......@@ -475,6 +478,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
'App\\Services\\goods\\GoodsSnapshotsService' => __DIR__ . '/../..' . '/application/services/goods/GoodsSnapshotsService.php',
'App\\Services\\goods\\MarketingPindanGoodsService' => __DIR__ . '/../..' . '/application/services/goods/MarketingPindanGoodsService.php',
'App\\Services\\goods\\OtaService' => __DIR__ . '/../..' . '/application/services/goods/OtaService.php',
'App\\Services\\marketing\\BusinessCircleService' => __DIR__ . '/../..' . '/application/services/marketing/BusinessCircleService.php',
'App\\Services\\marketing\\ColonelService' => __DIR__ . '/../..' . '/application/services/marketing/ColonelService.php',
'App\\Services\\marketing\\DistributionService' => __DIR__ . '/../..' . '/application/services/marketing/DistributionService.php',
'App\\Services\\marketing\\DistributorService' => __DIR__ . '/../..' . '/application/services/marketing/DistributorService.php',
......@@ -483,6 +487,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
'App\\Services\\marketing\\MarketingService' => __DIR__ . '/../..' . '/application/services/marketing/MarketingService.php',
'App\\Services\\marketing\\PindanActivityColonelConfigService' => __DIR__ . '/../..' . '/application/services/marketing/PindanActivityColonelConfigService.php',
'App\\Services\\marketing\\PindanActivityInviteOrderService' => __DIR__ . '/../..' . '/application/services/marketing/PindanActivityInviteOrderService.php',
'App\\Services\\marketing\\TagService' => __DIR__ . '/../..' . '/application/services/marketing/TagService.php',
'App\\Services\\marketing\\TakePlaceService' => __DIR__ . '/../..' . '/application/services/marketing/TakePlaceService.php',
'App\\Services\\shop\\ShopService' => __DIR__ . '/../..' . '/application/services/shop/ShopService.php',
'App\\Services\\tcc\\Tcc2Service' => __DIR__ . '/../..' . '/application/services/tcc/Tcc2Service.php',
......
......@@ -27,12 +27,12 @@
},
{
"name": "api/php_utils",
"version": "v1.0.18",
"version_normalized": "1.0.18.0",
"version": "v1.0.19",
"version_normalized": "1.0.19.0",
"source": {
"type": "git",
"url": "https://git.yidian-inc.com:8021/bp/php_utils.git",
"reference": "33b06adcf6eae99ada39b67c9fb28802a17cb528"
"reference": "214169404ae0639e97b63cc7982e0e3500f7dcb5"
},
"require": {
"elasticsearch/elasticsearch": "~7.0",
......@@ -45,7 +45,7 @@
"overtrue/wechat": "^4.2",
"php": "7.2.*"
},
"time": "2021-09-27T11:58:04+00:00",
"time": "2021-09-28T11:11:01+00:00",
"type": "library",
"installation-source": "source",
"autoload": {
......@@ -1189,12 +1189,12 @@
"source": {
"type": "git",
"url": "https://github.com/w7corp/easywechat.git",
"reference": "00f72fb0113ad1aa47bcf350c3dd4c3af1cd1f54"
"reference": "0907070e17e4420c4ea73e6daac492ac74add9b9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/w7corp/easywechat/zipball/00f72fb0113ad1aa47bcf350c3dd4c3af1cd1f54",
"reference": "00f72fb0113ad1aa47bcf350c3dd4c3af1cd1f54",
"url": "https://api.github.com/repos/w7corp/easywechat/zipball/0907070e17e4420c4ea73e6daac492ac74add9b9",
"reference": "0907070e17e4420c4ea73e6daac492ac74add9b9",
"shasum": "",
"mirrors": [
{
......@@ -1226,7 +1226,7 @@
"phpstan/phpstan": "^0.12.0",
"phpunit/phpunit": "^7.5"
},
"time": "2021-06-30T12:54:00+00:00",
"time": "2021-09-28T11:01:33+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......
<?php return array(
'root' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'a4899e4002e118eba3d02c847afab57b30715468',
'reference' => '86860711cd6fa0c0ad2ad38142f1ae0e299d03cc',
'name' => 'yidian/yaf_demo',
'dev' => true,
),
......@@ -20,12 +20,12 @@
'dev_requirement' => false,
),
'api/php_utils' => array(
'pretty_version' => 'v1.0.18',
'version' => '1.0.18.0',
'pretty_version' => 'v1.0.19',
'version' => '1.0.19.0',
'type' => 'library',
'install_path' => __DIR__ . '/../api/php_utils',
'aliases' => array(),
'reference' => '33b06adcf6eae99ada39b67c9fb28802a17cb528',
'reference' => '214169404ae0639e97b63cc7982e0e3500f7dcb5',
'dev_requirement' => false,
),
'bacon/bacon-qr-code' => array(
......@@ -177,7 +177,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../overtrue/wechat',
'aliases' => array(),
'reference' => '00f72fb0113ad1aa47bcf350c3dd4c3af1cd1f54',
'reference' => '0907070e17e4420c4ea73e6daac492ac74add9b9',
'dev_requirement' => false,
),
'perftools/php-profiler' => array(
......@@ -506,12 +506,12 @@
'dev_requirement' => false,
),
'yidian/yaf_demo' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'a4899e4002e118eba3d02c847afab57b30715468',
'reference' => '86860711cd6fa0c0ad2ad38142f1ae0e299d03cc',
'dev_requirement' => false,
),
),
......
......@@ -164,10 +164,11 @@ class Client extends BaseClient
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function getGroupChat(string $chatId)
public function getGroupChat(string $chatId, int $needName = 0)
{
$params = [
'chat_id' => $chatId,
'need_name' => $needName,
];
return $this->httpPostJson('cgi-bin/externalcontact/groupchat/get', $params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment