MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / handleBatchRefresh

Function handleBatchRefresh

static/js/accounts.js:1500–1508  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1498
1499// 批量刷新Token
1500async function handleBatchRefresh() {
1501 const count = getEffectiveCount();
1502 if (count === 0 || isBatchRefreshing) return;
1503
1504 const confirmed = await confirm(`确定要刷新选中的 ${count} 个账号的Token吗?`);
1505 if (!confirmed) return;
1506
1507 await runBatchRefreshTask(buildBatchPayload(), count, '批量刷新');
1508}
1509
1510// 批量验证Token
1511async function handleBatchValidate() {

Callers

nothing calls this directly

Calls 4

getEffectiveCountFunction · 0.85
confirmFunction · 0.85
runBatchRefreshTaskFunction · 0.85
buildBatchPayloadFunction · 0.85

Tested by

no test coverage detected