detail.md 7.97 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: manulife
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: get_product
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: true
          example: detail
          schema:
            type: string
        - name: client_id
          in: query
          description: 主体id
          required: false
          example: '30901'
          schema:
            type: string
        - name: i
          in: query
          description: 产品id
          required: true
          example: '2769848'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: integer
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        title: 产品id
                      product_name:
                        type: string
                        title: 产品名
                      recommend:
                        type: string
                        title: '推荐位: normal-普通, hot-热卖'
                      status:
                        type: string
                      created_by:
                        type: integer
                      created_time:
                        type: string
                      updated_by:
                        type: integer
                      updated_time:
                        type: string
                      form_sn:
                        type: string
                        title: 关联表单sn
                      product_description:
                        type: string
                        title: 产品描述
                      categories:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              title: 分类id
                            name:
                              type: string
                              title: 分类名称
                          x-apifox-orders:
                            - id
                            - name
                        title: 产品所属分类
                      tags:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              title: 标签id
                            name:
                              type: string
                              title: 标签名
                            bg_color:
                              type: string
                              title: 标签背景色
                            text_color:
                              type: string
                              title: 标签文字色
                          required:
                            - id
                            - name
                            - bg_color
                            - text_color
                          x-apifox-orders:
                            - id
                            - name
                            - bg_color
                            - text_color
                        title: 产品标签
                      documents:
                        type: array
                        items:
                          type: object
                          properties:
                            file_url:
                              type: string
                              title: 附件地址
                            file_name:
                              type: string
                              title: 附件名
                            file_size:
                              type: string
                              title: 附件大小
                            file_size_formatted:
                              type: string
                              title: 附件大小(转换过显示)
                          x-apifox-orders:
                            - file_url
                            - file_name
                            - file_size
                            - file_size_formatted
                        title: 附件列表
                      cover_image:
                        type: string
                        title: 产品封面图
                    required:
                      - id
                      - product_name
                      - recommend
                      - status
                      - created_by
                      - created_time
                      - updated_by
                      - updated_time
                      - form_sn
                      - product_description
                      - categories
                      - tags
                      - documents
                      - cover_image
                    x-apifox-orders:
                      - id
                      - product_name
                      - recommend
                      - status
                      - created_by
                      - created_time
                      - updated_by
                      - updated_time
                      - form_sn
                      - product_description
                      - cover_image
                      - categories
                      - tags
                      - documents
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
              example:
                code: 1
                msg: 0
                data:
                  id: 2769848
                  product_name: '1111'
                  recommend: normal
                  sort: 0
                  status: '3'
                  created_by: 21580
                  created_time: '2026-02-02 16:33:01'
                  updated_by: 21580
                  updated_time: '2026-02-03 14:52:41'
                  client_id: 30901
                  form_sn: customize_jsj_ivleuz
                  product_description: "<p>5564</p>\r\n<p>hdye</p>"
                  categories:
                    - id: '2769851'
                      name: '11'
                  tags:
                    - id: '2769846'
                      name: 测试1
                      bg_color: '#1e9fff'
                      text_color: '#ffffff'
                    - id: '2769847'
                      name: '111'
                      bg_color: '#3e5160'
                      text_color: '#ffffff'
                  documents:
                    - file_url: >-
                        https://cdn.ipadbiz.cn/space_30901/申请提交-生成计划书_FvdRVOS0K-Wmp05ZKHpx64sEXcKQ.png
                      file_name: 申请提交-生成计划书.png
                      file_size: '74356'
                      file_size_formatted: 72.61 KB
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 产品
      x-apifox-status: done
      x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-414567246-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers: []
security: []