diff --git a/webapp/services/MailApiService.php b/webapp/services/MailApiService.php index ca557116..b7c2e2b9 100644 --- a/webapp/services/MailApiService.php +++ b/webapp/services/MailApiService.php @@ -4,12 +4,34 @@ namespace services; class MailApiService extends BaseService { - public function sendSellMail($to) + /* + to:邮件接受方account_id + content: 邮件正文 + attachments: 邮件附件 + [ + { + "item_id": 0, //道具id + "item_num": 0, //道具数量 + } + ] + */ + public function sendSellMail($to, $content, $attachments) { } - public function sendBuyMail($to) + /* + to:邮件接受方account_id + content: 邮件正文 + attachments: 邮件附件 + [ + { + "item_id": 0, //道具id + "item_num": 0, //道具数量 + } + ] + */ + public function sendBuyMail($to, $content, $attachments) { }