Closed ghost closed 7 years ago
springside4 5.0.0-RC1 test https由于没有支持https所以只能点下面了
springside4 5.0.0-RC1 test
@CrossOrigin(maxAge = 3600) public class AccountEndPoint {
@CrossOrigin(maxAge = 3600) public class BookEndpoint {
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
好的,谢谢提交,我看看。
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