查询插件数据
查询插件数据Events Manager

Events Manager

Events Manager 插件数据交互的 Query 示例。

获取活动

获取活动列表,并附带相关的地点数据:

query GetEvents($postId: ID!) {
  events(by: { id: $postId }) {
    id
    title
    content
    startDate
    endDate
    isAllDay
    location {
      id
      name
      address
      city
      coordinates
    }
  }
}