mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
Update qqwife plugin (#510)
This commit is contained in:
@@ -346,6 +346,7 @@ func (sql *婚姻登记) 开门时间(gid int64) error {
|
||||
// 如果跨天了就删除
|
||||
_ = sql.db.Drop("group" + strconv.FormatInt(gid, 10))
|
||||
// 更新数据时间
|
||||
grouInfo.GID = gid
|
||||
grouInfo.Updatetime = time.Now().Format("2006/01/02")
|
||||
return sql.db.Insert("updateinfo", &grouInfo)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user