作者 yangfu

auth

... ... @@ -434,7 +434,7 @@ func Revoke(header *protocol.RequestHeader, request *protocol.RevokeRequest) (rs
updateMap = make(map[string]interface{})
)
//rsp =&protocol.RevokeResponse{}
if userAuth, err = models.GetUserAuthByUserId(header.Uid, header.DeviceType); err != nil {
if userAuth, err = models.GetUserAuthByUserId(header.Uid, protocol.DeviceType); err != nil {
log.Error(err)
return
}
... ...