|  |  | 
 |  |  |                 
 | 
 |  |  |                 # 仙盟拍品收益邮件
 | 
 |  |  |                 detail = {"ItemGUID":itemGUID, "ItemID":itemID, "Count":itemCount, "BidderPrice":bidderPrice, "FamilyPlayerIDList":familyPlayerIDList}
 | 
 |  |  |                 paramList = [itemID, auctionItem.BidderName, bidderPrice, taxRate, giveGoldAverage, personMaxRate]
 | 
 |  |  |                 paramList = [itemID, itemID, auctionItem.BidderName, bidderPrice, taxRate, giveGoldAverage, personMaxRate]
 | 
 |  |  |                 PlayerCompensation.SendMailByKey("PaimaiMail6", familyPlayerIDList, [], paramList, gold=giveGoldAverage, 
 | 
 |  |  |                                                  detail=detail, moneySource=ChConfig.Def_GiveMoney_AuctionGain)
 | 
 |  |  |                 
 | 
 |  |  | 
 |  |  |                 
 | 
 |  |  |                 # 个人拍卖收益邮件
 | 
 |  |  |                 detail = {"ItemGUID":itemGUID, "ItemID":itemID, "Count":itemCount, "BidderPrice":bidderPrice}
 | 
 |  |  |                 paramList = [itemID, auctionItem.BidderName, bidderPrice, taxRate, givePlayerGold]
 | 
 |  |  |                 paramList = [itemID, itemID, auctionItem.BidderName, bidderPrice, taxRate, givePlayerGold]
 | 
 |  |  |                 PlayerCompensation.SendMailByKey("PaimaiMail5", [playerID], [], paramList, gold=givePlayerGold, 
 | 
 |  |  |                                                  detail=detail, moneySource=ChConfig.Def_GiveMoney_AuctionGain)
 | 
 |  |  |                 
 | 
 |  |  | 
 |  |  |         detail = {"ItemID":itemID, "ItemGUID":itemGUID, "Count":itemCount}
 | 
 |  |  |         if isBuyout:
 | 
 |  |  |             # 竞拍失败,仅通知
 | 
 |  |  |             paramList = [itemID, lastBidderPrice]
 | 
 |  |  |             paramList = [itemID, itemID, lastBidderPrice]
 | 
 |  |  |             PlayerCompensation.SendMailByKey("PaimaiMail2", [lastBidderID], [], paramList, gold=lastBidderPrice, 
 | 
 |  |  |                                              detail=detail, moneySource=ChConfig.Def_GiveMoney_AuctionBidReturn)
 | 
 |  |  |         else:
 | 
 |  |  |             # 竞拍失败,可继续竞价邮件
 | 
 |  |  |             paramList = [itemID, lastBidderPrice, itemGUID]
 | 
 |  |  |             paramList = [itemID, itemID, lastBidderPrice, itemGUID]
 | 
 |  |  |             PlayerCompensation.SendMailByKey("PaimaiMail1", [lastBidderID], [], paramList, gold=lastBidderPrice, 
 | 
 |  |  |                                              detail=detail, moneySource=ChConfig.Def_GiveMoney_AuctionBidReturn)
 | 
 |  |  |         AddAuctionRecord(auctionItem, AuctionRecordResult_BidFail)
 |