mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信模式兼容
This commit is contained in:
parent
9e5318f2a1
commit
48c5c2fd35
@ -70,7 +70,7 @@ class WechatService
|
||||
'cachepath' => env('cache_path') . 'wechat' . DIRECTORY_SEPARATOR,
|
||||
];
|
||||
if (in_array(strtolower($name), ['wechat', 'config'])) {
|
||||
$name = 'receive';
|
||||
$name = 'user';
|
||||
}
|
||||
$type = '\\WeChat\\' . ucfirst(strtolower($name));
|
||||
return new $type($config);
|
||||
|
Loading…
x
Reference in New Issue
Block a user