02 2018 档案

摘要:List<String> list =new ArrayList(); list.add(“ab”); list.add("cd"); String str = Joiner.on(",").join(list); 最终结果:str=ab,cd 添加gradle依赖:compile group:'c 阅读全文
posted @ 2018-02-06 15:43 samcheng 阅读(225) 评论(0) 推荐(0) 编辑
摘要:1.首先开启邮件传输协议SMTP协议,设定授权登陆密码。 2.添加gradle依赖:compile('org.springframework.boot:spring-boot-starter-mail') 3.自动化配置,在application.properties中配置相应的属性内容。 阅读全文
posted @ 2018-02-01 17:41 samcheng 阅读(191) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示