detail.md 4.17 KB

地图活动详情

OpenAPI Specification

openapi: 3.0.1
info:
  title: ''
  version: 1.0.0
paths:
  /srv/:
    get:
      summary: 地图活动详情
      deprecated: false
      description: ''
      tags:
        - 老来赛/地图-新版多活动
      parameters:
        - name: f
          in: query
          description: ''
          required: true
          example: walk
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: map_activity
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: true
          example: detail
          schema:
            type: string
        - name: id
          in: query
          description: 活动ID
          required: false
          example: '834988'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      url:
                        type: string
                        title: 地图网址
                      id:
                        type: integer
                        title: 活动ID
                      cover:
                        type: string
                        title: 封面图
                      begin_date:
                        type: string
                        title: 开始时间
                      end_date:
                        type: string
                        title: 结束时间
                      is_ended:
                        type: boolean
                        title: 活动是否已经结束
                      is_begin:
                        type: boolean
                        title: 活动是否开始
                      first_checkin_points:
                        type: integer
                        title: 首次打卡获得积分
                      required_checkin_count:
                        type: integer
                        title: 需要打卡几次,才能完成活动
                      complete_points:
                        type: integer
                        title: 完成活动获得多少积分
                      discount_title:
                        type: string
                        title: 打卡点底部优惠标题
                      title:
                        type: string
                        title: 标题
                    x-apifox-orders:
                      - id
                      - cover
                      - title
                      - begin_date
                      - end_date
                      - is_ended
                      - is_begin
                      - url
                      - first_checkin_points
                      - required_checkin_count
                      - complete_points
                      - discount_title
                    required:
                      - url
                      - end_date
                      - begin_date
                      - id
                      - cover
                      - title
                      - first_checkin_points
                      - required_checkin_count
                      - complete_points
                      - discount_title
                x-apifox-orders:
                  - code
                  - msg
                  - data
                required:
                  - code
                  - msg
                  - data
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 老来赛/地图-新版多活动
      x-apifox-status: integrating
      x-run-in-apifox: https://app.apifox.com/web/project/1753326/apis/api-417075691-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers:
  - url: https://oa-dev.onwall.cn
    description: 测试环境
security: []