From 8b18e93ef02fa35c942a031a74ab3a751075fb32 Mon Sep 17 00:00:00 2001 From: LiuY <1622779752@qq.com> Date: Wed, 11 Oct 2023 17:04:31 +0800 Subject: [PATCH] 1 --- .../controller/api/noticeconfig/NoticeConfigController.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module-notice/src/main/java/cn/com/tenlion/notice/controller/api/noticeconfig/NoticeConfigController.java b/module-notice/src/main/java/cn/com/tenlion/notice/controller/api/noticeconfig/NoticeConfigController.java index d298a59..b2642f6 100644 --- a/module-notice/src/main/java/cn/com/tenlion/notice/controller/api/noticeconfig/NoticeConfigController.java +++ b/module-notice/src/main/java/cn/com/tenlion/notice/controller/api/noticeconfig/NoticeConfigController.java @@ -35,12 +35,9 @@ public class NoticeConfigController extends DefaultBaseController { @ApiOperation(value = "菜单显示的栏目配置列表", notes = "菜单显示的栏目配置列表接口") - @ApiImplicitParams({ - @ApiImplicitParam(name = "token", value = "token", paramType = "header") - }) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @GetMapping("listswitchview") - public List listSwitchView(@RequestHeader("token") String token) { + public List listSwitchView() { Map params = requestParams(); return noticeConfigService.listSwitchView(params); }