java:springboot后台解决接口跨域问题
首先启动类上肯定需要声明跨域
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.sp
原创
2020-06-11 16:13:17 ·
1185 阅读 ·
0 评论