摘要:
## Excel工具 #### 1、解析POI单元格,获取文本值 ```java public static String getCellStringValue(Cell cell){ String cellValue = ""; if(cell == null){ return cellValue 阅读全文
posted @ 2023-05-29 14:56
谭五月
阅读(11)
评论(0)
推荐(0)
摘要:
### 利用反射转移实例数据 #### 1、自定义注解 ```java import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.Retent 阅读全文
posted @ 2023-05-29 14:56
谭五月
阅读(177)
评论(0)
推荐(0)
摘要:
## EMQX指南 ### 一、安装EMQX #### 1、下载 ```bash wget https://www.emqx.io/cn/downloads/broker/v4.2.2/emqx-centos7-4.2.2-x86_64.rpm ``` #### 2、安装 ```bash rpm - 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(245)
评论(0)
推荐(0)
摘要:
## EMQX指南 ### 一、安装EMQX #### 1、下载 ```bash wget https://www.emqx.io/cn/downloads/broker/v4.2.2/emqx-centos7-4.2.2-x86_64.rpm ``` #### 2、安装 ```bash rpm - 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(149)
评论(0)
推荐(0)
摘要:
## Curl数据传输工具 ```shell #安装 yum -y install curl #直接访问页面 curl [param] ``` 参数: - I:只返回响应头 `curl http://www.tanmujin.com -I` - e:添加Refer头 `curl http://www 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(37)
评论(0)
推荐(0)
摘要:
### 动态代理 - CGLIB 在pom中导入合适版本的jar包:https://mvnrepository.com/artifact/cglib/cglib #### 1、定义拦截器实现 MethodInterceptor 接口 在这里实现代理增强细节 ```java public Object 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(32)
评论(0)
推荐(0)
摘要:
### Axios 请求方式与后端接口的对应关系 #### 一、GetMapping ```java @GetMapping("/getCompanyData") @ResponseBody public void getCompanyData(@RequestParam String system 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(22)
评论(0)
推荐(0)
摘要:
### aop-面向切面编程 #### 1、业务逻辑 com.example.aop.DemoMethodService 是业务逻辑类,需要在其方法上织入额外代码,这个类不需要任何改动,完全解耦 #### 2、切面 LogAspect 是切面,定义切点和织入代码 在类上添加 @Aspect 注解 # 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(17)
评论(0)
推荐(0)
摘要:
1. 页面定义文件标签 ```html ``` 2. JavaScript脚本接收文件 ```javascript var file = document.getElementById("file_update").files[0]; ``` 3. 通过 formDate 打包(formDate 数 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(8)
评论(0)
推荐(0)
摘要:
1. 页面定义文件标签 ```html ``` 2. JavaScript脚本接收文件 ```javascript var file = document.getElementById("file_update").files[0]; ``` 3. 通过 formDate 打包(formDate 数 阅读全文
posted @ 2023-05-29 14:55
谭五月
阅读(94)
评论(0)
推荐(0)