为 koa 注入 this.render 方法用于模板渲染服务
        
        
            
    Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| opt | object | 启动参数对象 Properties
 | 
- Source:
Members
(inner, constant) defaultSettings
    ejs默认配置,可以传入修改
    Properties:
| Name | Type | Description | 
|---|---|---|
| viewExt | string | 模板后缀,默认为 '.html' | 
| cache | boolean | 缓存,默认为 true | 
| delimiter | string | 分隔符,默认为 '%' | 
- Source:
Methods
(static) render(view, content) → {String}
    this.render 渲染方法
    Parameters:
| Name | Type | Description | 
|---|---|---|
| view | String | 模板路径 | 
| content | Object | 渲染内容数据 | 
- Source:
Returns:
    html
- Type
- String