直接在maven中引用,由于包中引用了第三方的sdk包,若出现冲突请更换版本
<!-- oss --> <dependency> <groupId>ink.gfwl</groupId> <artifactId>peak-oss</artifactId> <version>${lastVersion}</version> </dependency> <!-- 支付 --> <dependency> <groupId>ink.gfwl</groupId> <artifactId>peak-pay</artifactId> <version>${lastVersion}</version> </dependency> <!-- 验证码 --> <dependency> <groupId>ink.gfwl</groupId> <artifactId>peak-captcha</artifactId> <version>${lastVersion}</version> </dependency> <!-- 社交登录 --> <dependency> <groupId>ink.gfwl</groupId> <artifactId>peak-social</artifactId> <version>${lastVersion}</version> </dependency>启用方式:
@EnableOss
@EnablePay
@EnableCaptcha
@EnableSocial
- ink.gfwl.common 公共资源,下方工具第三方接口api秘钥信息
- ink.gfwl.oss 对象存储
阿里云
腾讯云
- ink.gfwl.pay 支付
- ink.gfwl.captcha 验证码
阿里云
腾讯云
助通
- ink.gfwl.socia 社交登录
支付宝(APP)
苹果(APP)
Github(网页)
微信(小程序、APP、网页扫码)
- peak-sample 为示例代码(看看就行,别当真)
说明:下方功能开发已完成,正在进行代码迁移优化,后续会陆续更新到GITHUB,且GITHUB作为唯一开源仓库,使用过程中若出现问题欢迎提交issues!
Issues提交地址:https://github.com/jianpl/peak-tool-parent/issues/new
如果对您有用的话还希望赞赏一下
更新时间:撸代码中,部分已更新, ink.gfwl.sms 已更改为ink.gfwl.captcha
更新:
-
OSS
1.1 阿里云
1.2 腾讯云对象存储
-
社交登录
2.1 APP支付宝登录
2.2 APP Apple登录
2.3 Github网页授权
2.4 微信小程序、APP微信登录、微信扫码登录(网页)
-
验证码
3.1 助通;支持国际短信
-
正在更新支付
更新时间:2022-03-21
更新短信相关接口
mvn clean deploy -Dgpg.passphrase=jianpolan