Commit cb507e92 authored by pengfei's avatar pengfei

add EasyWechat appConfig

parent 054ede25
<?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