src/Message.php
static public function getInfos(): array
    {
        //空
        if (!isset($_SESSION[self::INFORMATION])) {
            return [];
        }

        $ret = $_SESSION[self::INFORMATION];

        //销毁
        unset($_SESSION[self::INFORMATION]);
        return $ret;
    }
static public function getInfos(): array
    {
        //空
        if (!isset($_SESSION[self::INFORMATION])) {
            return [];
        }

        $ret = $_SESSION[self::INFORMATION];

        //销毁
        unset($_SESSION[self::INFORMATION]);
        return $ret;
    }
取出所有提示消息
@return array