From f5a4ca9f0a937f9cc3393dfed8b4bf989615f103 Mon Sep 17 00:00:00 2001 From: heheng <heheng@123456> Date: 星期三, 05 二月 2025 17:14:19 +0800 Subject: [PATCH] 更改校验 去除非必填 --- exam-system/src/main/java/com/gkhy/exam/coalmine/controller/CmStaffController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/coalmine/controller/CmStaffController.java b/exam-system/src/main/java/com/gkhy/exam/coalmine/controller/CmStaffController.java index cfcaea0..de6f487 100644 --- a/exam-system/src/main/java/com/gkhy/exam/coalmine/controller/CmStaffController.java +++ b/exam-system/src/main/java/com/gkhy/exam/coalmine/controller/CmStaffController.java @@ -56,7 +56,7 @@ @ApiOperation(value = "根据身份ID获取人员信息",httpMethod = "GET") @GetMapping("/getByCode/{code}") - public AjaxResult selectByCode(@PathVariable @NotNull(message = "id不能为空") String code) { + public AjaxResult selectByCode(@PathVariable @NotNull(message = "code不能为空") String code) { return this.cmStaffManagerService.selectByCode(code); } -- Gitblit v1.9.2