| | |
| | |
|
| | | def SendPersonalItemMailBatch(batchMailInfoList):
|
| | | ## 批量发送邮件
|
| | | mailTypeKey, batchPlayerIDList, batchAddItemList, batchParamList, batchGold, batchGoldPaper, batchSilver, batchDetail, moneySource = batchMailInfoList
|
| | | mailTypeKey, batchPlayerIDList, batchAddItemList, batchParamList, batchGold, batchGoldPaper, batchSilver, batchDetail, moneySource, crossMail = batchMailInfoList
|
| | |
|
| | | lenPlayerID = len(batchPlayerIDList)
|
| | | lenItem = len(batchAddItemList)
|
| | |
| | | silver = batchSilver[i] if lenSilver == lenPlayerID else 0
|
| | | detail = batchDetail[i] if lenDetail == lenPlayerID else ""
|
| | | content = "<MailTemplate>%s</MailTemplate>%s" % (mailTypeKey, str(paramList))
|
| | | SendPersonalItemMail(title, content, limitTime, playerIDList, addItemList, gold, goldPaper, silver, detail=detail, moneySource=moneySource)
|
| | | SendPersonalItemMail(title, content, limitTime, playerIDList, addItemList, gold, goldPaper, silver, detail=detail, moneySource=moneySource, crossMail=crossMail)
|
| | |
|
| | | return
|
| | |
|