springside / springside4

A Spring Framework based, pragmatic style JavaEE application reference architecture.
http://www.springside.io
Apache License 2.0
5.72k stars 2.91k forks source link

写了一个测试页面 #543

Closed ghost closed 7 years ago

ghost commented 7 years ago

springside4 5.0.0-RC1 test https由于没有支持https所以只能点下面了

springside4 5.0.0-RC1 test

步骤一 在两个类上追加CrossOrigin配置

@CrossOrigin(maxAge = 3600) public class AccountEndPoint {

@CrossOrigin(maxAge = 3600) public class BookEndpoint {

步骤二 本地启动 5.0.0-RC1

代码如下

https://github.com/jnuc093/1_bccw_m/blob/5.0.0-RC1-1/index.html

https://github.com/jnuc093/1_bccw_m/blob/5.0.0-RC1-1/my-app.js

calvin1978 commented 7 years ago

好的,谢谢提交,我看看。