Commit 23f0526c authored by liudong1993's avatar liudong1993

上传之后 删除临时文件

parent effba746
......@@ -144,6 +144,9 @@ namespace Mall.Education.RabbitMQ
Sort = i,
Path = FileDirectory + "/" + newName
});
//上传之后 删除本地临时文件
File.Delete(tempDir + "/" + newName);
}
}
else if (GoodsModel.PathType == 2) {
......@@ -159,6 +162,9 @@ namespace Mall.Education.RabbitMQ
Sort = i,
Path = FileDirectory + "/" + newName
});
//上传之后 删除本地临时文件
File.Delete(tempDir + "/" + newName);
}
}
......
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