The modification is successful. The normal number of affected rows printed in Sysdb.php is 1. The corresponding $res in admin.php = $this->db->table('admins')->where( ['id'=>$id])->update($data);var_dump($res);
The return is always NULL. Does anyone know what's going on? Please advise, thank you!
Pluto.2021-03-18 16:04:05
$res = $this->db->table('admins')->where('id',$id)->update($data); Try this
Pluto.2021-03-18 16:03:22
$res = $this->db->table('admins')->where(['id',$id)->update($data); Try this