From 91e47772c7f15788c4d395bc8f9a63dbf09ee4f1 Mon Sep 17 00:00:00 2001 From: claw_bot Date: Sun, 15 Mar 2026 14:45:27 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=20calculateDaily?= =?UTF-8?q?Nav=20API=20=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/api.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/utils/api.js b/utils/api.js index 266d143..6d60ede 100755 --- a/utils/api.js +++ b/utils/api.js @@ -381,15 +381,6 @@ export const api = { backfillNavHistory: (id, force = false) => { console.log('📤 发起 backfillNavHistory 请求:', id, { force }); return post(`/api/v1/portfolio/${id}/nav-history/backfill`, {}, { force }); - }, - /** - * 计算投资组合当日净值 - * @param {string|number} id - 投资组合ID - * @returns {Promise} 返回计算结果 - */ - calculateDailyNav: (id) => { - console.log('📤 发起 calculateDailyNav 请求:', id); - return post(`/api/v1/portfolio/${id}/nav-history/calculate`); } },