zhangqian
2023-08-07 4b63908ad085bc570623f7b0c0fd397b2ae7a80d
docs/docs.go
@@ -241,6 +241,169 @@
                }
            }
        },
        "/api/bankAccount/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "银行账户管理"
                ],
                "summary": "添加银行账户",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddBankAccount"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/bankAccount/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "银行账户管理"
                ],
                "summary": "删除银行账户",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/bankAccount/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "银行账户管理"
                ],
                "summary": "获取银行账户列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "BankAccountKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "BankAccountQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.BankAccount"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/bankAccount/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "银行账户管理"
                ],
                "summary": "更新银行账户",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateBankAccount"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/base/captcha": {
            "post": {
                "produces": [
@@ -2074,6 +2237,436 @@
                }
            }
        },
        "/api/faq/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "常见问题管理"
                ],
                "summary": "添加常见问题",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddFaq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/faq/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "常见问题管理"
                ],
                "summary": "删除常见问题",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/faq/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "常见问题管理"
                ],
                "summary": "获取常见问题列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetFaqList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.Faq"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/faq/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "常见问题管理"
                ],
                "summary": "更新常见问题",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateFaq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/faultType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "故障类别管理"
                ],
                "summary": "添加故障类别",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddFaultType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/faultType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "故障类别管理"
                ],
                "summary": "删除故障类别",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/faultType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "故障类别管理"
                ],
                "summary": "获取故障类别列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.FaultType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/faultType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "故障类别管理"
                ],
                "summary": "更新故障类别",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateFaultType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/file/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "附件管理"
                ],
                "summary": "添加附件",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "来源id",
                        "name": "sourceId",
                        "in": "formData",
                        "required": true
                    },
                    {
                        "type": "string",
                        "description": "附件来源",
                        "name": "sourceType",
                        "in": "formData",
                        "required": true
                    },
                    {
                        "type": "file",
                        "description": "上传文件",
                        "name": "file",
                        "in": "formData",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/file/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "附件管理"
                ],
                "summary": "删除附件",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/file/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "附件管理"
                ],
                "summary": "获取附件列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "FileKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "FileQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.File"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/file/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "附件管理"
                ],
                "summary": "更新附件",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateFile"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/followRecord/add": {
            "post": {
                "produces": [
@@ -3016,6 +3609,169 @@
                }
            }
        },
        "/api/paymentType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "支付方式管理"
                ],
                "summary": "添加支付方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddPaymentType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/paymentType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "支付方式管理"
                ],
                "summary": "删除支付方式",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/paymentType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "支付方式管理"
                ],
                "summary": "获取支付方式列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "PaymentTypeKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "PaymentTypeQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.PaymentType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/paymentType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "支付方式管理"
                ],
                "summary": "更新支付方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdatePaymentType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/plan/add": {
            "post": {
                "produces": [
@@ -3252,6 +4008,128 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdatePossibilities"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/priorityLevel/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "优先级别管理"
                ],
                "summary": "添加优先级别",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddPriorityLevel"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/priorityLevel/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "优先级别管理"
                ],
                "summary": "删除优先级别",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/priorityLevel/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "优先级别管理"
                ],
                "summary": "获取优先级别列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.PriorityLevel"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/priorityLevel/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "优先级别管理"
                ],
                "summary": "更新优先级别",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdatePriorityLevel"
                        }
                    }
                ],
@@ -3659,6 +4537,169 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateQuotationStatuss"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/receipt/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款单管理"
                ],
                "summary": "添加收款单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddReceipt"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/receipt/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款单管理"
                ],
                "summary": "删除收款单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/receipt/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款单管理"
                ],
                "summary": "获取收款单列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "ReceiptKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "ReceiptQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.Receipt"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/receipt/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款单管理"
                ],
                "summary": "更新收款单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateReceipt"
                        }
                    }
                ],
