12345678910111213141516171819202122232425 |
- 'use strict';
- /**
- * 指标模板控制器
- *
- * @author Mai
- * @data 2018/4/19
- * @version
- */
- module.exports = app => {
- class TemplateController extends app.BaseController {
- /**
- * 指标模板页面
- *
- * @param {object} ctx - egg全局context
- * @return {void}
- */
- async index (ctx) {
- await this.layout('template/index.ejs', {}, 'template/modal.ejs');
- }
- }
- return TemplateController;
- }
|