jiaojiao7 hace 3 años
padre
commit
b2eba5a932
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      service/messageService.go

+ 1 - 1
service/messageService.go

@@ -24,7 +24,7 @@ func (service *MessageService) ChangeReadStatus(data *message.ChangeReadStatusRe
 	if !b {
 		return 0, "修改消息阅读状态失败"
 	}
-	EtcdCountMinusOne(qutil.ObjToString((*msg)["receive_userid"]), strconv.Itoa(int((*msg)["msg_type"].(float64))))
+	EtcdCountMinusOne(qutil.ObjToString((*msg)["receive_userid"]), strconv.Itoa(int((*msg)["msg_type"].(int64))))
 	return 1, "修改消息阅读状态成功"
 }