panlumeng 3 years ago
parent
commit
b325cd44ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Departuser.php

+ 1 - 1
app/admin/controller/Departuser.php

@@ -121,7 +121,7 @@ class Departuser extends BaseController
             ];
             $r = Db::name("depart_user")->where(["is_del"=>0,"id"=>$id])->save($d);
            // var_dump( Db::name("depart_user")->getLastSql());
-            return  $r ? app_show(0,"信息更新成功",$to): error_show(1003,"信息更新失败");
+            return  $r ? app_show(0,"信息更新成功"): error_show(1003,"信息更新失败");
         }catch (\Exception $e){
             return error_show(1003,$e->getMessage());
         }