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

        //结果
        $ret = $_SESSION[self::SUCCESS];

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

        //结果
        $ret = $_SESSION[self::SUCCESS];

        //销毁
        unset($_SESSION[self::SUCCESS]);
        return $ret;
    }
取出所有成功的消息
@return array