fix: 备份数据输出路径变更

This commit is contained in:
TsMask
2025-03-18 19:29:58 +08:00
parent db64dd8ce9
commit f767e14bf1
4 changed files with 6 additions and 6 deletions

View File

@@ -100,7 +100,7 @@ func (r *NeLicense) FindByNeTypeAndNeID(neType, neId string) model.NeLicense {
func (r *NeLicense) ReadLicenseInfo(neLicense model.NeLicense) (string, string) {
neTypeLower := strings.ToLower(neLicense.NeType)
// 网管本地路径
omcPath := "/usr/local/etc/omc/ne_license"
omcPath := "/usr/local/omc/backup/ne_license"
if runtime.GOOS == "windows" {
omcPath = fmt.Sprintf("C:%s", omcPath)
}