'html', // 视图输出字符串内容替换 'tpl_replace_string' => [ '__PUBLIC_PATH__' => '/', //public 目录 '__ADMIN_PATH__' => '/static/admin/', //全局静态目录 ] ];