jiaojiao7 3 years ago
parent
commit
b2eba5a932
1 changed files with 1 additions and 1 deletions
  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, "修改消息阅读状态成功"
 }