zhongzewei 7 年之前
父节点
当前提交
c2bacb2ea1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      modules/pm/models/project_model.js

+ 4 - 0
modules/pm/models/project_model.js

@@ -283,6 +283,10 @@ ProjectsDAO.prototype.copyUserProjects = function (userId, datas, callback) {
 
 
 ProjectsDAO.prototype.rename = async function (userId, compilationId, data, callback){
 ProjectsDAO.prototype.rename = async function (userId, compilationId, data, callback){
     try {
     try {
+        console.log("------------------------------------");
+        console.log(userId) ;
+        console.log("------------------------------------");
+        console.log(compilationId) ;
         if (data.id === undefined || data.id === '') {
         if (data.id === undefined || data.id === '') {
             throw '数据错误!';
             throw '数据错误!';
         }
         }