fuwencai 3 年之前
父節點
當前提交
472a9137b5
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      api/internal/types/types.go
  2. 2 2
      api/message.api

+ 2 - 2
api/internal/types/types.go

@@ -12,7 +12,7 @@ type Response struct {
 }
 
 type MessageDetailReq struct {
-	Id int64 `form:"id"`
+	Id string `form:"id"`
 }
 
 type MessageDetailResp struct {
@@ -97,7 +97,7 @@ type MsgReadStatusResp struct {
 }
 
 type MarkReadReq struct {
-	MsgId int64  `form:"msgId"`
+	MsgId string  `form:"msgId"`
 	AppId string `form:"appId"`
 }
 

+ 2 - 2
api/message.api

@@ -19,7 +19,7 @@ type response {
 
 //查询消息详情
 type MessageDetailReq {
-	Id int64 `form:"id"`
+	Id string `form:"id"`
 }
 type MessageDetailResp {
 	Code    int64                  `json:"code"`
@@ -95,7 +95,7 @@ type MsgReadStatusResp {
 }
 
 type MarkReadReq {
-	MsgId int64  `form:"msgId"`
+	MsgId string  `form:"msgId"`
 	AppId string `form:"appId"`
 }
 type MarkReadRes {