Skip to content

修复issue所提到的bug,重置niuniu数据库 #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

xyy0411
Copy link
Contributor

@xyy0411 xyy0411 commented Jun 27, 2025

}

// DeleteWordNiuNiu ...
func DeleteWordNiuNiu(gid, uid int64) error {
globalLock.Lock()
defer globalLock.Unlock()
return db.deleteWordNiuNiu(gid, uid)
if err := ensureUserInfoTable[userInfo](gid, ur); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

既然这个是在调用具体操作前必须执行的,建议直接放在具体操作里,如本处直接放在deleteUserByID里。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants