add
wangpengfei
2023-07-21 993d3555339703c53ca14103d4d7899cde0d2e04
docs/docs.go
@@ -4876,6 +4876,125 @@
                }
            }
        },
        "/api/serviceContractType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "添加服务合同类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceContractType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "删除服务合同类型",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "获取服务合同类型列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceContractTypeResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "更新服务合同类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceContractTypes"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFeeManage/add": {
            "post": {
                "produces": [
@@ -7129,6 +7248,9 @@
                "serviceContractStatusId": {
                    "type": "integer"
                },
                "serviceContractTypeId": {
                    "type": "integer"
                },
                "serviceTimes": {
                    "type": "integer"
                },
@@ -7140,13 +7262,21 @@
                },
                "terms": {
                    "type": "string"
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "model.ServiceContractStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.ServiceContractType": {
            "type": "object",
            "properties": {
                "id": {
@@ -8121,6 +8251,17 @@
            }
        },
        "request.AddServiceContractStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddServiceContractType": {
            "type": "object",
            "required": [
                "name"
@@ -10057,6 +10198,35 @@
                }
            }
        },
        "request.UpdateServiceContractType": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateServiceContractTypes": {
            "type": "object",
            "required": [
                "service_contract_type"
            ],
            "properties": {
                "service_contract_type": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateServiceContractType"
                    }
                }
            }
        },
        "request.UpdateServiceFeeManage": {
            "type": "object",
            "properties": {
@@ -10583,6 +10753,13 @@
                        "$ref": "#/definitions/model.ServiceContractStatus"
                    }
                },
                "serviceContractType": {
                    "description": "服务合同类型",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractType"
                    }
                },
                "solve_rate": {
                    "description": "解决率",
                    "type": "array",
@@ -10914,6 +11091,17 @@
                }
            }
        },
        "response.ServiceContractTypeResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractType"
                    }
                }
            }
        },
        "response.ServiceContractsResponse": {
            "type": "object",
            "properties": {