15 lines
316 B
TypeScript
Raw Permalink Normal View History

2023-01-12 22:55:40 +08:00
import { Context } from "koa";
2023-02-16 21:08:03 +08:00
import AutoPlanService from "../service/AutoPlanService";
2023-01-12 22:55:40 +08:00
const router = {};
/**
*
*/
2023-02-16 21:08:03 +08:00
router["POST /autoPlan/save"] = async function (ctx: Context) {
ctx.body = await AutoPlanService.saveAutoConfig(ctx.request.body);
2023-01-12 22:55:40 +08:00
};
export default router;