Hello teacher! In $result = TeacherModel::update($data,$condition);, $data updates all the information passed by the form by default, but if a certain field in $data wants to update the specified value, but the others are submitted as is Should I write it like this? $result = TeacherModel::update($data('user_name - > "Little Donkey"'),$condition);
弹下弹下2018-10-13 21:07:29
Thank you, teacher. It was mainly because my brain was short-circuited. I have found a way. Thank you!