refactor: 移除 calculateDailyNav API 定义

This commit is contained in:
claw_bot 2026-03-15 14:45:27 +00:00
parent 97149ca59e
commit 91e47772c7

View File

@ -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`);
}
},