rowan 9 달 전
부모
커밋
092acd5007
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      desc/wechat/wxhook.api
  2. 2 2
      internal/types/types.go

+ 2 - 2
desc/wechat/wxhook.api

@@ -35,10 +35,10 @@ type (
     SendTextMsgReq {
 
         // 属主微信id
-        WxWxid *string `json:"wxWxid"`
+        WxWxid *string `json:"senderWxId"`
 
         // 微信id 公众号微信ID
-        Wxid *string `json:"wxid"`
+        Wxid *string `json:"receiverWxId"`
 
         // 微信文本消息内容
         Msg *string `json:"msg"`

+ 2 - 2
internal/types/types.go

@@ -376,9 +376,9 @@ type RefreshLoginQRResp struct {
 // swagger:model SendTextMsgReq
 type SendTextMsgReq struct {
 	// 属主微信id
-	WxWxid *string `json:"wxWxid"`
+	WxWxid *string `json:"senderWxId"`
 	// 微信id 公众号微信ID
-	Wxid *string `json:"wxid"`
+	Wxid *string `json:"receiverWxId"`
 	// 微信文本消息内容
 	Msg *string `json:"msg"`
 }