- 博客(13)
- 资源 (3)
- 收藏
- 关注
原创 minio关于the difference between the request time and the server is time is too large 的问题解决方案记录
minio时区问题,上传文件与创建桶时间不一致,the difference between the request time and the server is time is too large
2025-04-29 11:52:21
343
原创 【ERROR o.s.b.d.LoggingFailureAnalysisReporter 错误解决方法】
运行SpringBoot的时候报如下错ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] - The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true)
2022-10-27 20:54:35
14310
原创 Nacos的使用准备
从 Github 上下载源码方式git clone https://github.com/alibaba/nacos.git执行命令:cd nacos/mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U 执行结束后找到distribution文件夹下的target这里有已经打包好的这里使用的是压缩文件,也可以直接进文件夹直接使用unzip nacos-server-$version.zip 或者 tar -xvf n
2021-07-26 16:56:11
116
原创 el-backtop关于 target is not existed: .page-component__scroll .el-scrollbar__wrap的问题
element的官网提供了两种但是我们复制到项目中会发现控制台报target is not existed: .page-component__scroll .el-scrollbar__wrap的问题这里以第二种为例:<el-backtop :bottom="10" :right="0"> <div style="{ height: 100%; width: 100%; border-radius: 50%; fo
2021-07-19 13:48:02
1330
原创 g2plot 水滴图,包含数据更新时渲染问题
官网地址:https://g2plot.antv.vision/zh/docs/manual/introduction第一步: vue安装对应插件(网上很多,可以百度一下)npm install @antv/g2plot --save第二步:引入import{Liquid}from'@antv/g2plot'创建对应的div<divid="linechart"/>data定义一个 linePlot加载mounted(){...
2021-06-01 16:02:21
1491
原创 代码风格 - 统一结果返回
好处:后端统一返回格式,前端可以:1.根据错误码做合适的展示,避免盲目等待、重复请求、无奈刷新。2.根据页面当前的分页方式,对数据做相应处理。后台:后端主要使用类:R ResultCode:首先是R,针对这个类我的考虑是其他类引用时会更加的方便,那么做泛型设计,静态的build都是个不错的选择。ResultCode 这个类的设计是将状态码和状态信息进行绑定,那么可以增加复用性。当需要新的message时,只要在ResultcodeEnum 新增一个枚举类型。看完这个类之后再下面讲讲枚举类的设计.
2020-08-16 17:38:19
668
原创 linux 查询日志 常用命令命令总结
tail: -n 是显示行号;相当于nl命令;例子如下: tail -100f test.log 实时监控100行日志 tail -n 10 test.log 查询日志尾部最后10行的日志; tail -n +10 test.log 查询10行之后的所有日志; head: 跟tail是相反的,tail是看后多少行日志;例子如下: ...
2020-08-11 17:59:04
311
原创 Java poi 生成excel 对图片路径的处理
处理线上图片,将线上的图片放到excel中,具体的导出excel,因为文章太多就不写了,自己百度把// 先把读进来的图片放到一个ByteArrayOutputStream中,以便产生ByteArrayByteArrayOutputStream byteArrayOut = new ByteArrayOutputStream();URL url = new URL("https://timgsa.baidu.com/timg?image&quality=80&size=b9999.
2020-07-26 11:08:49
861
原创 java poi 实现生成ppt
完整示例package com.enation.app.javashop.buyer.api.goodsmkt;import java.awt.*;import java.awt.geom.Rectangle2D;import java.io.*;import java.time.LocalDate;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Ma.
2020-07-26 10:57:32
3095
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人