yangzailu

导航

2023年12月18日 #

java rsa加解密

摘要: 坑点: 用其他语言的一定注意,Java秘钥和php秘钥不同,不用混用。 package cn.muyan.monitoragent.utils.encrypt; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import 阅读全文

posted @ 2023-12-18 16:48 飞离地平线 阅读(17) 评论(0) 推荐(0) 编辑

2023年11月29日 #

sql 批量匹配截取替换字段

摘要: UPDATE 表名SET 字段名 = REPLACE(字段名, '要替换的关键词', '替换后的关键词')WHERE 条件; UPDATE activity_commodity SET commodity_picture = REPLACE(commodity_picture, 'hewa-acti 阅读全文

posted @ 2023-11-29 16:07 飞离地平线 阅读(5) 评论(0) 推荐(0) 编辑

nginx 强制跳转域名

摘要: 1、匹配到 hewashanzhao.com 强制跳转到 https://hewa.cn server { listen 8110; server_name hewashanzhao.com; location / { rewrite ^/(.*)$ https://hewa.cn/$1 perma 阅读全文

posted @ 2023-11-29 15:42 飞离地平线 阅读(68) 评论(0) 推荐(0) 编辑

2023年9月7日 #

spring家族

摘要: 阅读全文

posted @ 2023-09-07 14:09 飞离地平线 阅读(2) 评论(0) 推荐(0) 编辑

注解

摘要: 阅读全文

posted @ 2023-09-07 13:57 飞离地平线 阅读(4) 评论(0) 推荐(0) 编辑

2023年8月23日 #

es 统计数量查询

摘要: POST consultant_company_list_prod/_count { "query": { "match_all": {} } } 阅读全文

posted @ 2023-08-23 16:55 飞离地平线 阅读(104) 评论(0) 推荐(0) 编辑

es清空索引内容

摘要: POST /consultant_company_list_prod/_delete_by_query { "query": { "match_all": {} } } 阅读全文

posted @ 2023-08-23 16:27 飞离地平线 阅读(43) 评论(0) 推荐(0) 编辑

2023年8月14日 #

java 字符流复制java文件

摘要: 2. 采用每次读取字符数组方式 阅读全文

posted @ 2023-08-14 17:41 飞离地平线 阅读(4) 评论(0) 推荐(0) 编辑

java 字符流读数据的两种方式

摘要: 阅读全文

posted @ 2023-08-14 17:11 飞离地平线 阅读(12) 评论(0) 推荐(0) 编辑

java 字符流写数据的5种方式

摘要: 阅读全文

posted @ 2023-08-14 16:53 飞离地平线 阅读(10) 评论(0) 推荐(0) 编辑