@@ -5658,6 +6699,136 @@
                }
            }
        },
        "/api/serviceCollectionPlan/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款计划管理"
                ],
                "summary": "添加收款计划",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceCollectionPlan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceCollectionPlan/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款计划管理"
                ],
                "summary": "删除收款计划",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceCollectionPlan/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款计划管理"
                ],
                "summary": "获取收款计划列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "服务合同id",
                        "name": "serviceContractId",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.ServiceCollectionPlan"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceCollectionPlan/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "收款计划管理"
                ],
                "summary": "更新收款计划",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceCollectionPlan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContract/add": {
            "post": {
                "produces": [
@@ -6286,6 +7457,372 @@
                }
            }
        },
        "/api/serviceOrder/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务单管理"
                ],
                "summary": "添加服务单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceOrder/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务单管理"
                ],
                "summary": "删除服务单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceOrder/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务单管理"
                ],
                "summary": "获取服务单列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.ServiceOrder"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceOrder/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务单管理"
                ],
                "summary": "更新服务单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务方式管理"
                ],
                "summary": "添加服务方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务方式管理"
                ],
                "summary": "删除服务方式",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务方式管理"
                ],
                "summary": "获取服务方式列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.ServiceType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务方式管理"
                ],
                "summary": "更新服务方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/severity/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "严重程度管理"
                ],
                "summary": "添加严重程度",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddSeverity"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/severity/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "严重程度管理"
                ],
                "summary": "删除严重程度",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/severity/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "严重程度管理"
                ],
                "summary": "获取严重程度列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.Severity"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/severity/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "严重程度管理"
                ],
                "summary": "更新严重程度",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSeverity"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/solveRate/add": {
            "post": {
                "produces": [
@@ -6629,6 +8166,128 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSubOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/timeSpent/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "花费时间管理"
                ],
                "summary": "添加花费时间",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddTimeSpent"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/timeSpent/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "花费时间管理"
                ],
                "summary": "删除花费时间",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/timeSpent/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "花费时间管理"
                ],
                "summary": "获取花费时间列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.TimeSpent"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/timeSpent/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "花费时间管理"
                ],
                "summary": "更新花费时间",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateTimeSpent"
                        }
                    }
                ],
