变更:VIP等级手续费精确小数后3位

This commit is contained in:
马丁 2026-04-08 22:54:49 +08:00
parent b0c8ce8c4f
commit fb74c20607
3 changed files with 5764 additions and 1 deletions

View File

@ -47,6 +47,7 @@
"eslint-plugin-oxlint": "~1.42.0",
"eslint-plugin-playwright": "^2.5.1",
"eslint-plugin-vue": "~10.7.0",
"fancy-canvas": "^2.1.0",
"jiti": "^2.6.1",
"jsdom": "^27.4.0",
"npm-run-all2": "^8.0.4",

5762
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -105,7 +105,7 @@ function resolveVipLevel(user: Record<string, unknown>): number {
*/
function formatTradingFee(rate: number): string {
if (!Number.isFinite(rate)) return '--'
return `${(rate / 10000).toFixed(2)}%`
return `${(rate / 10000).toFixed(3)}%`
}
/** 与接口 needDeposit / accumulated 同一套口径:大额按 USDC 6 位小数,否则按美元数值 */