jiangshuai
2023-11-08 47000c8d61e28bc590d085753c8b9ceff8546121
docs/swagger.yaml
@@ -244,6 +244,10 @@
    type: object
  models.Location:
    properties:
      children:
        items:
          $ref: '#/definitions/models.Location'
        type: array
      companyId:
        description: 公司id
        type: integer
@@ -920,6 +924,22 @@
      wareHouseCode:
        type: string
    type: object
  request.GetLocationList:
    properties:
      jointName:
        description: 拼接名称
        type: string
      keyWord:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      type:
        type: integer
    type: object
  request.GetProductList:
    properties:
      categoryId:
@@ -937,12 +957,19 @@
    properties:
      keyWord:
        type: string
      locationId:
        type: integer
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      productId:
        type: string
      type:
        description: 类型:bh=补货
        type: string
    type: object
  request.GetRuleList:
    properties:
@@ -1683,7 +1710,7 @@
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetProductList'
          $ref: '#/definitions/request.GetLocationList'
      produces:
      - application/json
      responses:
@@ -1701,6 +1728,25 @@
      summary: 获取位置列表
      tags:
      - 位置
  /api-wms/v1/location/getLocationTreeList:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/util.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/models.Location'
                  type: array
              type: object
      summary: 获取位置列表树
      tags:
      - 位置
  /api-wms/v1/location/updateLocation:
    post:
      parameters: