diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index 422ef38..da01436 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -85,18 +85,18 @@ class KefuController { } $params = array( 'to' => $accountid, - 'game_id' => phpcommon\extractGameId($accountid), + 'gameid' => phpcommon\extractGameId($accountid), 'from' => '客服', - 'mail_type' => 1, - 'mail_subtype' => 0, + 'mailtype' => 1, + 'mailsubtype' => 0, 'subject' => '领奖', 'content' => '领取奖励', 'sendtime' => time(), 'ext' => '', - 'expire_time' => time() + 3600 * 24, + 'expiretime' => time() + 3600 * 24, 'attachments' => $this->translateAttachments($config) ); - $params['c'] = 'Mail'; + $params['c'] = 'MailMgr'; $params['a'] = 'sendMail'; $params['timestamp'] = time(); $params['sign'] = phpcommon\md5Sign($params, '14e1b600b1fd579f47433b88e8d85291', $params['timestamp']);