0r2

204 经验值

$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
求解