| | |
| | | type: integer |
| | | createTime: |
| | | type: string |
| | | forceRemovalStrategy: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ForceRemovalStrategy' |
| | | description: 下架策略 |
| | | id: |
| | | type: integer |
| | | isReturnLocation: |
| | |
| | | type: number |
| | | selectProduct: |
| | | description: 可选产品id |
| | | type: integer |
| | | type: string |
| | | sellExplain: |
| | | description: 销售说明 |
| | | type: string |
| | |
| | | summary: 编辑公司 |
| | | tags: |
| | | - 公司 |
| | | /api-wms/v1/location/addLocation: |
| | | post: |
| | | parameters: |
| | | - description: 位置信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/models.Location' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 添加位置信息 |
| | | tags: |
| | | - 位置 |
| | | /api-wms/v1/location/deleteLocation/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 删除位置 |
| | | tags: |
| | | - 位置 |
| | | /api-wms/v1/location/getLocationDetails/{id}: |
| | | get: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/models.Location' |
| | | type: object |
| | | summary: 获取位置详情 |
| | | tags: |
| | | - 位置 |
| | | /api-wms/v1/location/getLocationList: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetProductList' |
| | | 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: |
| | | - description: 产品信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/models.Location' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 修改位置 |
| | | tags: |
| | | - 位置 |
| | | /api-wms/v1/operation/operation: |
| | | get: |
| | | consumes: |