| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/systemConfig/get": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置" |
| | | ], |
| | | "summary": "根据设置类型查询系统设置", |
| | | "parameters": [ |
| | | { |
| | | "enum": [ |
| | | 1 |
| | | ], |
| | | "type": "integer", |
| | | "x-enum-comments": { |
| | | "SystemConfigTypeInventoryCutOffPoint": "库存结算时间点" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "SystemConfigTypeInventoryCutOffPoint" |
| | | ], |
| | | "description": "1 每月库存结算时间点", |
| | | "name": "configType", |
| | | "in": "query", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/models.SystemConfig" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/systemConfig/save": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置" |
| | | ], |
| | | "summary": "保存系统设置", |
| | | "parameters": [ |
| | | { |
| | | "description": "系统设置信息", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SystemConfig" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/warehouse/getWarehouseDetails/{id}": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | "RuleType_ProductCategory" |
| | | ] |
| | | }, |
| | | "constvar.SystemConfigType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1 |
| | | ], |
| | | "x-enum-comments": { |
| | | "SystemConfigTypeInventoryCutOffPoint": "库存结算时间点" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "SystemConfigTypeInventoryCutOffPoint" |
| | | ] |
| | | }, |
| | | "constvar.WhetherType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | "type": "integer" |
| | | }, |
| | | "barCode": { |
| | | "description": "创建人", |
| | | "type": "string" |
| | | }, |
| | | "barcode": { |
| | | "description": "条码", |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "models.SystemConfig": { |
| | | "type": "object", |
| | | "properties": { |
| | | "configType": { |
| | | "description": "每月库存结算时间点", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.SystemConfigType" |
| | | } |
| | | ] |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "设置名称", |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | }, |
| | | "val": { |
| | | "description": "设置值", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.SystemConfig": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ID": { |
| | | "type": "integer" |
| | | }, |
| | | "configType": { |
| | | "description": "1 每月库存结算时间点", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.SystemConfigType" |
| | | } |
| | | ] |
| | | }, |
| | | "name": { |
| | | "description": "设置名称", |
| | | "type": "string" |
| | | }, |
| | | "val": { |
| | | "description": "设置值", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UnitDict": { |
| | | "type": "object", |
| | | "properties": { |