diff --git a/webapp/controller/MailController.class.php b/webapp/controller/MailController.class.php index 7b9934a9..df06b363 100644 --- a/webapp/controller/MailController.class.php +++ b/webapp/controller/MailController.class.php @@ -118,11 +118,7 @@ class MailController extends BaseAuthedController { private static function getMailServerUrl() { - if (SERVER_ENV != _ONLINE) { - return "https://gamemail-test.kingsome.cn/webapp/index.php"; - } else { - return "https://gamemail-test.cebggame.com/webapp/index.php"; - } + return MAIL_URL; } }