Quellcode durchsuchen

权限相关bug fix

lideyin vor 6 Jahren
Ursprung
Commit
628a4b733f

+ 2 - 2
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/NoticeController.java

@@ -100,7 +100,7 @@ public class NoticeController extends ControllerSupport {
         }
     }
 
-    @GetMapping("/getUserNoticeList")
+    @GetMapping("getUserNoticeList")
     @ApiOperation(value = "获取用户公告列表")
     public List<UserNoticeDomain> getUserNoticeList(UserNoticeDomainQuery query) {
         List<UserNoticeDomain> resultList = new ArrayList<>();
@@ -114,7 +114,7 @@ public class NoticeController extends ControllerSupport {
         return resultList;
     }
 
-    @PostMapping("/updateNoticeReadStatus")
+    @PostMapping("updateNoticeReadStatus")
     @ApiOperation(value = "更新通知状态为已读")
     public void updateNoticeReadStatus(@ApiParam(value = "通知id,多个以逗号分隔") @RequestParam(required = true) String noticeId) {
         if (StringUtils.isNullOrEmpty(noticeId)) {