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); }