diff --git a/internal/api/mobile/order/success.go b/internal/api/mobile/order/success.go index 65350f7..6d35700 100755 --- a/internal/api/mobile/order/success.go +++ b/internal/api/mobile/order/success.go @@ -200,7 +200,7 @@ func ConfirmOrderTradeSuc(orderInfo *order.Information, clientIP ...string) erro } if userInfo.Level == 0 && orderInfo.SharerID != orderInfo.UserID { var s1 user.Information - if e := tx.First(&s1, "user_id = ?", orderInfo.SharerID).Error; e != nil { + if e := tx.First(&s1, "id = ?", orderInfo.SharerID).Error; e != nil { return e } if s1.Level == 2 {