// P92-3:从 node 抓 /ops 并提取按钮→接口的调用方式(不依赖 SSH) const GW = 'http://106.120.102.238:28084' const r = await fetch(GW + '/ops') const h = await r.text() console.log('OPS ' + r.status + ' ' + h.length + ' B') const i = h.indexOf('= 0 ? h.slice(i) : h const keys = ['b_rebuild', 'b_off', 'b_start', 'b_stop', 'b_restart', 'function post', 'const post', '/ops/api', 'fetch('] for (const line of seg.split('\n')) { const s = line.trim() if (keys.some((k) => s.includes(k))) console.log(' ' + s.slice(0, 220)) }