首页>代码>spring AOP 过滤器 拦截器 执行顺序示例>/filter_interceptor/src/main/java/com/qjc/controller/TestController.java
package com.qjc.controller; import com.qjc.vo.ResponseBean; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.*; /** * @author Simon */ @Api(value = "controller操作", tags = {"controller操作"}) @RequestMapping("/test") @RestController @CrossOrigin(origins = "*", methods = {RequestMethod.GET, RequestMethod.POST, RequestMethod.DELETE, RequestMethod.PUT}) @Slf4j public class TestController { @ApiOperation(value = "查询数据", notes = "查询数据") @RequestMapping(value = "/find/dataList", method = RequestMethod.POST) public ResponseBean findInterfaceList(@RequestParam String userName) { log.info("查询数据成功!!!!"); return new ResponseBean(200, "查询成功", userName); } }

iceboard LV2
2023年5月30日
wuchunfu LV4
2023年3月9日
落后就要挨打 LV26
2023年1月13日
1234mama LV19
2022年6月7日
君知否 LV17
2021年11月11日
mylzdy LV12
2021年10月11日
weixh7 LV25
2021年7月28日
唐僧肉01 LV8
2021年7月7日
kwm2921944 LV10
2021年5月26日
nt893120650 LV4
2021年5月12日

xianyu091012 LV5
2024年11月18日
微信网友_7134912998903808 LV15
2024年9月11日
TY0165 LV20
2024年6月20日
漫步的海星 LV4
2023年9月26日
newhaijun LV15
2023年9月20日
www2222 LV2
2023年8月9日
601601lmy LV5
2023年7月19日
dapeng0011 LV15
2023年6月19日
iceboard LV2
2023年5月29日
1049066887 LV13
2023年4月24日