const makeId = require("../../util/makeId"); /** * @description 代码作业镜像的基本信息 * @typedef {Object} MirrorSerializerType * @property {number | string} id 镜像id * @property {string} gitUrl 仓库地址 * @property {string} downloadUrl 镜像下载地址 */ /** * @description 生成代码作业镜像的基本信息 * @returns {MirrorSerializerType} */ module.exports = () => { return { id: makeId(), gitUrl: "http://47.100.18.120:3000/SEEC-II-DOC/API-DOC", downloadUrl: "http://47.100.18.120:3000/SEEC-II-DOC/API-DOC" }; };