会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博主首页
笑~笑
博客园
新随笔
联系
管理
上一页
1
···
22
23
24
25
26
27
28
29
30
···
47
下一页
2021年7月27日
idea找回删除的代码
摘要:
阅读全文
posted @ 2021-07-27 15:56 笑~笑
阅读(313)
评论(0)
推荐(0)
2021年7月23日
RSA加密解密 rsa加密解密
摘要: package com.sensor.sellCabinet.util; import cn.hutool.crypto.asymmetric.KeyType; import cn.hutool.crypto.asymmetric.RSA; import lombok.extern.slf4j.Sl
阅读全文
posted @ 2021-07-23 18:03 笑~笑
阅读(417)
评论(0)
推荐(0)
2021年7月22日
记录一次springboot项目启动注入失败
摘要: 依赖注入 监听器注入实例失败 注入失败 无法注入 private static RunCabinetProductService runCabinetProductService; private static RocketmqLogMapper rocketmqLogMapper; 实现接口 @C
阅读全文
posted @ 2021-07-22 11:22 笑~笑
阅读(154)
评论(0)
推荐(0)
2021年7月21日
mybatis-plus遇见带有关键字的错误
摘要: 注意这个符号在键盘的tab键上面那个1.如果是使用注解形式,使用如下方式: @TableField("`condition`") private String condition; 2.如果是使用xml形式,使用如下方式: <result column="`condition`" property=
阅读全文
posted @ 2021-07-21 14:26 笑~笑
阅读(390)
评论(0)
推荐(0)
2021年7月16日
java去掉html标签,只留文本内容
摘要: public static String delHTMLTag(String htmlStr){ String regEx_script="<script[^>]*?>[\\s\\S]*?<\\/script>"; //定义script的正则表达式 String regEx_style="<styl
阅读全文
posted @ 2021-07-16 16:03 笑~笑
阅读(1141)
评论(0)
推荐(0)
2021年7月15日
idea引入js路径补全问题
摘要: IDEA src href路径自动补全小知识 IDEA src href路径补全 安装一个小的插件:File Path Autocomplete
阅读全文
posted @ 2021-07-15 13:53 笑~笑
阅读(335)
评论(0)
推荐(0)
2021年7月14日
计算 HMAC-SHA1 阿里云消息队列RocketMQ版签名机制案例以及http调用接口案例
摘要: 使用请求参数构造规范化的请求字符串 private static final String ENCODING = "UTF-8"; private static String percentEncode(String value) throws UnsupportedEncodingExceptio
阅读全文
posted @ 2021-07-14 10:57 笑~笑
阅读(282)
评论(0)
推荐(0)
按照参数名称的字典顺序对请求中所有的请求参数(包括公共请求参数和接口的自定义参数,但不包括公共请求参数中的Signature参数)进行排序
摘要: 参数进行字典顺序排序; 调用阿里云消息队列RocketMQ版 http调用方式请求接口所需 /** * @param paraMap 请求参数 * @param urlEncode 是否utf-8编码 * @return */ public static String formatUrlMap(Ma
阅读全文
posted @ 2021-07-14 10:41 笑~笑
阅读(502)
评论(0)
推荐(0)
2021年7月9日
java创建文件、创建文件夹
摘要: File file2 = new File(filePath); if(!file2.getParentFile().exists()){ Files.createDirectories(file2.getParentFile().toPath()); } if(!file2.exists()){
阅读全文
posted @ 2021-07-09 16:30 笑~笑
阅读(342)
评论(0)
推荐(0)
org.jsoup.UnsupportedMimeTypeException
摘要: 采用 org.jsoup.Jsoup 发送post请求抛这个异常时 Unhandled content type. Must be text/*, application/xml, or application/*+xml. Mimetype=application 加上这个即可 Document
阅读全文
posted @ 2021-07-09 11:20 笑~笑
阅读(148)
评论(0)
推荐(0)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
47
下一页
公告