mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 10:56:50 +08:00
教师修改去掉必须填名称
This commit is contained in:
@@ -261,7 +261,7 @@ public class TeacherApi extends ApiBaseController {
|
||||
*/
|
||||
@PostMapping("/update")
|
||||
public JsonResponse<TeacherVo> update(@RequestBody TeacherVo teacher) {
|
||||
if (teacher == null || StringUtils.isBlank(teacher.getName())) {
|
||||
if (teacher == null) {
|
||||
return error("缺少必要参数");
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user