diff --git a/app/data/controller/user/Admin.php b/app/data/controller/user/Admin.php index 81c02e26e..5595b9015 100644 --- a/app/data/controller/user/Admin.php +++ b/app/data/controller/user/Admin.php @@ -111,7 +111,7 @@ class Admin extends Controller } /** - * 取消上级代理 + * 设为总部用户 * @auth true * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException @@ -128,8 +128,8 @@ class Admin extends Controller ]); // 刷新用户等级及上级等级 UserUpgradeService::instance()->upgrade($user['id'], true); - sysoplog('前端用户管理', "取消用户[{$map['id']}]绑定的上级代理"); - $this->success('取消上级代理成功!'); + sysoplog('前端用户管理', "设置用户[{$map['id']}]为总部用户"); + $this->success('设为总部用户成功!'); } /** diff --git a/app/data/view/user/admin/index.html b/app/data/view/user/admin/index.html index 40ff16b88..a070ac3ae 100644 --- a/app/data/view/user/admin/index.html +++ b/app/data/view/user/admin/index.html @@ -98,35 +98,36 @@