@@ -7076,6 +8735,111 @@
        }
    },
    "definitions": {
        "constvar.BankAccountKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "BankAccountKeywordCustomerName"
            ]
        },
        "constvar.BankAccountQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "BankAccountQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.CollectionStatus": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-comments": {
                "CollectionStatusCollected": "已收款",
                "CollectionStatusUnCollected": "待收款"
            },
            "x-enum-varnames": [
                "CollectionStatusUnCollected",
                "CollectionStatusCollected"
            ]
        },
        "constvar.FaqKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "FaqKeywordCustomerName"
            ]
        },
        "constvar.FaqQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "FaqQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.FileKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "FileKeywordCustomerName"
            ]
        },
        "constvar.FileQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "FileQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.PaymentTypeKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "PaymentTypeKeywordCustomerName"
            ]
        },
        "constvar.PaymentTypeQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "PaymentTypeQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.ReceiptKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "ReceiptKeywordCustomerName"
            ]
        },
        "constvar.ReceiptQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "ReceiptQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.SalesStatus": {
            "type": "integer",
            "enum": [
@@ -7268,6 +9032,17 @@
                    "items": {
                        "$ref": "#/definitions/model.Menu"
                    }
                }
            }
        },
        "model.BankAccount": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -7712,6 +9487,86 @@
                }
            }
        },
        "model.Faq": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.FaultType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.File": {
            "type": "object",
            "properties": {
                "bucket": {
                    "description": "对象存储bucket",
                    "type": "string"
                },
                "content": {
                    "description": "文件内容",
                    "type": "string"
                },
                "createTime": {
                    "description": "创建时间",
                    "type": "string"
                },
                "downloadCount": {
                    "description": "下次次数",
                    "type": "integer"
                },
                "filePath": {
                    "description": "文件路径",
                    "type": "string"
                },
                "fileType": {
                    "description": "文件类型",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "key": {
                    "description": "对象存储key",
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "previewCount": {
                    "description": "预览次数",
                    "type": "integer"
                },
                "size": {
                    "description": "文件大小",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "来源id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "附件来源",
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
        "model.FollowRecord": {
            "type": "object",
            "properties": {
@@ -7906,6 +9761,17 @@
                }
            }
        },
        "model.PaymentType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Plan": {
            "type": "object",
            "properties": {
@@ -7948,6 +9814,17 @@
            }
        },
        "model.Possibility": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.PriorityLevel": {
            "type": "object",
            "properties": {
                "id": {
@@ -8053,6 +9930,54 @@
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Receipt": {
            "type": "object",
            "properties": {
                "bankAccountId": {
                    "description": "账户id",
                    "type": "integer"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "paymentTypeId": {
                    "description": "收款方式ID",
                    "type": "integer"
                },
                "principalId": {
                    "description": "负责人id",
                    "type": "integer"
                },
                "receiptDate": {
                    "description": "收款日期",
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                    "type": "integer"
                }
            }
        },
@@ -8508,6 +10433,66 @@
                }
            }
        },
        "model.ServiceCollectionPlan": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "金额",
                    "type": "number"
                },
                "collectionDate": {
                    "description": "计划收款日期",
                    "type": "string"
                },
                "collectionType": {
                    "description": "类型(1 计划收款日期 2 项目状态)",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "percent": {
                    "description": "比例",
                    "type": "number"
                },
                "principalId": {
                    "description": "收款负责人ID",
                    "type": "integer"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细2服务合同3销售发票)",
                    "type": "integer"
                },
                "status": {
                    "description": "状态(1未收2已收)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.CollectionStatus"
                        }
                    ]
                },
                "term": {
                    "description": "期次",
                    "type": "integer"
                }
            }
        },
        "model.ServiceContract": {
            "type": "object",
            "properties": {
@@ -8657,11 +10642,180 @@
                "serviceId": {
                    "type": "integer"
                },
                "serviceOrder": {
                    "$ref": "#/definitions/model.ServiceOrder"
                },
                "solveRateId": {
                    "type": "integer"
                },
                "timelyRateId": {
                    "type": "integer"
                }
            }
        },
        "model.ServiceOrder": {
            "type": "object",
            "properties": {
                "address": {
                    "description": "上门地址",
                    "type": "string"
                },
                "appointmentTime": {
                    "description": "预约上门时间",
                    "type": "string"
                },
                "carFare": {
                    "description": "交通费",
                    "type": "number"
                },
                "chargeAmount": {
                    "description": "收费金额",
                    "type": "number"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
                "contactId": {
                    "description": "联系人id",
                    "type": "integer"
                },
                "contract": {
                    "$ref": "#/definitions/model.Contract"
                },
                "contractId": {
                    "description": "合同id",
                    "type": "integer"
                },
                "expectTime": {
                    "description": "希望处理时间",
                    "type": "string"
                },
                "faq": {
                    "$ref": "#/definitions/model.Faq"
                },
                "faqId": {
                    "description": "常见问题id",
                    "type": "integer"
                },
                "faultType": {
                    "$ref": "#/definitions/model.FaultType"
                },
                "faultTypeId": {
                    "description": "故障类别id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "orderId": {
                    "description": "销售订单id",
                    "type": "integer"
                },
                "orderManage": {
                    "$ref": "#/definitions/model.OrderManage"
                },
                "priorityLevel": {
                    "$ref": "#/definitions/model.PriorityLevel"
                },
                "priorityLevelId": {
                    "description": "优先级别id",
                    "type": "integer"
                },
                "problemDesc": {
                    "description": "问题描述",
                    "type": "string"
                },
                "product": {
                    "$ref": "#/definitions/model.Product"
                },
                "productId": {
                    "description": "产品id",
                    "type": "integer"
                },
                "realTime": {
                    "description": "实际处理时间",
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "saleChance": {
                    "$ref": "#/definitions/model.SaleChance"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                },
                "serviceManId": {
                    "description": "服务人员",
                    "type": "integer"
                },
                "serviceNumber": {
                    "description": "服务单编号",
                    "type": "string"
                },
                "serviceType": {
                    "$ref": "#/definitions/model.ServiceType"
                },
                "serviceTypeId": {
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                    "$ref": "#/definitions/model.Severity"
                },
                "solution": {
                    "description": "解决方法",
                    "type": "string"
                },
                "solutionRemark": {
                    "description": "内部备注",
                    "type": "string"
                },
                "status": {
                    "description": "处理状态",
                    "type": "integer"
                },
                "subject": {
                    "description": "主题",
                    "type": "string"
                },
                "timeSpent": {
                    "$ref": "#/definitions/model.TimeSpent"
                },
                "timeSpentId": {
                    "description": "花费时间",
                    "type": "integer"
                }
            }
        },
        "model.ServiceType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Severity": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -8713,6 +10867,17 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
        "model.TimeSpent": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -8801,6 +10966,17 @@
                    "items": {
                        "$ref": "#/definitions/request.CasbinInfo"
                    }
                }
            }
        },
        "request.AddBankAccount": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -9107,6 +11283,28 @@
                }
            }
        },
        "request.AddFaq": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddFaultType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddFollowRecord": {
            "type": "object",
            "required": [
@@ -9217,6 +11415,17 @@
                }
            }
        },
        "request.AddPaymentType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddPlan": {
            "type": "object",
            "properties": {
@@ -9231,6 +11440,17 @@
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddPriorityLevel": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
@@ -9285,6 +11505,54 @@
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddReceipt": {
            "type": "object",
            "properties": {
                "bankAccountId": {
                    "description": "账户id",
                    "type": "integer"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "paymentTypeId": {
                    "description": "收款方式ID",
                    "type": "integer"
                },
                "principalId": {
                    "description": "负责人id",
                    "type": "integer"
                },
                "receiptDate": {
                    "description": "收款日期",
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                    "type": "integer"
                }
            }
        },
@@ -9584,6 +11852,20 @@
                }
            }
        },
        "request.AddServiceCollectionPlan": {
            "type": "object",
            "required": [
                "list"
            ],
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceCollectionPlan"
                    }
                }
            }
        },
        "request.AddServiceContract": {
            "type": "object",
            "properties": {
@@ -9808,6 +12090,137 @@
                }
            }
        },
        "request.AddServiceOrder": {
            "type": "object",
            "properties": {
                "address": {
                    "description": "上门地址",
                    "type": "string"
                },
                "appointmentTime": {
                    "description": "预约上门时间",
                    "type": "string"
                },
                "carFare": {
                    "description": "交通费",
                    "type": "number"
                },
                "chargeAmount": {
                    "description": "收费金额",
                    "type": "number"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "contactId": {
                    "description": "联系人id",
                    "type": "integer"
                },
                "contractId": {
                    "description": "合同id",
                    "type": "integer"
                },
                "expectTime": {
                    "description": "希望处理时间",
                    "type": "string"
                },
                "faqId": {
                    "description": "常见问题id",
                    "type": "integer"
                },
                "faultTypeId": {
                    "description": "故障类别id",
                    "type": "integer"
                },
                "orderId": {
                    "description": "销售订单id",
                    "type": "integer"
                },
                "priorityLevelId": {
                    "description": "优先级别id",
                    "type": "integer"
                },
                "problemDesc": {
                    "description": "问题描述",
                    "type": "string"
                },
                "productId": {
                    "description": "产品id",
                    "type": "integer"
                },
                "realTime": {
                    "description": "实际处理时间",
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                },
                "serviceManId": {
                    "description": "服务人员",
                    "type": "integer"
                },
                "serviceNumber": {
                    "description": "服务单编号",
                    "type": "string"
                },
                "serviceTypeId": {
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                    "description": "严重程度id",
                    "type": "integer"
                },
                "solution": {
                    "description": "解决方法",
                    "type": "string"
                },
                "solutionRemark": {
                    "description": "内部备注",
                    "type": "string"
                },
                "status": {
                    "description": "处理状态",
                    "type": "integer"
                },
                "subject": {
                    "description": "主题",
                    "type": "string"
                },
                "timeSpentId": {
                    "description": "花费时间",
                    "type": "integer"
                }
            }
        },
        "request.AddServiceType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddSeverity": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddSolveRate": {
            "type": "object",
            "required": [
@@ -9850,6 +12263,17 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
        "request.AddTimeSpent": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -10147,6 +12571,28 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetFaqList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.FaqKeywordType"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "queryClass": {
                    "$ref": "#/definitions/constvar.FaqQueryClass"
                }
            }
        },
