$server = app('wechat')->server;$userApi = $server->user;
这样就报错了
$userApi = $server->user; 这边报错local.ERROR: ErrorException: Undefined property: EasyWeChat\Server\Guard::$user in /data/yoga/app/Http/Controllers/WechatController.php:13求解