We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
下面这里uids,应该是topic以及post的userid字段而非主键ID吧
//获取用户信息 // uids := []int64{f.topic.Id} // for _, post := range f.posts { // uids = append(uids, post.Id) // } uids := []int64{f.topic.UserId} for _, post := range f.posts { uids = append(uids, post.UserId) } userMap, err := repository.NewUserDaoInstance().MQueryUserById(uids) if err != nil { return err } f.userMap = userMap return nil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
下面这里uids,应该是topic以及post的userid字段而非主键ID吧
The text was updated successfully, but these errors were encountered: