eprolo-cli 1.0.82 → 1.0.83

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
@@ -231,7 +231,7 @@ async function insertProduct(argv) {
231
231
  process.exit(0);
232
232
  }
233
233
  async function addOrder(argv) {
234
- console.log('addOrder', JSON.stringify(argv, null, 2));
234
+ console.log('addOrder', argv);
235
235
  const config = readConfig();
236
236
  if (!argv) {
237
237
  console.error(JSON.stringify({ success: false, errorMessage: "缺少订单 JSON 字符串" }));
@@ -320,7 +320,7 @@ async function main() {
320
320
  return;
321
321
  }
322
322
  if (argv[0] === "add-order") {
323
- await addOrder(argv.slice(1));
323
+ await addOrder(argv[1]);
324
324
  return;
325
325
  }
326
326
  printHelp();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
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"