liujiandao
2023-11-03 4a9bc4b7c84985047c7ebe0b991e8c8364bb56a2
docs/docs.go
@@ -572,6 +572,40 @@
                }
            }
        },
        "/api-wms/v1/location/getLocationTreeList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "位置"
                ],
                "summary": "获取位置列表树",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.Location"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-wms/v1/location/updateLocation": {
            "post": {
                "produces": [
@@ -2353,6 +2387,21 @@
                "ReservationMethodByDate"
            ]
        },
        "constvar.RuleType": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-comments": {
                "RuleType_Product": "产品上架规则",
                "RuleType_ProductCategory": "产品类别上架规则"
            },
            "x-enum-varnames": [
                "RuleType_Product",
                "RuleType_ProductCategory"
            ]
        },
        "constvar.WhetherType": {
            "type": "integer",
            "enum": [
@@ -2430,6 +2479,12 @@
        "models.Location": {
            "type": "object",
            "properties": {
                "children": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.Location"
                    }
                },
                "companyId": {
                    "description": "公司id",
                    "type": "integer"
@@ -3073,6 +3128,14 @@
                "productId": {
                    "description": "产品id",
                    "type": "string"
                },
                "ruleType": {
                    "description": "上架规则类型 1:产品类型;2:产品类别类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.RuleType"
                        }
                    ]
                }
            }
        },
@@ -3415,6 +3478,9 @@
                "keyWord": {
                    "type": "string"
                },
                "locationId": {
                    "type": "integer"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -3422,6 +3488,10 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "type": {
                    "description": "类型:bh=补货",
                    "type": "string"
                }
            }
        },
@@ -3652,6 +3722,14 @@
                "productId": {
                    "description": "产品id",
                    "type": "string"
                },
                "ruleType": {
                    "description": "上架规则类型 1:产品类型;2:产品类别类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.RuleType"
                        }
                    ]
                }
            }
        },