mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	fix: 删除机器、数据库时关联的标签未删除
This commit is contained in:
		@@ -59,7 +59,7 @@ func (m *MachineFile) SaveMachineFiles(rc *req.Ctx) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *MachineFile) DeleteFile(rc *req.Ctx) {
 | 
			
		||||
	biz.ErrIsNil(m.MachineFileApp.Delete(rc.MetaCtx, GetMachineFileId(rc.GinCtx)))
 | 
			
		||||
	biz.ErrIsNil(m.MachineFileApp.DeleteById(rc.MetaCtx, GetMachineFileId(rc.GinCtx)))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/***      sftp相关操作      */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user