js跨域问题

跨域如何解决?

前端用jsonp解决。

后端设置http header 解决

后端解决方法:

前端解决方法:

留坑,有空写

posted @ 2018-06-18 10:28  发疯的man  阅读(125)  评论(0编辑  收藏  举报