@@ -10722,6 +13168,17 @@
                }
            }
        },
        "request.UpdateBankAccount": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateCities": {
            "type": "object",
            "properties": {
@@ -11200,6 +13657,86 @@
                }
            }
        },
        "request.UpdateFaq": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateFaultType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateFile": {
            "type": "object",
            "properties": {
                "bucket": {
                    "description": "对象存储bucket",
                    "type": "string"
                },
                "content": {
                    "description": "文件内容",
                    "type": "string"
                },
                "createTime": {
                    "description": "创建时间",
                    "type": "string"
                },
                "downloadCount": {
                    "description": "下次次数",
                    "type": "integer"
                },
                "filePath": {
                    "description": "文件路径",
                    "type": "string"
                },
                "fileType": {
                    "description": "文件类型",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "key": {
                    "description": "对象存储key",
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "previewCount": {
                    "description": "预览次数",
                    "type": "integer"
                },
                "size": {
                    "description": "文件大小",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "来源id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "附件来源",
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
        "request.UpdateFollowRecord": {
            "type": "object",
            "required": [
@@ -11391,6 +13928,17 @@
                }
            }
        },
        "request.UpdatePaymentType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdatePlan": {
            "type": "object",
            "properties": {
@@ -11422,6 +13970,17 @@
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdatePriorityLevel": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
@@ -11517,6 +14076,54 @@
                    "items": {
                        "$ref": "#/definitions/request.UpdateQuotationStatus"
                    }
                }
            }
        },
        "request.UpdateReceipt": {
            "type": "object",
            "properties": {
                "bankAccountId": {
                    "description": "账户id",
                    "type": "integer"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "paymentTypeId": {
                    "description": "收款方式ID",
                    "type": "integer"
                },
                "principalId": {
                    "description": "负责人id",
                    "type": "integer"
                },
                "receiptDate": {
                    "description": "收款日期",
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                    "type": "integer"
                }
            }
        },
@@ -12024,6 +14631,66 @@
                }
            }
        },
        "request.UpdateServiceCollectionPlan": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "金额",
                    "type": "number"
                },
                "collectionDate": {
                    "description": "计划收款日期",
                    "type": "string"
                },
                "collectionType": {
                    "description": "类型(1 计划收款日期 2 项目状态)",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "percent": {
                    "description": "比例",
                    "type": "number"
                },
                "principalId": {
                    "description": "收款负责人ID",
                    "type": "integer"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细2服务合同3销售发票)",
                    "type": "integer"
                },
                "status": {
                    "description": "状态(1未收2已收)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.CollectionStatus"
                        }
                    ]
                },
                "term": {
                    "description": "期次",
                    "type": "integer"
                }
            }
        },
        "request.UpdateServiceContract": {
            "type": "object",
            "properties": {
@@ -12291,6 +14958,140 @@
                }
            }
        },
        "request.UpdateServiceOrder": {
            "type": "object",
            "properties": {
                "address": {
                    "description": "上门地址",
                    "type": "string"
                },
                "appointmentTime": {
                    "description": "预约上门时间",
                    "type": "string"
                },
                "carFare": {
                    "description": "交通费",
                    "type": "number"
                },
                "chargeAmount": {
                    "description": "收费金额",
                    "type": "number"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "contactId": {
                    "description": "联系人id",
                    "type": "integer"
                },
                "contractId": {
                    "description": "合同id",
                    "type": "integer"
                },
                "expectTime": {
                    "description": "希望处理时间",
                    "type": "string"
                },
                "faqId": {
                    "description": "常见问题id",
                    "type": "integer"
                },
                "faultTypeId": {
                    "description": "故障类别id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "orderId": {
                    "description": "销售订单id",
                    "type": "integer"
                },
                "priorityLevelId": {
                    "description": "优先级别id",
                    "type": "integer"
                },
                "problemDesc": {
                    "description": "问题描述",
                    "type": "string"
                },
                "productId": {
                    "description": "产品id",
                    "type": "integer"
                },
                "realTime": {
                    "description": "实际处理时间",
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                },
                "serviceManId": {
                    "description": "服务人员",
                    "type": "integer"
                },
                "serviceNumber": {
                    "description": "服务单编号",
                    "type": "string"
                },
                "serviceTypeId": {
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                    "description": "严重程度id",
                    "type": "integer"
                },
                "solution": {
                    "description": "解决方法",
                    "type": "string"
                },
                "solutionRemark": {
                    "description": "内部备注",
                    "type": "string"
                },
                "status": {
                    "description": "处理状态",
                    "type": "integer"
                },
                "subject": {
                    "description": "主题",
                    "type": "string"
                },
                "timeSpentId": {
                    "description": "花费时间",
                    "type": "integer"
                }
            }
        },
        "request.UpdateServiceType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateSeverity": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateSolveRate": {
            "type": "object",
            "required": [
@@ -12372,6 +15173,17 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
        "request.UpdateTimeSpent": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -12879,6 +15691,21 @@
                }
            }
        },
        "response.ListResponse": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "integer"
                },
                "count": {
                    "type": "integer"
                },
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        },
        "response.LoginResponse": {
            "type": "object",
            "properties": {