上一页 1 2 3 4 5 6 7 ··· 38 下一页
摘要: server { listen 18087; server_name localhost; location / { root D:\code\cp\cp3.3.0\cpcode\web\dist; index index.html index.htm; } location /permission 阅读全文
posted @ 2022-09-08 20:51 Bonnie_ξ 阅读(90) 评论(0) 推荐(0) 编辑
摘要: public void sorted() { EmployDO emp = EmployDO.builder().age("18").name("张小华").sex("男").position("服务员").build(); EmployDO emp2 = EmployDO.builder().ag 阅读全文
posted @ 2022-09-08 20:45 Bonnie_ξ 阅读(1857) 评论(0) 推荐(0) 编辑
摘要: import java.util.List; import java.util.stream.Collectors; public class JavaMemoryPageUtil { public static <T> List<T> getPageLimit(List<T> dataList, 阅读全文
posted @ 2022-09-08 20:42 Bonnie_ξ 阅读(684) 评论(0) 推荐(0) 编辑
摘要: import java.util.LinkedHashMap; import java.util.List; import java.util.Map; public class OrganizationCached { public static OrganizationCached instan 阅读全文
posted @ 2022-09-08 20:30 Bonnie_ξ 阅读(170) 评论(0) 推荐(0) 编辑
摘要: public class Pagination { // 当前页 private Integer page = 1; // 一页显示条数 private Integer limit = 10; // 排序字段 private String field; // 排序类型(desc(降序)、asc(升序 阅读全文
posted @ 2022-09-05 22:22 Bonnie_ξ 阅读(1577) 评论(0) 推荐(0) 编辑
摘要: https://doc.xiaominfo.com/ 1.添加pom文件 <!--knife4j 依赖 3.0.2版本会报错,springboot 2.3.4.RELEASE--><dependency> <groupId>com.github.xiaoymin</groupId> <artifac 阅读全文
posted @ 2022-08-26 22:49 Bonnie_ξ 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 一.读取springboot 自带的application.properties或application.yml文件 1.通过@Value注解来读取 application.properties文件内容: name=1 user.name=2 读取方式: @Value("${name}") priv 阅读全文
posted @ 2022-08-11 22:57 Bonnie_ξ 阅读(363) 评论(0) 推荐(0) 编辑
摘要: SpringBoot创建定时任务,目前主要有以下三种实现方式: 一、基于注解(@Scheduled) 基于注解@Scheduled默认为单线程,开启多个任务时,任务的执行时机会受上一个任务执行时间的影响; 二、基于接口(SchedulingConfigurer) 用于实现从数据库获取指定时间来动态执 阅读全文
posted @ 2022-08-11 22:43 Bonnie_ξ 阅读(7916) 评论(0) 推荐(0) 编辑
摘要: 一、firewalld Centos7默认安装了firewalld,如果没有安装的话,可以使用 yum install firewalld firewalld-config进行安装。 1.启动防火墙 systemctl start firewalld 2.禁用防火墙 systemctl stop f 阅读全文
posted @ 2022-06-19 18:44 Bonnie_ξ 阅读(18) 评论(0) 推荐(0) 编辑
摘要: # 1. 安装依赖包,如果不安装将导致编译失败,或者功能缺失 yum -y install openssl-devel zlib-devel gcc # 2. 在local目录下创建python3目录,供放置最终的可执行文件 mkdir /usr/local/python3 # 3. 先去pytho 阅读全文
posted @ 2022-06-14 23:11 Bonnie_ξ 阅读(1796) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 38 下一页