修复取号:未找到订单等前置失败被误记为「结果待核实」导致无法重试
- dgj.fetchWaybillNo 对「尚未向平台申请面单」的失败打 waybillNotConsumed 标记 (订单行回读不到、模板校验失败、面单余额不足、账号未登录、traceId 获取失败等) - waybillGet 只在「拿不到平台响应且未打标记」时写 status=2 待核实, 明确失败会销毁订单级幂等记录,修好根因后可直接重试 - 补充单测,并在 WMS-OMS-取号对接.md 说明订单级取号幂等的三种状态 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ac05fe5a70
commit
ccaea5928f
@ -245,6 +245,14 @@ OMS 侧实现:`D:\oms\backend\app\lib\wms\sign.js`。
|
|||||||
- 清表后就会真正向平台再取一次号(会消耗面单);取号记录表 `waybill_fetch_records` 里能看到每次的 `waybill_source=express_print` 与平台返回。
|
- 清表后就会真正向平台再取一次号(会消耗面单);取号记录表 `waybill_fetch_records` 里能看到每次的 `waybill_source=express_print` 与平台返回。
|
||||||
- ⚠️ 反过来要注意:批量里只要有**一单失败**,整批的 `request_id` 就不会被锁。用同一 `request_id` 重试会**整批重跑**,已成功的单会再取一次号(多消耗面单)。生产上建议按「单」或小批提交,减少重复取号。
|
- ⚠️ 反过来要注意:批量里只要有**一单失败**,整批的 `request_id` 就不会被锁。用同一 `request_id` 重试会**整批重跑**,已成功的单会再取一次号(多消耗面单)。生产上建议按「单」或小批提交,减少重复取号。
|
||||||
|
|
||||||
|
**订单级取号幂等(`waybill_fetch_idempotencies`,唯一键 = 订单 + 快递编码 + 包裹序号)**
|
||||||
|
|
||||||
|
- `status=1`(成功):后续同键请求**直接回放**该单结果,不再调平台(即使换了 `request_id`)。
|
||||||
|
- `status=2`(结果待核实):**只有「可能已经出号」的失败**才写 —— 平台请求网络超时/断开(拿不到平台响应),或平台响应里解析不到运单号。
|
||||||
|
之后同键请求一律返回 `上次取号结果待核实,已阻止重复取号:…`,需人工核实运单后清掉该记录才会重新取号(防止重复消耗面单)。
|
||||||
|
- 平台**明确失败**(拿得到平台响应,如 `ErrCode/ErrMsg`)与**还没向平台申请面单就失败**的情况(店管家查不到订单行、模板校验失败、面单余额不足、账号未登录等)
|
||||||
|
**不写也不锁**:下次请求会重新执行,修好根因(补同步、换分区、充值)后直接重试即可。
|
||||||
|
|
||||||
### 4.4 逐单失败原因全表(OMS 侧)
|
### 4.4 逐单失败原因全表(OMS 侧)
|
||||||
|
|
||||||
| message | 触发条件 | WMS 建议处理 |
|
| message | 触发条件 | WMS 建议处理 |
|
||||||
@ -266,9 +274,9 @@ OMS 侧实现:`D:\oms\backend\app\lib\wms\sign.js`。
|
|||||||
| `快递编码X不存在(…均无此编码)…` | 系统快递公司字典与自定义快递编码字典都没有该编码 | 不重试;到 OMS 系统管理→自定义快递编码 新增后再试 |
|
| `快递编码X不存在(…均无此编码)…` | 系统快递公司字典与自定义快递编码字典都没有该编码 | 不重试;到 OMS 系统管理→自定义快递编码 新增后再试 |
|
||||||
| `快递编码X已停用…` | 编码在字典里但 `status=0` | 到 OMS 系统管理→自定义快递编码 启用后再试 |
|
| `快递编码X已停用…` | 编码在字典里但 `status=0` | 到 OMS 系统管理→自定义快递编码 启用后再试 |
|
||||||
| `打单平台「X」未开启回平台取号:…` | 平台 `fetch_waybill_no != 1` | 先改平台配置 |
|
| `打单平台「X」未开启回平台取号:…` | 平台 `fetch_waybill_no != 1` | 先改平台配置 |
|
||||||
| `店管家真实取号已关闭(DGJ_WAYBILL_ENABLE=0):…` | 显式关闭了真实取号,且平台侧还没有运单号 | 去掉该环境变量后重试 |
|
| `店管家真实取号已关闭(DGJ_WAYBILL_ENABLE=0):…` | 显式关闭了真实取号,且平台侧还没有运单号 | 去掉该环境变量后重试(不锁单) |
|
||||||
| `店管家未找到订单:系统编号 X(域名 Y)` | 订单不在该平台的订单域名/分区,或系统编号不对 | 检查平台域名(视频号/淘宝走 `fxali`、抖店 `fxdd`)、分区 dbname |
|
| `店管家未找到订单:系统编号 X(域名 Y,分区 Z)` | 订单不在该平台的订单域名/分区,或系统编号不对 | 检查平台域名(视频号/淘宝走 `fxali`、抖店 `fxdd`)、分区 dbname;修好后可直接重试(这类失败不锁单) |
|
||||||
| `店管家面单余额不足,请充值后再取号` | 模板余额 < 本次张数 | 充值后重试 |
|
| `店管家面单余额不足,请充值后再取号` | 模板余额 < 本次张数 | 充值后重试(不锁单) |
|
||||||
| `订单在店管家已发货或已终结(ErpState=sended,平台运单号 X…),取号失败:请作废或取消该单` | 平台侧已发货/已终结(常见于平台先发货、OMS 后审核) | 不重试;OMS 作废/取消该单,WMS 同步取消 |
|
| `订单在店管家已发货或已终结(ErpState=sended,平台运单号 X…),取号失败:请作废或取消该单` | 平台侧已发货/已终结(常见于平台先发货、OMS 后审核) | 不重试;OMS 作废/取消该单,WMS 同步取消 |
|
||||||
|
|
||||||
**取号失败提示都带操作指引**,示例(真实返回):
|
**取号失败提示都带操作指引**,示例(真实返回):
|
||||||
|
|||||||
@ -87,6 +87,20 @@ function buildPlatformError(message, res) {
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 标记「尚未向平台申请面单」的失败(订单行回读不到、模板校验失败、余额不足等)
|
||||||
|
*
|
||||||
|
* 这类失败一定发生在 ExpressPrint 之前,面单不可能被消耗,可以安全重试。
|
||||||
|
* 不标记的话,上层 `waybillGet` 会把没有 `rawResponse` 的异常一律当成
|
||||||
|
* 「平台结果不确定」,后续重试会被幂等表拦下,运营只能手工清库。
|
||||||
|
* @param {Error} err 原始异常
|
||||||
|
* @return {Error} 同一个异常(带 waybillNotConsumed 标记)
|
||||||
|
*/
|
||||||
|
function markWaybillNotConsumed(err) {
|
||||||
|
if (err && typeof err === 'object') err.waybillNotConsumed = true;
|
||||||
|
return err;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 单进程内相邻两次平台请求的最小间隔(毫秒)
|
* 单进程内相邻两次平台请求的最小间隔(毫秒)
|
||||||
*
|
*
|
||||||
@ -3173,11 +3187,15 @@ class DgjService extends PrintPlatformService {
|
|||||||
* @return {Promise<{waybill_code: string, waybill_codes: string[], printinfo: string, signature: string, encryptprintinfo: string, key: string, ver: string, previous_code: string, raw: Object}>} 取号结果
|
* @return {Promise<{waybill_code: string, waybill_codes: string[], printinfo: string, signature: string, encryptprintinfo: string, key: string, ver: string, previous_code: string, raw: Object}>} 取号结果
|
||||||
*/
|
*/
|
||||||
async fetchWaybillNo(order, options = {}) {
|
async fetchWaybillNo(order, options = {}) {
|
||||||
if (!this.token || !this.cookie) throw new Error('店管家账号未登录:缺少 token 或 cookie,请先登录');
|
if (!this.token || !this.cookie) {
|
||||||
|
throw markWaybillNotConsumed(new Error('店管家账号未登录:缺少 token 或 cookie,请先登录'));
|
||||||
|
}
|
||||||
|
|
||||||
const template = options.template || {};
|
const template = options.template || {};
|
||||||
const templateId = String(template.template_id || (template.raw && template.raw.Id) || '').trim();
|
const templateId = String(template.template_id || (template.raw && template.raw.Id) || '').trim();
|
||||||
if (!templateId) throw new Error('取号缺少面单模板ID:请先在「外部打单平台 → 快递接口」为编码绑定模板');
|
if (!templateId) {
|
||||||
|
throw markWaybillNotConsumed(new Error('取号缺少面单模板ID:请先在「外部打单平台 → 快递接口」为编码绑定模板'));
|
||||||
|
}
|
||||||
|
|
||||||
// 订单/取号走「订单域名」,与模板域名不同(视频号订单只在 fxali 能查到)。
|
// 订单/取号走「订单域名」,与模板域名不同(视频号订单只在 fxali 能查到)。
|
||||||
// 1688 分销单在 OMS 里被换算成抖音小店/淘宝(为了选对模板),但订单行仍在 Alibaba 分区,
|
// 1688 分销单在 OMS 里被换算成抖音小店/淘宝(为了选对模板),但订单行仍在 Alibaba 分区,
|
||||||
@ -3186,13 +3204,21 @@ class DgjService extends PrintPlatformService {
|
|||||||
const originalPlatformType = originalCode ? DgjService.resolvePlatformType(originalCode) : '';
|
const originalPlatformType = originalCode ? DgjService.resolvePlatformType(originalCode) : '';
|
||||||
const host = resolveOrderHost(originalPlatformType || template.platform_type);
|
const host = resolveOrderHost(originalPlatformType || template.platform_type);
|
||||||
|
|
||||||
const traceId = await this.resolveTraceId();
|
let traceId;
|
||||||
|
try {
|
||||||
|
traceId = await this.resolveTraceId();
|
||||||
|
} catch (err) {
|
||||||
|
// 只是取日志串联用的 traceId,尚未接触取号接口,可安全重试
|
||||||
|
throw markWaybillNotConsumed(err);
|
||||||
|
}
|
||||||
|
|
||||||
// 分区:模板记录的分区优先,订单不一定同区(模板按账号同步、店铺可能迁区),命中会改写
|
// 分区:模板记录的分区优先,订单不一定同区(模板按账号同步、店铺可能迁区),命中会改写
|
||||||
let dbname = String(template.dbname || '').trim();
|
let dbname = String(template.dbname || '').trim();
|
||||||
const logicalOrderId = String(order.parent_order_no || String(order.order_no || '').replace(/^[^-]+-/, '')).trim();
|
const logicalOrderId = String(order.parent_order_no || String(order.order_no || '').replace(/^[^-]+-/, '')).trim();
|
||||||
const platformOrderId = String((order.extend_props && order.extend_props.platform_order_no) || order.oaid_order_source_code || '').trim();
|
const platformOrderId = String((order.extend_props && order.extend_props.platform_order_no) || order.oaid_order_source_code || '').trim();
|
||||||
if (!logicalOrderId) throw new Error('订单缺少店管家系统编号(parent_order_no),无法取号');
|
if (!logicalOrderId) {
|
||||||
|
throw markWaybillNotConsumed(new Error('订单缺少店管家系统编号(parent_order_no),无法取号'));
|
||||||
|
}
|
||||||
|
|
||||||
const placeOrderTime = order.place_order_time || order.pay_time || order.created_at;
|
const placeOrderTime = order.place_order_time || order.pay_time || order.created_at;
|
||||||
let row = await this.findPlatformOrderRow(host, { traceId, dbname, logicalOrderId, platformOrderId, placeOrderTime });
|
let row = await this.findPlatformOrderRow(host, { traceId, dbname, logicalOrderId, platformOrderId, placeOrderTime });
|
||||||
@ -3220,12 +3246,17 @@ class DgjService extends PrintPlatformService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!row) throw new Error(`店管家未找到订单:系统编号 ${logicalOrderId}(域名 ${host},分区 ${dbname || '-'})`);
|
if (!row) {
|
||||||
|
// 订单行回读不到属于「平台明确没这个单」,还没有进入取号(ExpressPrint),可安全重试
|
||||||
|
throw markWaybillNotConsumed(new Error(`店管家未找到订单:系统编号 ${logicalOrderId}(域名 ${host},分区 ${dbname || '-'})`));
|
||||||
|
}
|
||||||
|
|
||||||
// 平台侧已发货/已终结:不能再取号,也不能把旧运单号当成取号成功(该单应作废/取消)
|
// 平台侧已发货/已终结:不能再取号,也不能把旧运单号当成取号成功(该单应作废/取消)
|
||||||
if (isOrderFinished(row)) {
|
if (isOrderFinished(row)) {
|
||||||
const codeText = row.LastWaybillCode ? `,平台运单号 ${row.LastWaybillCode}` : '';
|
const codeText = row.LastWaybillCode ? `,平台运单号 ${row.LastWaybillCode}` : '';
|
||||||
throw new Error(`订单在店管家已发货或已终结(ErpState=${row.ErpState || '-'}${codeText}),取号失败:请作废或取消该单,不要再发货`);
|
throw markWaybillNotConsumed(new Error(
|
||||||
|
`订单在店管家已发货或已终结(ErpState=${row.ErpState || '-'}${codeText}),取号失败:请作废或取消该单,不要再发货`
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
// 平台已取号但未发货:不再复用。重复调用是否要拦,由幂等表(request_id)负责;
|
// 平台已取号但未发货:不再复用。重复调用是否要拦,由幂等表(request_id)负责;
|
||||||
@ -3235,15 +3266,21 @@ class DgjService extends PrintPlatformService {
|
|||||||
// 多包裹 / 子单:每次调用都走「新单号打印」,平台会分配一个新号,
|
// 多包裹 / 子单:每次调用都走「新单号打印」,平台会分配一个新号,
|
||||||
// 所以 WMS 按包裹各调一次即可(packageIndex 无需下发给平台)。
|
// 所以 WMS 按包裹各调一次即可(packageIndex 无需下发给平台)。
|
||||||
if (!isWaybillEnabled()) {
|
if (!isWaybillEnabled()) {
|
||||||
throw new Error('店管家真实取号已关闭(DGJ_WAYBILL_ENABLE=0):当前只做只读校验,不会调用平台取号;需要真实取号请去掉该环境变量或置为 1');
|
throw markWaybillNotConsumed(new Error('店管家真实取号已关闭(DGJ_WAYBILL_ENABLE=0):当前只做只读校验,不会调用平台取号;需要真实取号请去掉该环境变量或置为 1'));
|
||||||
}
|
}
|
||||||
|
|
||||||
const runPrint = async () => {
|
const runPrint = async () => {
|
||||||
const check = await this.checkTemplateAvailable(host, { traceId, dbname, templateId, rows: [ row ] });
|
let check;
|
||||||
|
try {
|
||||||
|
check = await this.checkTemplateAvailable(host, { traceId, dbname, templateId, rows: [ row ] });
|
||||||
|
} catch (err) {
|
||||||
|
// 模板/余额校验是只读接口,失败时 ExpressPrint 还没发出去,可安全重试
|
||||||
|
throw markWaybillNotConsumed(err);
|
||||||
|
}
|
||||||
const balance = Number(check && check.Data && check.Data.Balance);
|
const balance = Number(check && check.Data && check.Data.Balance);
|
||||||
const needCount = Number(check && check.Data && check.Data.PrintCount);
|
const needCount = Number(check && check.Data && check.Data.PrintCount);
|
||||||
if (Number.isFinite(balance) && Number.isFinite(needCount) && balance < needCount) {
|
if (Number.isFinite(balance) && Number.isFinite(needCount) && balance < needCount) {
|
||||||
throw new Error('店管家面单余额不足,请充值后再取号');
|
throw markWaybillNotConsumed(new Error('店管家面单余额不足,请充值后再取号'));
|
||||||
}
|
}
|
||||||
return await this.expressPrint(host, {
|
return await this.expressPrint(host, {
|
||||||
traceId,
|
traceId,
|
||||||
|
|||||||
@ -850,8 +850,10 @@ async function callPlatform(ctx, { principalId, warehouseId, code, expressCode,
|
|||||||
packageIndex,
|
packageIndex,
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// 收到平台明确响应时允许重试;网络异常可能发生在平台已出号后,必须先核实避免重复消耗面单
|
// 收到平台明确响应时允许重试;失败发生在「向平台申请面单」之前(如店管家查不到订单行、
|
||||||
meta.platformCallUncertain = !err.rawResponse;
|
// 模板校验失败)面单也不可能被消耗,同样允许重试。
|
||||||
|
// 只有真正的网络异常可能发生在平台已出号之后,必须先核实,避免重复消耗面单
|
||||||
|
meta.platformCallUncertain = !err.rawResponse && !err.waybillNotConsumed;
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
const waybill = normalizeWaybill(fetched);
|
const waybill = normalizeWaybill(fetched);
|
||||||
|
|||||||
@ -175,6 +175,67 @@ describe('printPlatform/dgj buildWaybillPrintFields', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('printPlatform/dgj fetchWaybillNo 失败标记', () => {
|
||||||
|
const platform = { code: 'dgj', name: '店管家', url: 'dgjapp.com' };
|
||||||
|
const account = { id: 1, account: 'acc', password: 'pwd', token: 'tk', cookie: 'ck' };
|
||||||
|
const order = { order_no: 'dgj-40000834686950', place_order_time: '2026-11-20 10:00:00' };
|
||||||
|
const template = { template_id: 'tpl-1', platform_type: 'taobao' };
|
||||||
|
|
||||||
|
function createService() {
|
||||||
|
const service = new DgjService({ platform, account: { ...account } });
|
||||||
|
service.resolveTraceId = async () => 'trace-1';
|
||||||
|
return service;
|
||||||
|
}
|
||||||
|
|
||||||
|
it('店管家查不到订单行时标记「未消耗面单」,允许后续重试', async () => {
|
||||||
|
const service = createService();
|
||||||
|
service.findPlatformOrderRow = async () => null;
|
||||||
|
service.listProductAreas = async () => [];
|
||||||
|
|
||||||
|
await assert.rejects(
|
||||||
|
service.fetchWaybillNo(order, { template }),
|
||||||
|
err => {
|
||||||
|
assert.match(err.message, /店管家未找到订单/);
|
||||||
|
assert.strictEqual(err.waybillNotConsumed, true);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('模板校验(只读接口)失败同样标记「未消耗面单」', async () => {
|
||||||
|
const service = createService();
|
||||||
|
service.findPlatformOrderRow = async () => ({ ErpState: 'waitsellersend' });
|
||||||
|
service.checkTemplateAvailable = async () => {
|
||||||
|
throw new Error('店管家模板校验失败:HTTP 500');
|
||||||
|
};
|
||||||
|
|
||||||
|
await assert.rejects(
|
||||||
|
service.fetchWaybillNo(order, { template }),
|
||||||
|
err => {
|
||||||
|
assert.strictEqual(err.waybillNotConsumed, true);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('取号接口网络异常不带标记:结果可能已出号,必须按待核实处理', async () => {
|
||||||
|
const service = createService();
|
||||||
|
service.findPlatformOrderRow = async () => ({ ErpState: 'waitsellersend' });
|
||||||
|
service.checkTemplateAvailable = async () => ({ Data: { Balance: 100, PrintCount: 1 } });
|
||||||
|
service.expressPrint = async () => {
|
||||||
|
throw new Error('fetch failed');
|
||||||
|
};
|
||||||
|
|
||||||
|
await assert.rejects(
|
||||||
|
service.fetchWaybillNo(order, { template }),
|
||||||
|
err => {
|
||||||
|
assert.strictEqual(err.waybillNotConsumed, undefined);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe('printPlatform/dgj resolveTraceId', () => {
|
describe('printPlatform/dgj resolveTraceId', () => {
|
||||||
const platform = { code: 'dgj', name: '店管家', url: 'dgjapp.com' };
|
const platform = { code: 'dgj', name: '店管家', url: 'dgjapp.com' };
|
||||||
const account = { id: 90123, token: 'tk-cache-test', cookie: 'ck' };
|
const account = { id: 90123, token: 'tk-cache-test', cookie: 'ck' };
|
||||||
|
|||||||
@ -9,11 +9,14 @@ const PRINCIPAL_ID = 5;
|
|||||||
const WAREHOUSE_ID = 8;
|
const WAREHOUSE_ID = 8;
|
||||||
const DELIVERY_ORDER_CODE = 'dgj-550598429043014280';
|
const DELIVERY_ORDER_CODE = 'dgj-550598429043014280';
|
||||||
|
|
||||||
function makeEntry(data) {
|
function makeEntry(data, list) {
|
||||||
const entry = {
|
const entry = {
|
||||||
...data,
|
...data,
|
||||||
update: async values => Object.assign(entry, values),
|
update: async values => Object.assign(entry, values),
|
||||||
destroy: async () => {},
|
destroy: async () => {
|
||||||
|
const index = Array.isArray(list) ? list.indexOf(entry) : -1;
|
||||||
|
if (index >= 0) list.splice(index, 1);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
@ -31,7 +34,7 @@ function setupContext({ entries = [], legacyRecord = null, waybillCode = 'WB-NEW
|
|||||||
[ 'principal_id', 'warehouse_id', 'delivery_order_code', 'express_code', 'package_index' ]
|
[ 'principal_id', 'warehouse_id', 'delivery_order_code', 'express_code', 'package_index' ]
|
||||||
.every(key => entry[key] === data[key]));
|
.every(key => entry[key] === data[key]));
|
||||||
if (duplicate) throw new Error('unique key conflict');
|
if (duplicate) throw new Error('unique key conflict');
|
||||||
const entry = makeEntry(data);
|
const entry = makeEntry(data, entries);
|
||||||
entries.push(entry);
|
entries.push(entry);
|
||||||
return entry;
|
return entry;
|
||||||
};
|
};
|
||||||
@ -246,6 +249,27 @@ describe('lib/waybillGet 订单级幂等', () => {
|
|||||||
assert.strictEqual(state.entries[0].status, 2);
|
assert.strictEqual(state.entries[0].status, 2);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('未消耗面单的明确失败(如店管家查不到订单)允许重试,不写待核实', async () => {
|
||||||
|
const fetchError = new Error('店管家未找到订单:系统编号 40000834686950(域名 fxdd.dgjapp.com,分区 -)');
|
||||||
|
fetchError.waybillNotConsumed = true;
|
||||||
|
const state = setupContext({ fetchError });
|
||||||
|
const payload = {
|
||||||
|
principalId: PRINCIPAL_ID,
|
||||||
|
warehouseId: WAREHOUSE_ID,
|
||||||
|
data: requestBody(requestItem()),
|
||||||
|
};
|
||||||
|
|
||||||
|
const first = await waybillGet.getWaybills(state.ctx, payload);
|
||||||
|
const second = await waybillGet.getWaybills(state.ctx, payload);
|
||||||
|
|
||||||
|
assert.strictEqual(first.data.results[0].success, false);
|
||||||
|
assert.match(first.data.results[0].message, /未找到订单/);
|
||||||
|
assert.doesNotMatch(first.data.results[0].message, /待核实|暂不确定/);
|
||||||
|
assert.match(second.data.results[0].message, /未找到订单/);
|
||||||
|
assert.strictEqual(state.platformCalls, 2);
|
||||||
|
assert.strictEqual(state.entries.length, 0);
|
||||||
|
});
|
||||||
|
|
||||||
it('首次命中旧取号记录时回填幂等结果,不再调用平台', async () => {
|
it('首次命中旧取号记录时回填幂等结果,不再调用平台', async () => {
|
||||||
const state = setupContext({
|
const state = setupContext({
|
||||||
legacyRecord: {
|
legacyRecord: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user