mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
chore: make lint happy
This commit is contained in:
@@ -96,12 +96,12 @@ func GetFilledTimer(dateStrs []string, botqq, grp int64, matchDateOnly bool) *Ti
|
||||
if len(minuteStr) == 3 {
|
||||
minuteStr = []rune{minuteStr[0], minuteStr[2]} // 去除中间的十
|
||||
}
|
||||
min := chineseNum2Int(minuteStr)
|
||||
if min < -1 || min > 59 { // 分钟非法
|
||||
minute := chineseNum2Int(minuteStr)
|
||||
if minute < -1 || minute > 59 { // 分钟非法
|
||||
t.Alert = "分钟非法!"
|
||||
return &t
|
||||
}
|
||||
t.SetMinute(min)
|
||||
t.SetMinute(minute)
|
||||
if !matchDateOnly {
|
||||
urlStr := dateStrs[5]
|
||||
if urlStr != "" { // 是图片url
|
||||
|
||||
Reference in New Issue
Block a user