- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://gitee.com/yxyun/focus-sdk
- 软件文档: https://gitee.com/yxyun/focus-sdk/blob/master/README.md
软件介绍
项目介绍
多平台汇集的sdk,目前实现了基于阿里云api的短信以及邮件的封装,可以实现邮件、国内短信的发送。
基于阿里云已实现功能
邮件发送[√]
国内短信发送[√]
使用参考 //短信 System.out.println(MobileExt.sendMobileSms("***","18912344321","XX助手", "{"oId":"12","words":"45","time":"2018-8-6"}","SMS_136","***"));
//邮件 System.out.println(EmailExt.sendEmail("***", "admin@message.git.com", "rain.yuan@transn.com", "管理员","123","测试邮件","***"));
安装教程
pom.xml 粘贴即可使用。
<dependency> <groupId>com.github.yuanxy</groupId> <artifactId>focus-sdk</artifactId> <version>1.0.0</version> </dependency>
注意如果你项目有用到 httpcomponents 请注意你的版本,如果运行报错,请复制下面的配置到pom.xml
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-cache</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.3.1</version> </dependency> <!--apacheHttp-->
使用说明
确认 pom.xml 添加了 focus-sdk 的配置信息
阿里短信 MobileExt.sendMobileSms("","","","","","");
阿里邮件 EmailExt.sendEmail("","","","","","","");
Spring技术内幕
计文柯 / 机械工业出版社 / 2010-1-1 / 55.00元
内容简介: 本书是Spring领域的问鼎之作,由业界拥有10余年开发经验的资深Java专家亲自执笔!Java开发者社区和Spring开发者社区一致强烈推荐。 国内第一本基于Spring3.0的著作,从源代码的角度对Spring的内核和各个主要功能模块的架构、设计和实现原理进行了深入剖析。你不仅能从木书中参透Spring框架的优秀架构和设计思想,而且还能从Spring优雅的实现源码中一窥......一起来看看 《Spring技术内幕》 这本书的介绍吧!
