This commit is contained in:
@@ -415,7 +415,9 @@ func (a *App) handleTG(t TelegramSettings, chat int64, text string) {
|
||||
return
|
||||
}
|
||||
if text == "立即刷新" || text == "/refresh" {
|
||||
a.syncAll(context.Background())
|
||||
go a.syncAll(a.ctx)
|
||||
_ = tgSend(t, "🔄 <b>刷新请求已提交</b>\n\n如果已有刷新正在执行,将复用该轮结果;稍后可再次查询当前用量。")
|
||||
return
|
||||
}
|
||||
msg := ""
|
||||
a.mu.RLock()
|
||||
|
||||
Reference in New Issue
Block a user