Commit c539f4ee authored by 吴春's avatar 吴春

Merge branch 'master' of http://gitlab.oytour.com/Kui2/education

parents 1627bc0a 37d1081f
......@@ -72,12 +72,12 @@ namespace Edu.WebApi.Controllers.Upload
}
//导入Excel文件
if (Analysis == 1 && Excel == 1 && CourseId > 0)
if (Analysis == 1 && Excel == 1)
{
return new QuestionController().ImportExcelQuestion(path_server, CourseId, Uid);
}
//导入Word文件
if (Analysis == 1 && Word == 1 && CourseId > 0)
if (Analysis == 1 && Word == 1 )
{
return new QuestionController().ImportWordQuestion(path_server, CourseId, Uid);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment