jiaojiao7 3 жил өмнө
parent
commit
b2eba5a932

+ 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, "修改消息阅读状态成功"
 }