2021-06-27 21:00:24 +08:00
|
|
|
import { Context } from "koa";
|
|
|
|
|
|
|
|
const router = {};
|
|
|
|
|
|
|
|
router["GET /plan"] = async function (ctx: Context) {
|
|
|
|
ctx.body = "asdfasd";
|
|
|
|
};
|
|
|
|
|
|
|
|
router["PUT /plan"] = async function (ctx: Context) {
|
|
|
|
ctx.body = "asdfasdf";
|
|
|
|
};
|
|
|
|
|
|
|
|
router["DELETE /plan/:planId"] = async function (ctx: Context) {
|
|
|
|
ctx.body = "";
|
|
|
|
}
|
|
|
|
|
|
|
|
export default router;
|