Skip to content

lunasaw/luna-fans-api

Repository files navigation

luna-fans-api

luna-fans-api-fans 基于各个开放平台的api整合优化,大部分采用原生http调用。

Maven Central GitHub license Build Status


Api开放平台工具

日志

  • 2023.0422 升级httpClient5.2 支持更优秀的异步请求方式

  • 2023.0414 自助github action Java doc打包📦部署

  • 2023.04.09 升级SpringBoot 2.7.10, 精简maven, 拆分Tencent的微信支付模块,和aliPay的支付模块,新增支付测试controller

  • 2022.10.03 增加阿里Oss平台,升级SpringBoot 2.7.0

  • 2022-05-25 Smms图床,邮件发送,百度Api开放平台,腾讯Api开放平台,微信支付,阿里Api开放平台,阿里云oss,阿里pay

使用步骤
<dependency>
    <groupId>io.github.lunasaw</groupId>
    <artifactId>luna-fans-api-fans</artifactId>
    <version>${last.version}</version>
</dependency>

在配置文件application.properties加入可选配置,具体使用见各个模块

items items-src items Guide
ali ali ali-spring-boot-starter
api api api-spring-boot-starter
api-pay ali-pay ali-pay-spring-boot-starter
badiu baidu baidu-spring-boot-starter
tencent tencent tencent-spring-boot-starter
tencent-wechat tencent-pay tencent-pay-spring-boot-starter
test test Test-model

使用示例

采用SpringBoot构建项目可通过将第三方包中的,通过Spring配置文件注入Spring管理,根据配置数据初始化项目, 使用配置文件的token调用api里的静态方法完成调用.