Skip to content

Commit 68a075e

Browse files
committed
🎨 格式化
1 parent e98c161 commit 68a075e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/chatcount/model.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ func (ctdb *chattimedb) updateChatTime(gid, uid int64) (todayTime int64, remindF
9494
})
9595
todayTime = (st.TodayTime + userChatTime) / 60
9696
remindFlag = getLevel(int(st.TodayTime+userChatTime)/60) > getLevel(int(st.TodayTime/60))
97-
}else{
97+
} else {
9898
db.Model(&ChatTime{}).Where("group_id = ? and user_id = ?", gid, uid).Update(
9999
map[string]any{
100-
"last_time": now,
100+
"last_time": now,
101101
})
102102
}
103103

0 commit comments

Comments
 (0)