Refine the codes for tank.

This commit is contained in:
zicla
2019-04-24 21:00:32 +08:00
parent d0fb55318f
commit ead88d05f4
3 changed files with 187 additions and 169 deletions

View File

@ -307,7 +307,7 @@ func (this *MatterController) Delete(writer http.ResponseWriter, request *http.R
this.PanicUnauthorized("没有权限")
}
this.matterDao.Delete(matter)
this.matterService.Delete(matter)
return this.Success("删除成功!")
}
@ -338,7 +338,7 @@ func (this *MatterController) DeleteBatch(writer http.ResponseWriter, request *h
this.PanicUnauthorized("没有权限")
}
this.matterDao.Delete(matter)
this.matterService.Delete(matter)
}