会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我也有梦想呀
喜欢就努力的争取
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
33
下一页
2022年11月18日
使用axios发送请求的几种方式
摘要: ### 1、是什么? axios 它的底层是用了 XMLHttpRequest(xhr)方式发送请求和接收响应,xhr 相对于之前讲过的 fetch api 来说,功能更强大,但由于是比较老的 api,不支持 Promise,axios 对 xhr 进行了封装,使之支持 Promise,并提供了对请
阅读全文
posted @ 2022-11-18 21:54 我也有梦想呀
阅读(889)
评论(0)
推荐(0)
2022年11月15日
后端程序员必会的前端知识-02:JavaScript
摘要: # 第二章. Javascript 它是一种脚本语言,可以用来更改页面内容,控制多媒体,制作图像、动画等等 例子 * 修改页面内容 js 代码位置 ```html ``` 引入 js 脚本 ```html ``` * 注意,到了框架之后,引入方式会有不同 ## 1. 变量与数据类型 ### 声明变量
阅读全文
posted @ 2022-11-15 20:54 我也有梦想呀
阅读(51)
评论(0)
推荐(0)
后端程序员必会的前端知识-01:html、css
摘要: 第一章. HTML 与 CSS HTML 是什么:即 HyperText Markup language 超文本标记语言,咱们熟知的网页就是用它编写的,HTML 的作用是定义网页的内容和结构。 HyperText 是指用超链接的方式组织网页,把网页联系起来 Markup 是指用 <标签> 的方式赋予
阅读全文
posted @ 2022-11-15 20:52 我也有梦想呀
阅读(97)
评论(0)
推荐(0)
2022年11月14日
MapStruct使用
摘要: 1、首先创建一个maven项目 2、导入相关的依赖 注意:lombok的版本 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www
阅读全文
posted @ 2022-11-14 23:06 我也有梦想呀
阅读(138)
评论(0)
推荐(0)
使用MapStruct出现了No property named "productId" exists in source parameter(s). Type "Product" has no properties.
摘要: pom.xml <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding
阅读全文
posted @ 2022-11-14 20:58 我也有梦想呀
阅读(1074)
评论(0)
推荐(0)
2022年11月10日
记录一下Stream流的一个坑
摘要: List<String> list = new ArrayList<>(); boolean a = list.stream().anyMatch("a"::equals); // If the stream is empty then false is returned and the predi
阅读全文
posted @ 2022-11-10 13:36 我也有梦想呀
阅读(71)
评论(0)
推荐(0)
2022年10月30日
vue-admin-template快速开发框架,菜单栏不显示层级结构
摘要: 问题现象 路由 页面效果 解决办法 路由添加中配置 alwaysShow: true, // 树形层级显示 页面效果
阅读全文
posted @ 2022-10-30 22:00 我也有梦想呀
阅读(65)
评论(0)
推荐(0)
解决swagger2 --> Illegal DefaultValue null for parameter type integer 保存问题
摘要: 在pmo.xml中加入两个依赖 <!--增加两个配置--> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> <version>${swagger-models.versio
阅读全文
posted @ 2022-10-30 21:51 我也有梦想呀
阅读(37)
评论(0)
推荐(0)
2022年10月25日
SpringBoot整合Swagger3
摘要: 1、导入相关依赖 <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </depend
阅读全文
posted @ 2022-10-25 21:47 我也有梦想呀
阅读(162)
评论(0)
推荐(0)
2022年10月20日
MySQL日期查询
摘要: MySQL日期查询 1、今天 select * from 表名 where to_days(时间字段名) = to_days(now()); 2、昨天 SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 1; 3、7天 SELE
阅读全文
posted @ 2022-10-20 16:10 我也有梦想呀
阅读(968)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
33
下一页
公告