async function verifyCard(accountId, instrumentId, btn){ const acc=(cache.accounts||[]).find(a=>a && Number(a.id)===Number(accountId))||{}; const proxy=String(acc.effective_proxy||acc.proxy||'').trim(); if(!proxy) return fail('无法验证','这个账号没有代理,请先设置代理再验证'); applyBtnBusy(btn, '验证中'); const j=await api('/api/accounts/'+accountId+'/instruments',{method:'POST',body:JSON.stringify({instrument_id:Number(instrumentId), verify:true, proxy})}); if(j.error){ unmarkBtnBusy('', btn); return fail('无法验证', j.error); } watchVerifyButton(btn, j.job_id); }