自定义博客皮肤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)
  • 资源 (3)
  • 收藏
  • 关注

原创 QuickFix/J

<dependency> <groupId>io.allune</groupId> <artifactId>quickfixj-spring-boot-starter</artifactId> <version>2.9.0</version></dependency><dependency> <groupId>io.allune</groupI.

2021-09-29 16:57:28 350

原创 记一次springboot项目修改包名后单元测试类无法启动

java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:73) at org.springframewor...

2020-12-18 14:37:05 450

原创 RocketMQ和ActiveMQ

在windows中使用MQrocketmq启动命令进入到bin目录1. 启动nameserverstart runserver.cmd2.启动brokerstart mqbroker.cmd -n 127.0.0.1:9876 autoCreateTopicEnable=truewindow版本安装参考pom<dependency> <groupId>org.springframework.cloud</groupId> <ar

2020-09-17 17:26:35 468

原创 直接标价法 - 换汇时汇率的记录

近期跨境业务,有做换汇交易直接标价法,又称应付标价法。这种标价法是以一定单位的外国货币为标准,折合若干单位的本国货币。汇率计算:以1个单位的外国币种需要多少个单位本国币种为汇率;...

2020-08-19 16:43:57 226

原创 存在父子关系的平级List 转化为包含的JSON数据

package com.test;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONObject;import org.springframework.util.CollectionUtils;import java.util.*;import java.util.stream.Collectors;public class Test { static final String jsonProdc.

2020-07-28 23:18:54 553

原创 redis基础方法工具类

package com.XXXXX.config;import org.springframework.context.annotation.Bean;import org.springframework.data.redis.connection.RedisConnectionFactory;import org.springframework.data.redis.core.HashOperations;import org.springframework.data.redis.core.L.

2020-06-21 16:09:56 125

原创 通过实现BeanFactoryPostProcessor,在非spring管理环境中获取bean

package com.ruoyi.common.utils;import org.springframework.aop.framework.AopContext;import org.springframework.beans.BeansException;import org.springframework.beans.factory.NoSuchBeanDefinitionException;import org.springframework.beans.factory.config..

2020-06-21 16:03:33 340

原创 springcloud 整合 redis

springcloud 整合 redis:1.redis 的配置: a.win+r cmd 切换目录,进入redis安装的目录 使用redis-server.exe,不使用密码登录 b.新建窗口 win+r cmd 运行redis-cli.exe 127.0.0.1:6379>set name 123 OK 127.0.0.1:6379&...

2019-08-06 16:26:39 198

原创 IDEA 中无法ctrl+鼠标左键点击进入实现类型或pom依赖关系

Ctrl+Alt+鼠标左键..............

2019-08-06 16:24:42 3246 4

原创 spring cloud 学习总结

如图所示:Eureka 服务注册与发现service-admin 生产者多个,注册到Eureka上Ribbon+RestTemplate消费者 ,也会注册到Eureka上,每次请求会负载均衡,请求不同的生产者,当找不到生产者时加入熔断机制hystrix,在对应的方法上加上注解,如果失败,则直接返回错误请求提示Feign继承了ribbon,且有负载均衡,自带熔断机制,hystr...

2019-06-04 00:58:13 165

二维码的生成和下载

二维码的生成与下载

2017-08-09

javaScript轮播图

图片轮播

2017-08-09

jquery上传图片并预览

jquery上传图片并预览

2017-08-09

空空如也

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

TA关注的人

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