rowan 9 months ago
parent
commit
092acd5007
2 changed files with 4 additions and 4 deletions
  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"`
 }