()
| 888 | } |
| 889 | |
| 890 | async function loadLatestPush() { |
| 891 | const userId = ensureUser(); |
| 892 | setStatus("加载最新推送", true); |
| 893 | const data = await api(`/api/latest-push?user_id=${encodeURIComponent(userId)}`); |
| 894 | renderPush(data.push); |
| 895 | setStatus("最新推送已加载"); |
| 896 | } |
| 897 | |
| 898 | function stopDailyTaskPolling() { |
| 899 | if (state.dailyTaskPollId) { |
no test coverage detected