添加了跨域请求的注解还是访问不了
@CrossOrigin
@RequestMapping(value = "/getotp", method = {RequestMethod.POST}, consumes = {CONTENT_TYPE_FORMED})
浏览器控制台没有返回任何东西
@CrossOrigin
@RequestMapping(value = "/getotp", method = {RequestMethod.POST}, consumes = {CONTENT_TYPE_FORMED})
浏览器控制台没有返回任何东西
2021-03-23
举报