|
@@ -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)
|
|
|
+}
|