...
|
...
|
@@ -181,7 +181,7 @@ func UpdateDevice(header *protocol.RequestHeader, request *protocol.UpdateDevice |
|
|
userAuth *models.UserAuth
|
|
|
updateMap = make(map[string]interface{})
|
|
|
)
|
|
|
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
|
|
|
}
|
...
|
...
|
|