feat: 加仓自动获取费率数据

This commit is contained in:
hzm
2026-03-17 15:41:19 +08:00
parent 104a847d2a
commit b489677d3e
4 changed files with 182 additions and 67 deletions

View File

@@ -720,7 +720,7 @@ const snapshotPingzhongdataGlobals = (fundCode) => {
};
};
const jsonpLoadPingzhongdata = (fundCode, timeoutMs = 10000) => {
const jsonpLoadPingzhongdata = (fundCode, timeoutMs = 20000) => {
return new Promise((resolve, reject) => {
if (typeof document === 'undefined' || !document.body) {
reject(new Error('无浏览器环境'));