diff --git a/extend/service/WechatService.php b/extend/service/WechatService.php index ccf2e8b57..a0a187530 100644 --- a/extend/service/WechatService.php +++ b/extend/service/WechatService.php @@ -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);