Fix a fatal bug.

This commit is contained in:
zicla
2018-07-06 16:35:08 +08:00
parent fbb388badc
commit a7f2d852af

View File

@ -326,7 +326,7 @@ func (this *AlienController) Download(writer http.ResponseWriter, request *http.
}
//下载之后立即过期掉。
downloadToken.ExpireTime = time.Now()
downloadToken.ExpireTime = time.Now().AddDate(0, 0, 1);
this.downloadTokenDao.Save(downloadToken)
} else {