
跨域请求
跨域请求
L-岁月染过的梦
这个作者很懒,什么都没留下…
展开
-
jsonp使用jquery封装后调用(跨域请求)
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>JSONP测试</title> <script type="text/javascript" src="http://manage.jt.com/js/jquery-easyui-1.4.1/jquery.min.js"></script> <script type="text/javas原创 2020-09-24 11:54:01 · 111 阅读 · 0 评论 -
cors跨域访问
配置文件 package com.jt.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration publ原创 2020-09-24 11:51:35 · 85 阅读 · 0 评论