|
|
@ -1,8 +1,4 @@ |
|
|
|
package com.kob.backend.config; |
|
|
|
package com.kob.backend.config; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @author zhangfp |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.*; |
|
|
|
import javax.servlet.*; |
|
|
@ -10,6 +6,9 @@ import javax.servlet.http.HttpServletRequest; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @author zfp |
|
|
|
|
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@Configuration |
|
|
|
public class CorsConfig implements Filter { |
|
|
|
public class CorsConfig implements Filter { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|