You need to sign in or sign up before continuing.
file_list.md 15.8 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: file
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: false
          example: file_list
          schema:
            type: string
        - name: client_id
          in: query
          description: 主体id
          required: false
          example: '2303465'
          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
        - name: cid
          in: query
          description: 分类id
          required: false
          example: '2768724'
          schema:
            type: string
        - name: child_id
          in: query
          description: 只有一层分类时,筛选数据用
          required: false
          schema:
            type: string
        - name: keyword
          in: query
          description: 搜索关键词
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: integer
                  data:
                    type: object
                    properties:
                      cate:
                        type: object
                        properties:
                          id:
                            type: integer
                            title: 分类id
                          category_name:
                            type: string
                            title: 分类名称
                          category_parent:
                            type: integer
                            title: 分类父级
                          category_description:
                            type: 'null'
                            title: 分类描述
                        required:
                          - id
                          - category_name
                          - category_parent
                          - category_description
                        x-apifox-orders:
                          - id
                          - category_name
                          - category_parent
                          - category_description
                        title: 当前分类
                      children:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              title: 二级分类id
                            category_name:
                              type: string
                              title: 二级分类名
                            category_parent:
                              type: integer
                              title: 二级分类名父级id
                            category_description:
                              type: 'null'
                              title: 二级分类描述
                            icon:
                              type: string
                              title: 二级分类图标
                              nullable: true
                            list:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                    title: 附件名称
                                  value:
                                    type: string
                                    title: 附件地址
                                  extension:
                                    type: string
                                    title: 后缀名
                                  post_date:
                                    type: string
                                    title: 发布时间
                                  size:
                                    type: string
                                    title: 附件大小
                                  is_favorite:
                                    type: integer
                                    title: 是否收藏
                                  id:
                                    type: string
                                    title: 附件id
                                required:
                                  - name
                                  - value
                                  - extension
                                  - post_date
                                  - size
                                  - is_favorite
                                  - id
                                x-apifox-orders:
                                  - id
                                  - name
                                  - value
                                  - extension
                                  - post_date
                                  - size
                                  - is_favorite
                              title: 二级分类的附件列表
                            children:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    title: 三级分类id
                                  category_name:
                                    type: string
                                    title: 三级分类名
                                  category_parent:
                                    type: integer
                                    title: 三级分类名父级id
                                  category_description:
                                    type: 'null'
                                    title: 三级分类描述
                                  icon:
                                    type: string
                                    title: 二级分类图标
                                    nullable: true
                                required:
                                  - id
                                  - category_name
                                  - category_parent
                                  - category_description
                                  - icon
                                x-apifox-orders:
                                  - id
                                  - category_name
                                  - category_parent
                                  - category_description
                                  - icon
                              title: 三级分类
                          required:
                            - id
                            - category_name
                            - category_parent
                            - category_description
                            - icon
                            - list
                            - children
                          x-apifox-orders:
                            - id
                            - category_name
                            - category_parent
                            - category_description
                            - icon
                            - children
                            - list
                        title: 二级分类列表
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                            name:
                              type: string
                              title: 附件名称
                            value:
                              type: string
                              title: 附件地址
                            extension:
                              type: string
                              title: 后缀名
                            post_date:
                              type: string
                              title: 发布时间
                            size:
                              type: string
                              title: 附件大小
                            is_favorite:
                              type: integer
                              title: 是否收藏
                          required:
                            - id
                            - name
                            - value
                            - extension
                            - post_date
                            - size
                            - is_favorite
                          x-apifox-orders:
                            - id
                            - name
                            - value
                            - extension
                            - post_date
                            - size
                            - is_favorite
                        title: 主分类的附件列表
                      total:
                        type: integer
                        title: 主分类附件数量
                      max_level:
                        type: integer
                        title: 页面需要层级
                    required:
                      - cate
                      - children
                      - list
                      - total
                      - max_level
                    x-apifox-orders:
                      - cate
                      - children
                      - list
                      - total
                      - max_level
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
              example:
                code: 1
                msg: 0
                data:
                  cate:
                    id: 2768724
                    category_name: 入职相关
                    category_parent: 0
                    category_description: null
                  children:
                    - id: 2768748
                      category_name: 入职前
                      category_parent: 2768724
                      level: 1
                      category_description: null
                      icon: >-
                        https://cdn.ipadbiz.cn/space_35697/chenggong@2x_Fv8frv6yLpjv_-udOjNbrqWjf7Ro.png
                      list:
                        - name: icon-gongfo@2x.png
                          value: >-
                            https://cdn.ipadbiz.cn/space_2303465/icon-gongfo@2x_FupcW54dbCtf8Os3VR8-uPxBPZKJ.png
                          extension: png
                          post_date: '2025-11-18 09:56:10'
                          size: 3.08 KB
                          is_favorite: 0
                        - name: tit01.1715066891.png
                          value: >-
                            https://cdn.ipadbiz.cn/space_2303465/tit01.1715066891_FkZth0fslVSIpN3_sH1QQLCvYG3I.png
                          extension: png
                          post_date: '2025-11-06 16:32:45'
                          size: 23.06 KB
                          is_favorite: 0
                        - name: 警告1.png
                          value: >-
                            https://cdn.ipadbiz.cn/space_35697/警告_FgcO1_v6jMprMXk8GvWwvAS96Q0b.png
                          extension: png
                          post_date: '2025-11-06 16:32:12'
                          size: 8.16 KB
                          is_favorite: 0
                      children:
                        - id: 2769731
                          category_name: 考试报名
                          category_parent: 2768748
                          level: 2
                          category_description: null
                          icon: null
                          max_depth: 2
                        - id: 2769881
                          category_name: 考试资料
                          category_parent: 2768748
                          level: 2
                          category_description: null
                          icon: >-
                            https://cdn.ipadbiz.cn/space_2303465/禅修营_Fikkh54VXc2_w4olchdf_eXqZkxZ.png
                          max_depth: 2
                      max_depth: 2
                    - id: 2769882
                      category_name: 入职中
                      category_parent: 2768724
                      level: 1
                      category_description: null
                      icon: null
                      list: []
                      children:
                        - id: 2769883
                          category_name: 各个进度
                          category_parent: 2769882
                          level: 2
                          category_description: null
                          icon: null
                          max_depth: 2
                      max_depth: 2
                  list:
                    - id: 2768730
                      name: no_banner1.jpg
                      value: >-
                        https://cdn.ipadbiz.cn/xiyuan_35697/no_banner1_Ft2CHoVnGHpiT3KNAHkyjTRObgQ1.jpg
                      extension: jpg
                      post_date: '2025-11-05 18:30:38'
                      size: 48.76 KB
                      is_favorite: 0
                    - id: 2768729
                      name: '4444'
                      value: >-
                        https://cdn.ipadbiz.cn/xiyuan_35697/no_banner1_Ft2CHoVnGHpiT3KNAHkyjTRObgQ1.jpg
                      extension: jpg
                      post_date: '2025-11-05 16:02:07'
                      size: 48.76 KB
                      is_favorite: 0
                    - id: 2768723
                      name: '1235'
                      value: >-
                        https://cdn.ipadbiz.cn/xiyuan_35697/no_banner_FuQDBojRddPWEv0A9hM_ffoddnNC.jpg
                      extension: jpg
                      post_date: '2025-11-05 15:10:27'
                      size: 78.55 KB
                      is_favorite: 0
                    - id: 2768711
                      name: chenggong@2x.png
                      value: >-
                        https://cdn.ipadbiz.cn/space_35697/chenggong@2x_Fv8frv6yLpjv_-udOjNbrqWjf7Ro.png
                      extension: png
                      post_date: '2025-11-03 13:59:04'
                      size: 23.08 KB
                      is_favorite: 0
                  total: 4
                  max_level: 3
          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-414702244-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers:
  - url: https://manulife.onwall.cn
    description: 正式环境
security: []