Refine the codes for tank.

This commit is contained in:
zicla
2019-04-24 21:02:27 +08:00
parent ead88d05f4
commit 960c82ec36

View File

@ -72,6 +72,7 @@ func (this *MatterService) Delete(matter *Matter) {
} }
//操作锁 //操作锁
this.userService.MatterLock(matter.UserUuid) this.userService.MatterLock(matter.UserUuid)
defer this.userService.MatterUnlock(matter.UserUuid) defer this.userService.MatterUnlock(matter.UserUuid)