摘要: 1 数据库存放list @TableField(typeHandler = JsonLongSetTypeHandler.class) private List<String> imageList; 阅读全文
posted @ 2024-04-29 15:08 鱼鱼寡欢 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 引入依赖 <!-- 二维码相关 --> <dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.4.1</version> </dependency> <dependenc 阅读全文
posted @ 2024-04-13 16:12 鱼鱼寡欢 阅读(7) 评论(0) 推荐(0) 编辑
摘要: public class AESUtil { public static final String algorithm = "AES"; // AES/CBC/NOPaddin // AES 默认模式 // 使用CBC模式, 在初始化Cipher对象时, 需要增加参数, 初始化向量IV : IvPa 阅读全文
posted @ 2024-03-27 09:36 鱼鱼寡欢 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 主要原因是文件元信息 有i属性,文件被设置成i属性 防止系统中某个关键文件被修改。 用chattr执行改变文件或目录的属性,可执行lsattr指令查询其属性。 查看文件属性 lsattr /etc/resolv.conf删除i属性 chattr -i /etc/resolv.conf增加i 属性 c 阅读全文
posted @ 2023-08-07 10:33 鱼鱼寡欢 阅读(300) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.25</version> <scope>compile</scope> </dependency> 阅读全文
posted @ 2023-03-03 13:00 鱼鱼寡欢 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-12-13 09:17 鱼鱼寡欢 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1 前端 安装crypto npm install crypto-js js工具 import CryptoJS from 'crypto-js/crypto-js' /** * AES加密 :字符串 key iv 返回base64 */ export function Encrypt(word, 阅读全文
posted @ 2022-12-09 11:28 鱼鱼寡欢 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1.查询昨日数据 SELECT * FROM test WHERE DATEDIFF(DATE_FORMAT(NOW(),'%Y%m%d'),DATE_FORMAT(created_time,'%Y%m%d')) = 1 2.查询上月数据 SELECT * FROM test WHERE PERIO 阅读全文
posted @ 2022-12-01 14:13 鱼鱼寡欢 阅读(17) 评论(0) 推荐(0) 编辑
摘要: MinIO 是在 GNU Affero 通用公共许可证 v3.0 下发布的高性能对象存储。 它是与 Amazon S3 云存储服务兼容的 API。 使用 MinIO 为机器学习、分析和应用程序数据工作负载构建高性能基础架构。 1 拉取镜像 docker pull minio/minio 2 创建挂载 阅读全文
posted @ 2022-11-14 13:39 鱼鱼寡欢 阅读(272) 评论(0) 推荐(1) 编辑
摘要: //上下文 @Resource private ApplicationContext applicationContext; @Bean public void test(){ //扫描Controller Reflections reflections = new Reflections("com 阅读全文
posted @ 2022-10-31 11:05 鱼鱼寡欢 阅读(436) 评论(0) 推荐(0) 编辑