上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 1.java获取两个相同字符中间的字符串 //如果没有“*”会报错 String str = "*运输服务*运费"; String substring = str.substring(str.indexOf("*")+1, str.indexOf("*",2)); System.out.printl 阅读全文
posted @ 2022-07-26 10:15 Amy清风 阅读(4283) 评论(0) 推荐(0) 编辑
摘要: 将new Date()=Tue Feb 22 17:31:24 CST 2022 转换为 2022-02-22 05:29:23将Tue Feb 22 17:31:24 CST 2022 转换为 2022-02-22 05:29:23 new SimpleDateFormat("yyyy-MM-dd 阅读全文
posted @ 2022-03-01 11:52 Amy清风 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 1、前端代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://w 阅读全文
posted @ 2021-07-13 23:42 Amy清风 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1、前端代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://w 阅读全文
posted @ 2021-07-13 23:34 Amy清风 阅读(400) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> 一个项目中我们会写 阅读全文
posted @ 2021-05-30 20:09 Amy清风 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 1.在File→Settings→Plugins 搜索mybatis plugin 阅读全文
posted @ 2021-05-27 21:10 Amy清风 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1. 引入分页插件依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.2.3</version> </d 阅读全文
posted @ 2021-05-27 19:12 Amy清风 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1.<!-- 打包war [1] --><packaging>war</packaging> 2. <!--web--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter- 阅读全文
posted @ 2021-05-23 18:58 Amy清风 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 下载地址:http://www.keepalived.org/ 2.安装keepalived 解压 tar -zxvf keepalived-1.4.0.tar.gz 安装gcc命令 yum install -y gcc openssl-devel popt-devel 安装好gcc后 cd kee 阅读全文
posted @ 2021-05-14 13:41 Amy清风 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 1、什么是 nginx 高可用 (1)需要两台 nginx 服务器 (2)需要 keepalived (3)需要虚拟 ip 2、配置高可用的准备工作(1)需要两台服务器 192.168.17.129 和 192.168.17.131 (2)在两台服务器安装 nginx (3)在两台服务器安装 kee 阅读全文
posted @ 2021-05-14 00:25 Amy清风 阅读(1473) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页