上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2024-02-28 21:02 一介桃白白 阅读(32) 评论(0) 推荐(0)
摘要: 一、两种配置文件的使用(举例:端口号、虚拟路径配置) 1、properties配置文件使用 2、yml配置文件、yaml配置文件 在项目中更常用 在项目中一般yml配置文件更为常用,因为yml层级更加明确、清晰,更为关注数据。 yml在实际开发中会有两种使用方式 1、三方技术需要的配置信息(例如:r 阅读全文
posted @ 2024-02-28 11:27 一介桃白白 阅读(52) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-02-28 11:10 一介桃白白 阅读(20) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/read/cv28506912/?jump_opus=1 阅读全文
posted @ 2024-02-27 23:47 一介桃白白 阅读(30) 评论(0) 推荐(0)
摘要: 1、创建maven工程 2、导入spring-boot-stater-web起步依赖(用IDEA创建项目时可省略此步) 3、编写Controller 右击springbootdemo新增建 controller 新建java类 HelloController @RestController publ 阅读全文
posted @ 2024-02-27 22:40 一介桃白白 阅读(192) 评论(0) 推荐(0)
摘要: string a = "dahioh123geug";string b = "123";if(a.IndexOf(b)>-1){ //字符串A中包含字符串B} 阅读全文
posted @ 2023-10-25 14:31 一介桃白白 阅读(107) 评论(0) 推荐(0)
摘要: 获取下周一 至 下周日 DateTime today = DateTime.Today; int daysUntilMonday = ((int)DayOfWeek.Monday - (int)today.DayOfWeek + 7) % 7; //if today is monday, add s 阅读全文
posted @ 2023-08-24 10:24 一介桃白白 阅读(218) 评论(0) 推荐(0)
摘要: /// <summary> /// 射线法,判断一个坐标点是否在多边形区域内 /// </summary> /// <param name="p"></param> /// <param name="poly"></param> /// <returns></returns> public stri 阅读全文
posted @ 2023-07-21 10:56 一介桃白白 阅读(75) 评论(0) 推荐(0)
摘要: 项目中时常碰到 Convert.ToDateTime 报错的情况 例如: 数据导入时,如果用户胡乱输入,就会出现异常报错。 解决方式: string inputDate = "2023-7-12"; DateTime date = new DateTime(); if(DateTime.TryPar 阅读全文
posted @ 2023-07-12 11:19 一介桃白白 阅读(278) 评论(0) 推荐(0)
摘要: https://www.yii666.com/blog/372897.html?action=onAll 阅读全文
posted @ 2023-07-10 17:06 一介桃白白 阅读(88) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页