MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / testAllChannels

Function testAllChannels

web/src/components/table/ChannelsTable.js:1482–1490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1480 };
1481
1482 const testAllChannels = async () => {
1483 const res = await API.get(`/api/channel/test`);
1484 const { success, message } = res.data;
1485 if (success) {
1486 showInfo(t('已成功开始测试所有已启用通道,请刷新页面查看结果。'));
1487 } else {
1488 showError(message);
1489 }
1490 };
1491
1492 const deleteAllDisabledChannels = async () => {
1493 const res = await API.delete(`/api/channel/disabled`);

Callers 1

ChannelsTable.jsFile · 0.70

Calls 3

showInfoFunction · 0.90
showErrorFunction · 0.90
tFunction · 0.70

Tested by

no test coverage detected