| | |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/operation/{id}": { |
| | | "put": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "comment": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "companyID": { |
| | |
| | | "request.OperationDetails": { |
| | | "type": "object", |
| | | "properties": { |
| | | "OperationId": { |
| | | "description": "操作id", |
| | | "type": "integer" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | | "description": "产品名称", |
| | |
| | | "request.UpdateOperation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "carrierID": { |
| | | "description": "承运商ID-非必填", |
| | | "type": "integer" |
| | | }, |
| | | "carrierName": { |
| | | "description": "承运商名称-非必填", |
| | | "comment": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "companyID": { |
| | |
| | | "toLocationId": { |
| | | "description": "目标位置id", |
| | | "type": "integer" |
| | | }, |
| | | "tracking": { |
| | | "description": "追踪参考-非必填", |
| | | "type": "string" |
| | | }, |
| | | "transferWeight": { |
| | | "description": "物流重量(kg)-非必填", |
| | | "type": "number" |
| | | }, |
| | | "weight": { |
| | | "description": "重量(kg)-非必填", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | |
| | | Description: "", |
| | | InfoInstanceName: "swagger", |
| | | SwaggerTemplate: docTemplate, |
| | | LeftDelim: "{{", |
| | | RightDelim: "}}", |
| | | } |
| | | |
| | | func init() { |