随笔分类 - java后端
摘要:创建第三方登录认证和凭证信息 HttpHost targetHost = new HttpHost(host,new Integer(port).intValue(),"http"); CredentialsProvider credentialsProvider = new BasicCreden
阅读全文
摘要:通常在项目中我们需要对一些数据进行查询,如果有分析需求可能会需要导出成excel方便整理,下面的代码我们使用springboot框架,结合easyexcel2.2.6完成主要部分代码。 1.后台生成excel文件流 @RequestMapping(value="/api/export",produc
阅读全文