refactor: 移除 calculateDailyNav API 定义
This commit is contained in:
parent
97149ca59e
commit
91e47772c7
@ -381,15 +381,6 @@ export const api = {
|
|||||||
backfillNavHistory: (id, force = false) => {
|
backfillNavHistory: (id, force = false) => {
|
||||||
console.log('📤 发起 backfillNavHistory 请求:', id, { force });
|
console.log('📤 发起 backfillNavHistory 请求:', id, { force });
|
||||||
return post(`/api/v1/portfolio/${id}/nav-history/backfill`, {}, { 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`);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user