| 1234567891011121314 |
- const express = require("express");
- const router = express.Router();
- const CodeworkStatisticSerializer = require("../../serializers/statistics/CodeworkStatisticSerializer");
- // 获取关于某次代码作业的全部统计信息
- router.route("/code/:codeworkId/process").get((req, res) => {
- const codeworkId = req.params.codeworkId;
- res.send({
- code: 123,
- data: CodeworkStatisticSerializer({ codeworkId: codeworkId })
- });
- });
- module.exports = router;
|