更新文档,添加访问地址并修复环境变量格式
This commit is contained in:
@@ -8,6 +8,7 @@ const cookie = process.env.MINIMAX_COOKIE || '';
|
|||||||
const groupId = process.env.MINIMAX_GROUP_ID || '';
|
const groupId = process.env.MINIMAX_GROUP_ID || '';
|
||||||
const minimax = new Minimax(cookie);
|
const minimax = new Minimax(cookie);
|
||||||
|
|
||||||
|
// https://platform.minimaxi.com/user-center/payment/token-plan
|
||||||
export async function getMinimaxRemains() {
|
export async function getMinimaxRemains() {
|
||||||
if (!cookie || !groupId) {
|
if (!cookie || !groupId) {
|
||||||
console.error('MINIMAX_COOKIE or MINIMAX_GROUP_ID is not set');
|
console.error('MINIMAX_COOKIE or MINIMAX_GROUP_ID is not set');
|
||||||
|
|||||||
@@ -5,4 +5,9 @@
|
|||||||
环境变量
|
环境变量
|
||||||
|
|
||||||
- `MINIMAX_COOKIE`
|
- `MINIMAX_COOKIE`
|
||||||
- `MINIMAX_GROUP_ID`
|
- `MINIMAX_GROUP_ID`
|
||||||
|
|
||||||
|
|
||||||
|
## 访问地址
|
||||||
|
|
||||||
|
https://platform.minimaxi.com/user-center/payment/token-plan
|
||||||
Reference in New Issue
Block a user