stepfun-status 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cli/api.js +1 -1
- package/cli/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ stepfun auth
|
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
按提示操作:
|
|
57
|
-
1. 登录 [https://platform.stepfun.com](https://platform.stepfun.com)
|
|
57
|
+
1. 登录 [https://platform.stepfun.com/plan-subscribe](https://platform.stepfun.com/plan-subscribe)
|
|
58
58
|
2. F12 → Network 标签 → 刷新页面
|
|
59
59
|
3. 点击任意 API 请求(如 `GetStepPlanStatus`)
|
|
60
60
|
4. 滚动到 Request Headers → 找到 `Cookie` 行
|
package/cli/api.js
CHANGED
|
@@ -145,7 +145,7 @@ class StepFunAPI {
|
|
|
145
145
|
throw new Error(
|
|
146
146
|
'Missing cookie. Please run "stepfun auth <cookie>" first.\n' +
|
|
147
147
|
"获取方式:\n" +
|
|
148
|
-
"1. 登录 https://platform.stepfun.com\n" +
|
|
148
|
+
"1. 登录 https://platform.stepfun.com/plan-subscribe\n" +
|
|
149
149
|
"2. F12 -> Network -> 刷新页面\n" +
|
|
150
150
|
"3. 点击任意 API 请求 -> Copy -> Copy request headers -> 复制 Cookie 行"
|
|
151
151
|
);
|
package/cli/index.js
CHANGED
|
@@ -114,7 +114,7 @@ program
|
|
|
114
114
|
.action(async (cookie) => {
|
|
115
115
|
// 无论是否已有参数,都先打印获取方式
|
|
116
116
|
console.log(chalk.yellow("\n获取 Cookie 方式:"));
|
|
117
|
-
console.log(chalk.gray("1. 登录 https://platform.stepfun.com"));
|
|
117
|
+
console.log(chalk.gray("1. 登录 https://platform.stepfun.com/plan-subscribe"));
|
|
118
118
|
console.log(chalk.gray("2. F12 -> Network 标签"));
|
|
119
119
|
console.log(chalk.gray("3. 刷新页面"));
|
|
120
120
|
console.log(chalk.gray("4. 点击任意 API 请求(如 GetStepPlanStatus)"));
|