Skip to content

Commit

Permalink
修改一个小问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy0411 authored Jan 19, 2025
1 parent bdf29b5 commit e88b500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niu/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (db *model) setNiuNiuAuction(gid int64, u *AuctionInfo) error {
defer db.Unlock()
err := db.sql.Insert(fmt.Sprintf("auction_%d", gid), u)
if err != nil {
err = db.sql.Create(fmt.Sprintf("auction_%d", gid), &userInfo{})
err = db.sql.Create(fmt.Sprintf("auction_%d", gid), &AuctionInfo{})
if err != nil {
return err
}
Expand Down

0 comments on commit e88b500

Please sign in to comment.