Ready to refix the volume things.

This commit is contained in:
zicla
2018-01-29 21:06:59 +08:00
parent dcf78ad6ef
commit 15a70aeadb
7 changed files with 62 additions and 35 deletions

View File

@ -226,7 +226,7 @@ func (this *MatterDao) Delete(matter *Matter) {
this.PanicError(db.Error)
//删除文件
err := os.Remove(GetFilePath() + matter.Path)
err := os.Remove(CONFIG.MatterPath + matter.Path)
LogError(fmt.Sprintf("删除磁盘上的文件出错,不做任何处理"))