渲染时，无法得到根目录下子目录中的文件并且无法渲染html后缀文件
问题1：无法得到根目录下子目录中的文件
目录结构
```
—views
  ┴auth.art
```
调用代码
```
app.set('view options', {
    rule: rule,
    root: process.cwd() + '/views/',
    debug: true,
});

res.render('auth', {title: '测试标题'});
```
但是如果目录结构改变一下
```
—views
  ┴layout
      ┴auth.art
```
调用代码
```
app.set('view options', {
    rule: rule,
    root: process.cwd() + '/views/',
    debug: true,
});

res.render('layout/auth', {title: '测试标题'});
res.render('/layout/auth', {title: '测试标题'});
res.render('layout.auth', {title: '测试标题'});
//三者均无法使用，前两者错误均为
Failed to lookup view "layout/auth" in views directory "/root/views"
    at Function.render (/root/node_modules/express/lib/application.js:580:17)
    at ServerResponse.render (/root/node_modules/express/lib/response.js:971:7)
    at /root/core/http/route.js:51:9
//第三者错误为
Error: Cannot find module 'auth'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at new View (/root/node_modules/express/lib/view.js:80:30)
```

问题2：无法渲染html后缀文件
调用代码
```
app.set('view options', {
    rule: rule,
    root: process.cwd() + '/views/',
    debug: true,
    extname: '.html'
});

res.render('auth', {title: '测试标题'});
//不管html文件在哪个目录，总之就是无法指定html后缀，如果加上html后缀就会有下面报错
//如果不加后缀，那么会报错找不到auth 文件，根据错误分析应该是没有自动添加后缀
```
错误为
```
Cannot find module 'html'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
```


