自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 K8S配合 jenkins 完整一键安装

---------------------------------------------初始化创建容器-------------------------------------------------------------文件中所有的 test 都要换成你创建容器时的名字 demo换成你的 jar 包名字 command中的目录要和打包时候一致。流程为:代码打包--打成 docker 镜像--上传到阿里云镜像管理--通过阿里云镜像内容更新现有容器。创建容器 demo 为取好的名字,记住后面要用。

2023-07-14 17:04:02 605 1

原创 java 流式处理案例

stream流处理list对象

2022-07-25 14:59:41 341

原创 使用过滤器过滤前台穿参尾部空格

HttpServletRequestWrapper过滤

2022-07-18 10:53:56 170

原创 ubuntu22 安装 wordpress 详细方法

ubuntu22 安装 wordpress 详细方法

2022-07-08 09:52:34 1296

转载 nginx设置反向代理,设置二级目录,设置匹配指定文件,设置SSL访问

cdd

2022-03-18 16:17:59 526

原创 mapstruct使用,对象互转赋值

gradle 依赖api 'org.mapstruct:mapstruct:1.4.2.Final' api 'org.mapstruct:mapstruct-processor:1.4.2.Final' testAnnotationProcessor 'org.mapstruct:mapstruct-processor:1.4.2.Final' annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.2.Final

2022-03-18 11:19:48 1150

原创 RSA 非对称加密解密简单实现方法

package com.vguang.legalheadlines.law.controller;import cn.hutool.crypto.asymmetric.KeyType;import cn.hutool.crypto.asymmetric.RSA;import org.springframework.beans.factory.annotation.Value;import org.springframework.web.bind.annotation.GetMapping;im.

2022-01-04 11:21:29 584

原创 双因子验证机制简单实现

@RestController@RequestMapping("/twoFactor")public class TwoFactorController { /** * We can use a Map to simulate the database. */ protected Map<String, String> userSecret = new ConcurrentHashMap<>(); @GetMapping("/bind.

2021-12-31 16:59:44 767

原创 POI导出Excel表格

public void export(@RequestBody PassRecordFindAllVm model, HttpServletResponse response) throws Exception { List<PassRecordEntity> allList = passRecordService.exportAll(model); String[][] strArray = allList.stream().map(x -> { .

2021-12-31 10:29:41 209 1

原创 Spring boot @ConfigurationProperties注解使用

@Component@ConfigurationProperties(prefix = "xxx.config")public class IotSaasConfiguration { private String haha; private String xixi;}创建实体类加入以上2个注解,可以获取到配置文件对应的值赋值入实体类中在需要使用的service中直接注入即可,会自动赋值...

2021-12-31 09:54:52 247

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除