123456789101112131415161718192021222324 |
- import "../base.api"
- import "../wechat/contact.api"
- type (
- WxidReq {
- Wxid string `json:"wxid"`
- }
- )
- @server(
- group: openapi
- prefix: /openapi
- )
- service Wechat {
- // 通过wxid获取联系人信息
- @handler openapiGetContactByWxid
- post /contact/getContactByWxid (WxidReq) returns (ContactInfoResp)
- // 获取联系人列表
- @handler openapiGetContactList
- post /contact/getContactList (WxidReq) returns (ContactListResp)
- }
|