/** * 获取当前运行程序的域名网址 * * @access public * @return string */ public static function getServerName() { return Request::serverName(); }