优化
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/**
|
||||
* 为已授权的非生产环境尽力生成 IT测试/义乌仓 WAIT_SPLIT 数据。
|
||||
*
|
||||
* 每票随机 1-300 箱(可通过参数缩小),失败会记录后继续;不会自动清理已写入数据。
|
||||
* 测量前置只复用 TP-001/YW-TP-002,不创建托盘;库位由正式仓储接口分配,
|
||||
* 普通位不足时由服务端落公共位 A0,脚本不创建库位。
|
||||
* 账号、密码和 Gateway 只从 admin-test-env-acceptance.mjs 支持的环境变量读取。
|
||||
*/
|
||||
import { randomInt } from 'node:crypto'
|
||||
import { appendFile, mkdir, writeFile } from 'node:fs/promises'
|
||||
import { resolve } from 'node:path'
|
||||
|
||||
Reference in New Issue
Block a user