eprolo-cli 1.0.51 → 1.0.52

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/bin/eprolo-cli.js CHANGED
@@ -189,8 +189,8 @@ async function queryOrders() {
189
189
  console.error(JSON.stringify({ success: false, errorMessage: "未授权,请先登录" }));
190
190
  process.exit(1);
191
191
  }
192
-
193
- const data = await postJsonWithRetry(ORDERS_API, {id:'1'}, config);
192
+ const id = process.env.orderId;
193
+ const data = await postJsonWithRetry(ORDERS_API, {id}, config);
194
194
  console.log(JSON.stringify(data, null, 2));
195
195
  process.exit(0);
196
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "CLI for Dianxiaobao ICBU AI publishing, authorization profile management, task submission, and task status checks.",
5
5
  "bin": {
6
6
  "eprolo": "bin/eprolo-cli.js"