diff --git a/server/controllers/project.js b/server/controllers/project.js index 5ddb31ce..0f729184 100644 --- a/server/controllers/project.js +++ b/server/controllers/project.js @@ -2,6 +2,8 @@ import projectModel from '../models/project.js'; import yapi from '../yapi.js'; import baseController from './base.js'; import interfaceModel from '../models/interface.js'; +import interfaceColModel from '../models/interfaceCol.js'; +import interfaceCaseModel from '../models/interfaceCase.js'; import groupModel from '../models/group'; import commons from '../utils/commons.js'; import userModel from '../models/user.js'; diff --git a/server_dist/controllers/project.js b/server_dist/controllers/project.js index ea175d81..862269b5 100644 --- a/server_dist/controllers/project.js +++ b/server_dist/controllers/project.js @@ -48,6 +48,14 @@ var _interface = require('../models/interface.js'); var _interface2 = _interopRequireDefault(_interface); +var _interfaceCol = require('../models/interfaceCol.js'); + +var _interfaceCol2 = _interopRequireDefault(_interfaceCol); + +var _interfaceCase = require('../models/interfaceCase.js'); + +var _interfaceCase2 = _interopRequireDefault(_interfaceCase); + var _group = require('../models/group'); var _group2 = _interopRequireDefault(_group); @@ -812,8 +820,8 @@ var projectController = function (_baseController) { case 9: interfaceInst = _yapi2.default.getInst(_interface2.default); - interfaceColInst = _yapi2.default.getInst(interfaceColModel); - interfaceCaseInst = _yapi2.default.getInst(interfaceCaseModel); + interfaceColInst = _yapi2.default.getInst(_interfaceCol2.default); + interfaceCaseInst = _yapi2.default.getInst(_interfaceCase2.default); _context8.next = 14; return interfaceInst.delByProjectId(_id);