add_wechat_friend_log.api 532 B

123456789101112131415161718192021222324
  1. import "../base.api"
  2. type (
  3. //add_friend_by_phone api接口请求值
  4. AddWechatFriendLogInfo {
  5. Type int `json:"type"`
  6. WeChatIds []string `json:"WeChatId,optional,omitempty"`
  7. Phone string `json:"phone"`
  8. Message string `json:"message"`
  9. }
  10. )
  11. @server(
  12. jwt: Auth
  13. group: add_friend
  14. middleware: Authority
  15. )
  16. service Wechat {
  17. // 手机号加好友接口
  18. @handler AddFriendByPhone
  19. post /add_friend/add_friend_by_phone (AddWechatFriendLogInfo) returns (BaseMsgResp)
  20. }