chore(lint): 改进代码样式 (#982)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-09-27 14:51:57 +09:00
committed by GitHub
parent 6f7d4beb17
commit 54471d16e4
2 changed files with 0 additions and 8 deletions

View File

@@ -320,7 +320,6 @@ func init() {
}
// 添加数据进入表
if err := db.insertNiuNiu(&u, gid); err != nil {
if err = db.createGIDTable(gid); err != nil {
ctx.SendChain(message.Text("ERROR:", err))
return
@@ -330,7 +329,6 @@ func init() {
ctx.SendChain(message.Text("ERROR:", err))
return
}
}
ctx.SendChain(message.At(uid),
message.Text("注册成功,你的牛牛现在有", u.Length, "cm"))
@@ -433,7 +431,6 @@ func init() {
}
}
}
})
en.OnFullMatch("注销牛牛", getdb, zero.OnlyGroup).SetBlock(true).Handle(func(ctx *zero.Ctx) {
uid := ctx.Event.UserID