Commit de62639a by 徐高华

add

parent e91da05b
......@@ -4,9 +4,7 @@ import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.alibaba.fastjson.JSONObject;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.mime.content.ByteArrayBody;
......
......@@ -98,16 +98,4 @@
</list>
</property>
</bean>
<!-- 跨域配置 -->
<mvc:cors>
<mvc:mapping path="/**"
allowed-headers="*"
allowed-origins="*"
allowed-methods="GET,POST,PUT,DELETE,OPTIONS"
allow-credentials="true"
max-age="3600"
/>
</mvc:cors>
</beans>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment