解决跨域问题:
/*使用GET传输*/
@RequestMapping(value = "/action",method = RequestMethod.GET)
/*解决跨域*/
@CrossOrigin(origins = "http://localhost:8080",allowCredentials = "true")
解决跨域问题:
/*使用GET传输*/
@RequestMapping(value = "/action",method = RequestMethod.GET)
/*解决跨域*/
@CrossOrigin(origins = "http://localhost:8080",allowCredentials = "true")