ソースを参照

Resolve merge conflicts and complete merge

boweniac 10 ヶ月 前
コミット
401f127009
1 ファイル変更11 行追加0 行削除
  1. 11 0
      desc/wechat/contact.api

+ 11 - 0
desc/wechat/contact.api

@@ -45,6 +45,14 @@ type (
         // Contact information | Contact数据
         Data ContactInfo `json:"data"`
     }
+
+    AddNewFriendReq {
+        OwnerWxid string `json:"ownerWxid"`
+        Wxid string `json:"wxid"`
+        Gid string `json:"gid"`
+        Desc string `json:"desc"`
+        AddType string `json:"addType"`
+    }
 )
 
 @server(
@@ -73,4 +81,7 @@ service Wechat {
     // Get contact by ID | 通过ID获取Contact
     @handler getContactById
     post /contact (IDReq) returns (ContactInfoResp)
+
+    @handler addNewFriend
+    post /contact/addNewFriend (AddNewFriendReq) returns (BaseMsgResp)
 }