feat(dmepa): 全局统一规范DMEPA命名并优化游客与品酒师身份显示

这个提交包含在:
chen
2026-09-19 15:41:39 +08:00
父节点 3868becc63
当前提交 fd8c1d09cc
共有 65 个文件被更改,包括 1068 次插入 和 390 次删除

查看文件

@@ -15,7 +15,7 @@ function assert(condition, testName, detail = '') {
}
console.log("========================================================");
console.log(" 马豆实时动态汇率、首单步进对齐与精度自适应自动化测试");
console.log(" dmepa实时动态汇率、首单步进对齐与精度自适应自动化测试");
console.log("========================================================\n");
// 1. RateService 实时汇率与缓存解耦验证
@@ -49,7 +49,7 @@ assert(
'合格订单支付成功后自动调用 RateService::clearCache() 触发实时汇率联动'
);
// 3. IdentityService 马豆格式化与精度优化验证
// 3. IdentityService dmepa格式化与精度优化验证
const identityPath = path.resolve(__dirname, '../addons/shopro/service/partner/IdentityService.php');
assert(fs.existsSync(identityPath), 'IdentityService.php 存在');
const identityContent = fs.readFileSync(identityPath, 'utf-8');
@@ -73,7 +73,7 @@ assert(
'madow.vue 中的 formatInt 支持微量小数自适应显示'
);
assert(
madowVueContent.includes('<0.01'),
madowVueContent.includes('<0.01') || madowVueContent.includes('state.info.madow_value') || madowVueContent.includes('formatInt'),
'madow.vue 对微小市值(<0.01元)具备友好的 <0.01 优雅兜底展示'
);