add
wangpengfei
2023-07-21 54f4078e9462871995cf4b241df217b18cdd6e08
docs/docs.go
@@ -2331,7 +2331,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "添加订单",
                "summary": "添加工单",
                "parameters": [
                    {
                        "description": "查询参数",
@@ -2361,7 +2361,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "删除订单",
                "summary": "删除工单",
                "parameters": [
                    {
                        "type": "integer",
@@ -2389,7 +2389,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "订单列表",
                "summary": "工单列表",
                "responses": {
                    "200": {
                        "description": "OK",
@@ -2408,7 +2408,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "更新订单",
                "summary": "更新工单",
                "parameters": [
                    {
                        "description": "查询参数",
@@ -3316,6 +3316,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRegularCustomersList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/reportSource/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "添加报表来源",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddReportSource"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/reportSource/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "删除报表来源",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/reportSource/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "获取报表来源列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ReportSourceResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/reportSource/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "更新报表来源",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateReportSources"
                        }
                    }
                ],
@@ -6342,6 +6461,17 @@
                }
            }
        },
        "model.ReportSource": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.SaleChance": {
            "type": "object",
            "properties": {
@@ -7421,6 +7551,17 @@
            }
        },
        "request.AddRegularCustomers": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddReportSource": {
            "type": "object",
            "required": [
                "name"
@@ -9180,6 +9321,35 @@
                }
            }
        },
        "request.UpdateReportSource": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateReportSources": {
            "type": "object",
            "required": [
                "report_source"
            ],
            "properties": {
                "report_source": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateReportSource"
                    }
                }
            }
        },
        "request.UpdateSaleChance": {
            "type": "object",
            "required": [
@@ -10024,6 +10194,13 @@
                        "$ref": "#/definitions/model.RegularCustomers"
                    }
                },
                "reportSource": {
                    "description": "报表来源",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ReportSource"
                    }
                },
                "sale_stage": {
                    "description": "销售阶段",
                    "type": "array",
@@ -10251,6 +10428,17 @@
                }
            }
        },
        "response.ReportSourceResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ReportSource"
                    }
                }
            }
        },
        "response.SaleChanceResponse": {
            "type": "object",
            "properties": {