sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 122 123 124 125 126 127 128 129 130 ··· 172 下一页

2022年3月20日

摘要: 在jquery的ajax中,如果没加contentType:"application/json",那么data就应该对应的是json对象;反之,如果加了contentType:"application/json",那么ajax发送的就必须是字符串。 https://blog.csdn.net/wei 阅读全文
posted @ 2022-03-20 20:25 sunny123456 阅读(501) 评论(0) 推荐(0) 编辑

摘要: HTTP请求中的form data和request payload的区别 设置Content-type这个Header为application/x-www-form-urlencoded,实际上对于常规的HTML页面上的form的Content-type默认就是这个值 https://www.cnb 阅读全文
posted @ 2022-03-20 20:19 sunny123456 阅读(454) 评论(0) 推荐(0) 编辑

摘要: java定时任务_定时任务最简单的3种实现方法(超好用) 如果使用的是 Spring 或 Spring Boot 框架,可以直接使用 Spring Framework 自带的定时任务 Spring Task https://blog.csdn.net/weixin_39940788/article/ 阅读全文
posted @ 2022-03-20 20:07 sunny123456 阅读(2387) 评论(0) 推荐(0) 编辑

摘要: Java中常用的Date类型 SimpleDateFormat ft = new SimpleDateFormat ("E yyyy.MM.dd 'at' hh:mm:ss a zzz"); //根据需求获取时间字符串形式 https://blog.csdn.net/qiuwenjie123/art 阅读全文
posted @ 2022-03-20 20:04 sunny123456 阅读(350) 评论(0) 推荐(0) 编辑

摘要: Java中六大时间类的使用和区别 https://www.cnblogs.com/greatfish/p/6036567.html 关于java中六个时间类的使用和区别 java.util.Date java.sql.Date java.sql.Time java.sql.Timestamp jav 阅读全文
posted @ 2022-03-20 20:00 sunny123456 阅读(159) 评论(0) 推荐(0) 编辑

摘要: java 获取当前时间的三种方法 https://blog.csdn.net/c851204293/article/details/91801973 1.通过Util包中的Date获取 Date date = new Date();SimpleDateFormat dateFormat= new S 阅读全文
posted @ 2022-03-20 19:55 sunny123456 阅读(12393) 评论(0) 推荐(0) 编辑

摘要: 在Idea 使用spring-data-jpa,方法名没有自动提示? https://www.zhihu.com/question/464024657 在Idea2021.1.2 的情况下使用spring-data-jpa,在repository接口中根据方法名自动生成方法不出现代码提示。应该有fi 阅读全文
posted @ 2022-03-20 19:42 sunny123456 阅读(1651) 评论(1) 推荐(0) 编辑

摘要: @Controller和@RestController的区别?@RestController注解相当于@ResponseBody + @Controller合在一起的作用。 https://blog.csdn.net/gg12365gg/article/details/51345601 知识点:@R 阅读全文
posted @ 2022-03-20 19:39 sunny123456 阅读(60) 评论(0) 推荐(0) 编辑

2022年3月19日

摘要: linux 小老鼠界面,linux 每日学习 ls详解 https://blog.csdn.net/weixin_30320081/article/details/116775218 ls命令是linux下最常用的命令。ls命令就是list的缩写缺省下ls用来打印出当前目录的清单,如果ls指定其他目 阅读全文
posted @ 2022-03-19 23:13 sunny123456 阅读(117) 评论(0) 推荐(0) 编辑

摘要: 在阿里云安装Ubuntu可视化桌面时,出现问题:Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/main/x/xorg-server/xserver-xorg-core_1.18.4-0ubuntu0.3_amd64.deb 阅读全文
posted @ 2022-03-19 23:10 sunny123456 阅读(731) 评论(0) 推荐(0) 编辑

上一页 1 ··· 122 123 124 125 126 127 128 129 130 ··· 172 下一页