jiangshuai
2024-02-06 02a2176f7c5733a4e4c4429c2028bbb86a967ce7
docs/docs.go
@@ -135,61 +135,6 @@
                }
            }
        },
        "/con/downloadContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "下载Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"下载成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/con/findContract": {
            "get": {
                "security": [
@@ -328,61 +273,6 @@
                }
            }
        },
        "/con/previewContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "预览Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"预览成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/con/updateContract": {
            "put": {
                "security": [
@@ -414,6 +304,61 @@
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/downloadContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "下载Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"下载成功\"}",
                        "schema": {
                            "type": "string"
                        }
@@ -1500,6 +1445,61 @@
                }
            }
        },
        "/previewContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "预览Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"预览成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/purchase/purchase": {
            "put": {
                "security": [
@@ -1730,6 +1730,12 @@
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "供应商id",
                        "name": "supplierId",
                        "in": "query"
                    }
                ],
                "responses": {
@@ -1890,6 +1896,12 @@
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "供应商id",
                        "name": "supplierId",
                        "in": "query"
                    }
                ],
                "responses": {
@@ -1917,7 +1929,7 @@
                }
            }
        },
        "/purchase/submit/{id}": {
        "/purchase/submit": {
            "post": {
                "security": [
                    {
@@ -2225,6 +2237,42 @@
                        "type": "string",
                        "name": "url",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/s/getSupplierByNumber/{number}": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Supplier"
                ],
                "summary": "用编码查询Supplier",
                "parameters": [
                    {
                        "type": "string",
                        "description": "供应商编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
@@ -3306,33 +3354,23 @@
                    "type": "string"
                },
                "grpc-admin-url": {
                    "description": "grpc服务地址",
                    "description": "admin grpc服务地址",
                    "type": "string"
                },
                "grpc-port": {
                    "description": "对外提供服务grpc端口",
                    "type": "string"
                },
                "grpc-url": {
                    "description": "grpc服务地址",
                    "description": "aps grpc服务地址",
                    "type": "string"
                },
                "iplimit-count": {
                    "type": "integer"
                },
                "iplimit-time": {
                    "type": "integer"
                },
                "oss-type": {
                    "description": "Oss类型",
                "grpc-wms-url": {
                    "description": "wms grpc服务地址",
                    "type": "string"
                },
                "router-prefix": {
                    "type": "string"
                },
                "use-multipoint": {
                    "description": "多点登录拦截",
                    "type": "boolean"
                },
                "use-redis": {
                    "description": "使用redis",
                    "type": "boolean"
                }
            }
        },
@@ -3383,19 +3421,22 @@
                1,
                2,
                3,
                4
                4,
                5
            ],
            "x-enum-comments": {
                "OrderStatusCanceled": "已取消",
                "OrderStatusCompleted": "已完成",
                "OrderStatusConfirmed": "已下单",
                "OrderStatusReceived": "已到货",
                "OrderStatusConfirmed": "待确认",
                "OrderStatusReceived": "待入库",
                "OrderStatusStored": "已入库"
            },
            "x-enum-varnames": [
                "OrderStatusConfirmed",
                "OrderStatusReceived",
                "OrderStatusStored",
                "OrderStatusCompleted"
                "OrderStatusCompleted",
                "OrderStatusCanceled"
            ]
        },
        "purchase.PriceAdjustmentType": {
@@ -3574,7 +3615,7 @@
                },
                "productId": {
                    "description": "产品id",
                    "type": "string"
                    "type": "integer"
                },
                "purchaseId": {
                    "description": "采购id",
@@ -3672,6 +3713,10 @@
                    "description": "采购编号",
                    "type": "string"
                },
                "orderSource": {
                    "description": "单据来源",
                    "type": "string"
                },
                "phone": {
                    "description": "联系人电话",
                    "type": "string"