Spring Boot 跨域-dcrenl
一:使用@CrossOrigin注解 @CrossOrigin @RequestMapping(value = "/get" ) public HashMap<String, Object> get(@RequestParam String name) { HashMap <String, Object> map = new HashMap<String, Object> (); map.put( "title", "hello world" ); map.put( "name" , name); return map; } 二...