Commit 21416940 authored by 卢洪光's avatar 卢洪光

Merge branch 'feature_easywechat' into 'master'

add EasyWechat appConfig

See merge request bp/php_utils!5
parents 33b06adc cb507e92
<?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
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