fix: 文件主目录修改

This commit is contained in:
zhengkunwang223 2022-12-22 10:39:26 +08:00 committed by zhengkunwang223
parent 777e175f5f
commit 6cf654b5a1

View File

@ -74,7 +74,7 @@ func (a AppInstallService) CheckExist(key string) (*response.AppInstalledCheck,
res.Status = appInstall.Status
res.AppInstallID = appInstall.ID
res.IsExist = true
res.InstallPath = path.Join(constant.AppInstallDir, appInstall.Name)
res.InstallPath = path.Join(constant.AppInstallDir, app.Key, appInstall.Name)
if len(appInstall.Backups) > 0 {
res.LastBackupAt = appInstall.Backups[0].CreatedAt.Format("2006-01-02 15:04:05")
}