Commit 2abd93dc62811076301dea0d628aede55d6b321b
1 parent
a1d883d72c
Exists in
master
and in
2 other branches
增加跨域设置回退
Showing 1 changed file with 0 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/ResultUtils.java
View file @
2abd93d
... | ... | @@ -110,7 +110,6 @@ |
110 | 110 | response.setContentType("application/json;charset=UTF-8"); |
111 | 111 | response.setCharacterEncoding("UTF-8"); |
112 | 112 | response.setHeader("Cache-Control", "no-cache"); |
113 | - response.setHeader("Access-Control-Allow-Origin","*"); | |
114 | 113 | try { |
115 | 114 | PrintWriter out = response.getWriter(); |
116 | 115 | out.print(json); |