This commit is contained in:
LiuY 2023-10-11 17:04:31 +08:00
parent 7d95f69474
commit 8b18e93ef0

View File

@ -35,12 +35,9 @@ public class NoticeConfigController extends DefaultBaseController {
@ApiOperation(value = "菜单显示的栏目配置列表", notes = "菜单显示的栏目配置列表接口") @ApiOperation(value = "菜单显示的栏目配置列表", notes = "菜单显示的栏目配置列表接口")
@ApiImplicitParams({
@ApiImplicitParam(name = "token", value = "token", paramType = "header")
})
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@GetMapping("listswitchview") @GetMapping("listswitchview")
public List<NoticeConfigDTO> listSwitchView(@RequestHeader("token") String token) { public List<NoticeConfigDTO> listSwitchView() {
Map<String, Object> params = requestParams(); Map<String, Object> params = requestParams();
return noticeConfigService.listSwitchView(params); return noticeConfigService.listSwitchView(params);
} }