一款好用的MQTT客户端工具收藏
官方网站 https://mqtt-explorer.com/ 收藏一波.免得下次找不到
SpringBoot注解验证的操作方法
一样的做个记录,每次找资料耗费时间 场景: 嗯! 就是. 对接收参数进行合规性校验 目前我知道的有两种方式 第一种 直接写在Controller的方法中 public HttpResult test(@NotNull(message = "缺少参数:id") Long id) 第二种: 写在实体类中 /** * @desc: 运单新增请求bean * @author: Lt * @date: 2024/3/25 17:17 */ @Setter @Getter @Accessors(chain = true) public...
SpringBoot捕获自定义message
做个记录吧,虽然到处都是 package com.driver.businessmodules.handler; import com.utils.businesscommonutils.HttpResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.web.bind.MethodArgumentNotValidException; imp...
Win10任务栏不见了,被杀进程处理方法
win10不小心把任务栏进程kill了导致任务栏不见了 1.使用快捷键 ctrl+alt+del 点击 [任务管理器] 2.点击"文件"->"运行新任务"->输入"explorer" 3.点击确定.
SpringBoot+Netty TCP协议对接充电桩
只是记录下使用记录,fd和uid的绑定没有写 引入依赖 <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>4.1.22.Final</version> </dependency> 创建编码器,解码器 编码器 // 编码器 package com.example.springbootnettyserver...
maven阿里镜像配置
每次都要去找比较麻烦,挪过来自己看的😁 ▪apache mavne中央仓库 ▪https://search.maven.org/ ▪https://mvnrepository.com/ 方式一:全局配置 可以添加阿里云的镜像到maven的setting.xml配置中,这样就不需要每次在pom中,添加镜像仓库的配置,在mirrors节点下面添加子节点: <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> &...
免费API大全收藏
夏柔API:https://api.aa1.cn/ PearAPI:https://api.pearktrue.cn/ Free-api:https://free-api.com/