xmy 3 年之前
父节点
当前提交
3cb34b8ce4
共有 2 个文件被更改,包括 12 次插入12 次删除
  1. 6 6
      api/internal/types/types.go
  2. 6 6
      api/jyinfo.api

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

@@ -50,13 +50,13 @@ type MyPublishCommonReq struct {
 }
 
 type ReviewCommonReq struct {
-	AppId string `header:"appId"`
+	AppId string `json:"appId"`
 	MsgId string `json:"msgId"`
 	Type  int64  `json:"type"`
 }
 
 type InfoListReq struct {
-	AppId          string `header:"appId"`
+	AppId          string `json:"appId":"appId"`
 	MsgType        int    `json:"msgType,optional"`
 	PhoneType      int    `json:"phoneType,optional"`
 	Phone          string `json:"phone,optional"`
@@ -71,7 +71,7 @@ type InfoListReq struct {
 
 type InfoExamineReq struct {
 	MsgId        string `json:"msgId"`
-	AppId        string `header:"appId"`
+	AppId        string `json:"appId"`
 	ReviewStatus int64  `json:"reviewStatus"`
 	ReviewDetail string `json:"reviewDetail,optional"`
 	MsgType      int64  `json:"msgType"`
@@ -113,9 +113,9 @@ type InfoFileDelReq struct {
 }
 
 type CommonReq struct {
-	UserId  string `header:"userId,optional"`
-	EntId   int64  `header:"entId,optional"`
-	AppId   string `header:"appId"`
+	UserId  string `json:"userId,optional"`
+	EntId   int64  `json:"entId,optional"`
+	AppId   string `json:"appId"`
 	Match   string `json:"match,optional"`
 	MsgType int64  `json:"msgType,optional"`
 }

+ 6 - 6
api/jyinfo.api

@@ -45,12 +45,12 @@ type (
 		AppId   string `header:"appId"`
 	}
 	reviewCommonReq {
-		AppId string `header:"appId"`
+		AppId string `json:"appId"`
 		MsgId string `json:"msgId"`
 		Type  int64  `json:"type"`
 	}
 	infoListReq {
-		AppId          string `header:"appId"`
+		AppId          string `json:"appId":"appId"`
 		MsgType        int    `json:"msgType,optional"`
 		PhoneType      int    `json:"phoneType,optional"`
 		Phone          string `json:"phone,optional"`
@@ -64,7 +64,7 @@ type (
 	}
 	infoExamineReq {
 		MsgId        string `json:"msgId"`
-		AppId        string `header:"appId"`
+		AppId        string `json:"appId"`
 		ReviewStatus int64  `json:"reviewStatus"`
 		ReviewDetail string `json:"reviewDetail,optional"`
 		MsgType      int64  `json:"msgType"`
@@ -102,9 +102,9 @@ type (
 		FileId   string `json:"fileId,optional"`   //附件key
 	}
 	commonReq {
-		UserId  string `header:"userId,optional"`
-		EntId   int64  `header:"entId,optional"`
-		AppId   string `header:"appId"`
+		UserId  string `json:"userId,optional"`
+		EntId   int64  `json:"entId,optional"`
+		AppId   string `json:"appId"`
 		Match   string `json:"match,optional"`
 		MsgType int64  `json:"msgType,optional"`
 	}