feat: 发送养护订阅消息

This commit is contained in:
Blizzard
2026-02-11 08:58:26 +08:00
parent dd6a638982
commit 88aeb86296
7 changed files with 148 additions and 161 deletions
+2
View File
@@ -31,6 +31,8 @@ func TimeInterval(targetTime time.Time) string {
case totalMinutes >= 60: // 1小时 = 60分钟
hours := totalMinutes / 60
return fmt.Sprintf("%d小时前", hours)
case totalMinutes < 1:
return "刚刚"
default: // 不足1小时
return fmt.Sprintf("%d分钟前", totalMinutes)
}