You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /*
- * @Description: 资源模块控制器
- * @Author: hai-27
- * @Date: 2020-02-07 16:51:56
- * @LastEditors: hai-27
- * @LastEditTime: 2020-02-27 14:33:10
- */
- const resourcesDao = require('../models/dao/resourcesDao');
- module.exports = {
- /**
- * 获取轮播图数据
- * @param {Object} ctx
- */
- Carousel: async ctx => {
- let carousel = await resourcesDao.Carousel();
- ctx.body = {
- code: '001',
- carousel
- }
- }
- }
|