protected function getShortName($class, $type)
    {
        // 获取类名中,类型之后的半段
        // 如Miaoxing\User\Controller\Admins\User返回Admin\User
        $name = explode('\\' . $type . '\\', $class, 2)[1];

        // 将名称转换为小写
        $pos = strrpos($name, '\\');
        $pos = $pos === false ? 0 : $pos + 1;
        $name[$pos] = lcfirst($name[$pos]);
        $name = lcfirst($name);

        return $name;
    }