使用配置
本文讲解了GIGOTAPI-SDK
在使用过程中的配置选项
# 🚀 使用方式
注意⚠️
- JDK 8+
- Maven or Gradle
# SpringBoot
# 🍊Maven
在项目的pom.xml的dependencies中加入以下内容:
<dependency>
<groupId>top.panyuwen/groupId>
<artifactId>gigoapi-sdk</artifactId>
<version>0.0.4</version>
</dependency>
1
2
3
4
5
2
3
4
5
# 🍐 Gradle
implementation group: 'top.panyuwen', name: 'gigoapi-sdk', version: '0.0.4'
1
# 添加配置
- yml
# 羊腿api开放平台
gigot-api:
client:
secret-id: 你的secret-id
secret-key: 你的secret-key
1
2
3
4
5
2
3
4
5
- properties
gigot-api.client.secret-id=你的 secret-id
gigot-api.client.secret-key=你的 secret-key
1
2
2
# 申请密钥
开发者使用API平台和GIGOTAPI-SDK开发者工具必须获取到secretId、secretkey
可以前往羊腿API平台获取开发者调用凭证 (opens new window)
帮助我们改善此页面! (opens new window)
上次更新: 2024/03/29, 18:47:19