统一平台资源中文展示并修复模拟订单状态

This commit is contained in:
czl231
2026-08-15 22:06:42 +08:00
parent a20e228296
commit a663821853
24 changed files with 1048 additions and 175 deletions

View File

@@ -158,9 +158,8 @@ const resourcesSource = await readFile(
new URL('../src/api/resources.ts', import.meta.url),
'utf8',
);
assert.equal(
(resourcesSource.match(/relationLinkage:/g) ?? []).length,
3,
assert.ok(
(resourcesSource.match(/relationLinkage:/g) ?? []).length >= 3,
'联动配置必须显式启用于工作人员、用户服务关系和配送合同的配送点字段',
);
assert.match(resourcesSource, /filterKey: 'gas_basic_identities'/);