list.md 6.25 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: false
          example: manulife
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: false
          example: proposal
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: false
          example: list
          schema:
            type: string
        - name: status
          in: query
          description: '3:待处理,5:处理中,7:已生成,9:已查看'
          required: false
          schema:
            type: string
        - name: keyword
          in: query
          description: ''
          required: false
          schema:
            type: string
        - name: limit
          in: query
          description: ''
          required: false
          example: '10'
          schema:
            type: string
        - name: page
          in: query
          description: ''
          required: false
          example: '0'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                            customer_name:
                              type: string
                              title: 申请人
                            product_name:
                              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: 分类
                            created_time:
                              type: string
                              title: 创建时间
                            order_status:
                              type: string
                              title: 状态
                            proposal_files:
                              type: array
                              items:
                                type: object
                                properties:
                                  file_name:
                                    type: string
                                    title: 名称
                                  file_url:
                                    type: string
                                    title: 地址
                                  id:
                                    type: integer
                                required:
                                  - file_name
                                  - file_url
                                x-apifox-orders:
                                  - id
                                  - file_url
                                  - file_name
                              title: 生成的计划书
                          x-apifox-orders:
                            - id
                            - customer_name
                            - product_name
                            - created_time
                            - order_status
                            - categories
                            - proposal_files
                        title: 计划书列表
                      total:
                        type: string
                    required:
                      - list
                      - total
                    x-apifox-orders:
                      - list
                      - total
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
              example:
                code: 1
                msg: 获取成功
                data:
                  list:
                    - id: 2769908
                      customer_name: 张美丽
                      product_name: '22'
                      categories:
                        - id: '2769851'
                          name: '11'
                      created_time: '2026-02-10 15:21:30'
                      order_status: '5'
                      proposal_files:
                        - file_name: preview.pdf
                          file_url: >-
                            https://cdn.ipadbiz.cn/space_30901/preview_FnQmfTFxovjwdcm9ta0_yv3A_ArZ.pdf
                        - file_name: ST200TH以太网温湿度变送器V2.0.pdf
                          file_url: >-
                            https://cdn.ipadbiz.cn/space_30901/ST200TH以太网温湿度变送器V2.0_FtZJe7fXyeKAZyDyDHxVltx36gP5.pdf
                  total: '4'
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 计划书
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-417311013-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers:
  - url: https://manulife.onwall.cn
    description: 正式环境