Skip to content

Commit

Permalink
🎨 格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
guohuiyuan committed May 22, 2024
1 parent e98c161 commit 68a075e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/chatcount/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ func (ctdb *chattimedb) updateChatTime(gid, uid int64) (todayTime int64, remindF
})
todayTime = (st.TodayTime + userChatTime) / 60
remindFlag = getLevel(int(st.TodayTime+userChatTime)/60) > getLevel(int(st.TodayTime/60))
}else{
} else {
db.Model(&ChatTime{}).Where("group_id = ? and user_id = ?", gid, uid).Update(
map[string]any{
"last_time": now,
"last_time": now,
})
}

Expand Down

0 comments on commit 68a075e

Please sign in to comment.