Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- /*
- * @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
- }
- }
- }
|