From 471346c3218219202bdb4ce6f3384ab760c37f3c Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Thu, 2 Jun 2022 17:20:19 +0800 Subject: [PATCH] w --- app/Admin/Controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Admin/Controllers/UserController.php b/app/Admin/Controllers/UserController.php index e560fcac..e51b6bfb 100644 --- a/app/Admin/Controllers/UserController.php +++ b/app/Admin/Controllers/UserController.php @@ -164,7 +164,7 @@ class UserController extends AdminController $show->field('user_info.growth_value', '成长值'); $show->field('profit'); - $show->field('inviter_info.is_company', '员工')->as(function ($v) { + $show->field('user_info.is_company', '员工')->as(function ($v) { return $v ? '是' : '否'; }); $show->field('vip_expired');