diff --git a/http/controller/api/peer.go b/http/controller/api/peer.go index 7c569ca..d47613b 100644 --- a/http/controller/api/peer.go +++ b/http/controller/api/peer.go @@ -30,7 +30,7 @@ func (p *Peer) SysInfo(c *gin.Context) { return } fpe := f.ToPeer() - pe := service.AllService.PeerService.FindById(f.Id) + pe := service.AllService.PeerService.FindByUuid(f.Uuid) if pe.RowId == 0 { pe = f.ToPeer() pe.UserId = service.AllService.UserService.FindLatestUserIdFromLoginLogByUuid(pe.Uuid)