摘要: 1、依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> 2、rabbitmq链接配置 spring: r 阅读全文
posted @ 2022-11-19 16:17 花开重日 阅读(246) 评论(0) 推荐(0) 编辑
摘要: class字节码文件结构 类型 名称 说明 长度 数量 u4 magic 魔数,识别Class文件格式 4个字节 1 u2 minor_version 副版本号(小版本) 2个字节 1 u2 major_version 主版本号(大版本) 2个字节 1 u2 constant_pool_count 阅读全文
posted @ 2022-11-19 15:12 花开重日 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 一、栈和局部变量操作 将常量压入栈的指令 aconst_null 将null对象引用压入栈 iconst_m1 将int类型常量-1压入栈 iconst_0 将int类型常量0压入栈 iconst_1 将int类型常量1压入栈 iconst_2 将int类型常量2压入栈 iconst_3 将int类 阅读全文
posted @ 2022-11-19 13:01 花开重日 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1、单机Redis 1、导入对应的包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2、配置 阅读全文
posted @ 2022-11-13 16:09 花开重日 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 提高Docker的下载速度 修改 /etc/docker/daemon.json 文件 vi /etc/docker/daemon.json 配置加速器 { "registry-mirrors": ["https://registry.docker-cn.com", "http://hub-mirr 阅读全文
posted @ 2022-11-12 17:11 花开重日 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1、登陆微信公众平台测试号 2、扫码关注 3、新建模版 参数需以{{开头,以.DATA}}结尾 ,ex:{{msg.DATA}},代码里面替换就可以了 templateMessage.addData(new WxMpTemplateData("msg","测试测试","#FF69B4")); 4、导 阅读全文
posted @ 2022-10-29 16:28 花开重日 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1、父工程pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta 阅读全文
posted @ 2022-10-29 15:28 花开重日 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1、引入依赖 spring-boot版本2.7.3,如未特殊说明版本默认使用此版本 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactI 阅读全文
posted @ 2022-10-29 13:54 花开重日 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 需求: 执行完某些任务后多渠道发送通知消息 伪代码 消息体 package com.wanqi.pojo; /** * @Description TODO * @Version 1.0.0 * @Date 2022/10/28 * @Author wandaren */ public class M 阅读全文
posted @ 2022-10-28 11:06 花开重日 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 使用Homebrew安装 OpenCV 4 brew install opencv 进入安装目录 cd /usr/local/Cellar/opencv 首先检查Apache Ant有没有安装,没有的话就用homebrew安装: brew install ant 编辑homebrew的opencv 阅读全文
posted @ 2022-10-26 10:01 花开重日 阅读(407) 评论(0) 推荐(0) 编辑