更新文档,添加访问地址并修复环境变量格式

This commit is contained in:
xiongxiao
2026-03-26 00:31:09 +08:00
committed by cnb
parent 370ca5c29a
commit a205d38060
2 changed files with 7 additions and 1 deletions

View File

@@ -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');

View File

@@ -5,4 +5,9 @@
环境变量 环境变量
- `MINIMAX_COOKIE` - `MINIMAX_COOKIE`
- `MINIMAX_GROUP_ID` - `MINIMAX_GROUP_ID`
## 访问地址
https://platform.minimaxi.com/user-center/payment/token-plan