liufumingren 561cd27f81 初始化
2026-07-25 00:46:47 +08:00

16 lines
395 B
JavaScript

const { Controller } = require('egg');
class homeController extends Controller {
async index() {
const { ctx } = this;
ctx.body = 1;
ctx.page = true;
}
async exportWmsMonthOrderFile(){
const { ctx } = this;
const parmas = ctx.request.body;
ctx.body = await ctx.service.home.exportWmsMonthOrderFile(parmas.month);
}
}
module.exports = homeController;