# 1. 列表首页

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /app_adminsmartpark/v1.news_type/index:
    post:
      summary: 1. 列表首页
      deprecated: false
      description: 使用场景：后台查看 新闻资讯分类 列表页面
      tags:
        - admin 👨‍💻/smartpark/v1/NewsType
        - admin
      parameters:
        - name: X-Client
          in: header
          description: ''
          required: true
          example: '{{x_client}}'
          schema:
            type: string
        - name: X-ApifoxUser
          in: header
          description: ''
          required: true
          example: '{{apifox_user}}'
          schema:
            type: string
        - name: X-Time
          in: header
          description: ''
          required: true
          example: '{{timestamp}}'
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                page:
                  description: 页码
                  example: '1'
                  type: string
                page_size:
                  description: 每页最大数量
                  example: '10'
                  type: string
                smartpark_id:
                  description: 根据园区id筛选
                  example: ''
                  type: string
                pid:
                  description: 根据上级分类id筛选
                  example: '0'
                  type: string
                is_del:
                  description: 是否删除
                  example: ''
                  type: string
                keyword:
                  description: 根据分类名称搜素
                  example: ''
                  type: string
                sort:
                  description: 排序字段（id，sort 根据 排序设置（越小越靠前））默认排序 sort asc, id desc
                  example: ''
                  type: string
                order:
                  description: 顺序 asc/desc
                  example: desc
                  type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    x-apifox-orders: []
                  msg:
                    type: string
                  code:
                    type: integer
                required:
                  - data
                  - msg
                  - code
                x-apifox-orders:
                  - data
                  - msg
                  - code
              examples:
                '1':
                  summary: success
                  value:
                    data: {}
                    msg: ''
                    code: 1
                '2':
                  summary: error
                  value:
                    data: []
                    msg: ''
                    code: 1
          headers: {}
          x-apifox-name: ok
      security: []
      x-apifox-folder: admin 👨‍💻/smartpark/v1/NewsType
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/2493394/apis/api-70864354-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: http://admin.api.test.domain.cn
    description: 测试环境
security: []

```
