ソースを参照

Merge remote-tracking branch 'origin/feature/531-bowen-wecom' into feature/531-bowen-wecom

lichangdong 3 日 前
コミット
2b96b9cd1e
1 ファイル変更24 行追加0 行削除
  1. 24 0
      desc/wechat/add_friend_by_phone.api

+ 24 - 0
desc/wechat/add_friend_by_phone.api

@@ -0,0 +1,24 @@
+import "../base.api"
+
+type (
+    
+    //add_friend_by_phone api接口请求值
+    AddFriendByPhoneNewReq {
+        Type int `json:"type"`
+        WeChatIds []string `json:"WeChatId,optional,omitempty"`
+        Phone string `json:"phone"`
+        Message string `json:"message"`
+    }
+)
+
+@server(
+    jwt: Auth
+    group: Wx
+    middleware: Authority
+)
+
+service Wechat {
+    // 手机号加好友接口
+    @handler AddFriendByPhone
+    post /wx/add_friend_by_phone (AddFriendByPhoneNewReq) returns (BaseMsgResp)
+}