diff --git a/app/admin/controller/Admin.php b/app/admin/controller/Admin.php index ef519c5..010fa07 100644 --- a/app/admin/controller/Admin.php +++ b/app/admin/controller/Admin.php @@ -136,6 +136,7 @@ class Admin extends AdminController $admin = AdminModel::find(Session::get('admin_id')); if(Request::isAjax()){ $data = Request::param(); + unset($data['auth_group_id']); $result = $admin->allowField(['nickname','sex','mobile','email','remarks'])->update($data); if($result){ $res = ['code'=>0,'msg'=>'更新成功']; diff --git a/view/admin/forum/list.html b/view/admin/forum/list.html index 4ce3d92..925cbd5 100644 --- a/view/admin/forum/list.html +++ b/view/admin/forum/list.html @@ -60,7 +60,7 @@ {{# } }} diff --git a/view/admin/forum/replys.html b/view/admin/forum/replys.html index 5c9955c..0ae5350 100644 --- a/view/admin/forum/replys.html +++ b/view/admin/forum/replys.html @@ -34,7 +34,7 @@