Chaos2018

2021年12月12日

springboot 后端解决跨域问题

摘要: springboot 后端解决跨域问题 解决跨域问题在java端可以使用注释@CrossOrigin 解决, 如果想要对某一接口配置 CORS,可以在方法上添加 @CrossOrigin 注解 @CrossOrigin(origins = {"http://localhost:9000", "nul 阅读全文

posted @ 2021-12-12 16:23 Chaos2018 阅读(300) 评论(0) 推荐(0) 编辑

idea配置新建类或方法时自动添加注释

摘要: 新建类时添加注释 [[]()]()File-->Settings-->Editor-->File and Code Templates 选中Class `/** @author :mmzs @date :Created in ${DATE} ${TIME} @description:${descri 阅读全文

posted @ 2021-12-12 13:54 Chaos2018 阅读(137) 评论(0) 推荐(0) 编辑

导航