摘要:
解决跨域问题 在SpringBoot2.0 上的跨域 用以下代码配置 解决前后端跨域请求问题 import org.springframework.context.annotation.Bean;import org.springframework.... 阅读全文
摘要:
敲代码不疲劳~ 1.Controller层 ... 阅读全文
摘要:
目录 操作:查询列表 1.controller层 2.Service层 3.Dao层 4. xml映射 操作:查询列表 主要看DAO层和XML映射 1.controller层 @PostMapping @ApiOperation("用... 阅读全文
摘要:
学编程需要动力啊! 第一:自定义一个函数式接口 FileConsumer /** * Created by 肖橙橙 * CreateTime 2020-07-27 14:09 * 文件处理函数式接口 */@FunctionalInterfac... 阅读全文
摘要:
个人笔记,需要获取代码,点击下方👇sku_demo sku_demo 阅读全文
摘要:
阅读全文
摘要:
1.docker中删除images的命令是docker rmi,但有时候执行此命令并不能删除images [xiaolh@ly ~]$docker ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAM... 阅读全文
摘要:
言:使用Bat一键启动zookeeper+kafka(文件后缀改为bat即可) 这里用ping来控制时间(先zookeeper,ping 4 次后 kafka),也可以用choice /t 10 /d y /n >nul来更精确地控制时间 start cm... 阅读全文
摘要:
1.back mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.download base-centos8.repo wget -O /et... 阅读全文
摘要:
一、注解(annotations)列表 @SpringBootApplication: 包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。 其中@ComponentScan让spring B... 阅读全文