会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菜鸟需勤奋
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
34
35
36
37
38
39
40
41
42
···
47
下一页
2021年7月25日
日志
摘要: springboot对各种日志框架都支持,默认帮我们支持了slf4j.jar和logback的实现。如果不需要更改为其他日志系统如Log4j2等,则无需多余配置,LogBack默认将日志打印到控制台上。 如果使用LogBack,原则上是需要添加dependency依赖的 <dependency> <
阅读全文
posted @ 2021-07-25 12:36 iTao0128
阅读(51)
评论(0)
推荐(0)
2021年7月22日
MyBatis-返回List类型参数。
摘要: Mapper.java public interface StorageMapper extends BaseMapper<Storage> { List<Integer> getStorageIdByChannelId(List<Integer> channelIds); } mapper.xml
阅读全文
posted @ 2021-07-22 22:24 iTao0128
阅读(569)
评论(0)
推荐(0)
vue将data恢复到初始状态 && 重新渲染组件实例
摘要: 1. 将data恢复到初始状态 Object.assign(this.$data, this.$options.data()) // 初始化data 2. 重新渲染组件 方法一:v-if(可以重置生命周期) 虽然能实现重新渲染,但不推荐首选 方法二:给组件加key值【推荐】 通过修改key的值,就会
阅读全文
posted @ 2021-07-22 22:19 iTao0128
阅读(1299)
评论(1)
推荐(1)
2021年7月18日
httpClient发送get和post请求
摘要: <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.8</version> </dependency> 【get请求】 package c
阅读全文
posted @ 2021-07-18 17:12 iTao0128
阅读(191)
评论(0)
推荐(0)
dubbo接口测试
摘要: 1.【jmeter的jar包地址】下载后,打成jar包 https://github.com/thubbo/jmeter-plugins-for-apache-dubbo 2.将jar包拷贝至D:\apache-jmeter-5.1.1\lib\ext目录
阅读全文
posted @ 2021-07-18 12:33 iTao0128
阅读(162)
评论(0)
推荐(0)
2021年7月17日
springboot单元测试
摘要: package com.java.test1; import com.java.test1.controller.OrderController; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import o
阅读全文
posted @ 2021-07-17 20:32 iTao0128
阅读(162)
评论(0)
推荐(0)
2021年7月16日
SpringBoot下读取自定义properties配置文件
摘要: SpringBoot工程默认读取application.properties配置文件。如果需要自定义properties文件,如何读取呢? 一、在resource中新建.properties文件 在resource目录下新建一个config文件夹,然后新建一个.properties文件放在该文件夹下
阅读全文
posted @ 2021-07-16 21:36 iTao0128
阅读(1935)
评论(0)
推荐(0)
Calendar、SimpleDateFormat 时间用法
摘要: public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar cal = Calendar.getInstance(); ca
阅读全文
posted @ 2021-07-16 06:59 iTao0128
阅读(60)
评论(0)
推荐(0)
2021年7月15日
父子工程
摘要: 【父工程(dubbo-demo)】 pom.xml <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/X
阅读全文
posted @ 2021-07-15 06:51 iTao0128
阅读(61)
评论(0)
推荐(0)
2021年7月1日
启动时检查
摘要: 通过 dubbo.properties dubbo.reference.com.foo.BarService.check=false dubbo.reference.check=false dubbo.consumer.check=false dubbo.registry.check=false 通
阅读全文
posted @ 2021-07-01 22:01 iTao0128
阅读(44)
评论(0)
推荐(0)
上一页
1
···
34
35
36
37
38
39
40
41
42
···
47
下一页
公告