@ -196,7 +196,7 @@ func ConfirmOrderTradeSuc(orderInfo *order.Information, clientIP ...string) erro
}
if userInfo.Level == 0 && orderInfo.SharerID != 0 {
if userInfo.Level == 0 && orderInfo.SharerID != orderInfo.UserID {
var s1 user.Information
if e := tx.First(&s1, "user_id = ?", orderInfo.SharerID).Error; e != nil {
return e