随笔分类 - springboot
框架学习
摘要:调用方式 @FeignClient(name = "remoteUserManagerService", url = "${base.url}") public interface RemoteUserManagerService { /** * 验证token是否正确 * * @return 结果
阅读全文
摘要:1.修改需要打包的项目 删除启动启动类,修改pom的打包方式 <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <ar
阅读全文
摘要:ArrayList < PayRecord > importListSingle = importList.stream().collect(collectingAndThen(toCollection( () -> new TreeSet <>(Comparator.comparing(PayRe
阅读全文
摘要:添加依赖 <!-- 阿里云短信 --> <dependency> <groupId>com.aliyun</groupId> <artifactId>dysmsapi20170525</artifactId> <version>2.0.5</version> </dependency> 在appli
阅读全文
摘要:解决乱码问题response.setHeader("Content-Type","image/JPG"); QrCodeController package com.lw.project.wx.controller; import com.lw.common.utils.QRCodeUtil; im
阅读全文
摘要:添加一个remote,设置远程host地址和端口,把jvm参数在启动jar是加入。 启动remote
阅读全文
摘要:application.properties中文乱码问题
阅读全文
摘要:SpringBoot第一个helloword
阅读全文