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