Finish the delete and sync by physics.

This commit is contained in:
lishuang
2020-07-11 19:56:13 +08:00
parent f16d48b432
commit 7fe673068b
5 changed files with 165 additions and 10 deletions

View File

@ -444,7 +444,8 @@ func (this *UserController) Scan(writer http.ResponseWriter, request *http.Reque
uuid := request.FormValue("uuid")
currentUser := this.userDao.CheckByUuid(uuid)
this.matterService.Scan(currentUser)
this.matterService.DeleteByPhysics(request, currentUser)
this.matterService.ScanPhysics(request, currentUser)
return this.Success("OK")
}