Commit e9cb1284 authored by 吴春's avatar 吴春

提交代码

parent 66be30f9
......@@ -49,6 +49,10 @@ namespace Edu.WebApi.Controllers.EduTask
MoveType = base.ParmJObj.GetInt("MoveType"),
Remarks = base.ParmJObj.GetStringValue("Remarks")
};
if (model.ClassId == 0)
{
return ApiResult.Failed("请选择班级");
}
var classModel = classModule.GetClassModule(model.ClassId);
string receiptFile = string.Empty;
try
......@@ -58,7 +62,8 @@ namespace Edu.WebApi.Controllers.EduTask
//{
// return ApiResult.Failed("附件必须上传");
//}
//else {
//else
//{
// receiptFile = JsonHelper.Serialize(receiptFileList);
//}
if (model.MoveType == 1)
......
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