const { Controller } = require('egg'); class DingdanController extends Controller { async index() { const { ctx } = this; ctx.body = await ctx.service.dingdan.index(ctx.request.body) } } module.exports = DingdanController;