zhangqian
2023-08-08 bbe24137c96c17cd8d481e1dc58d4265ab8a24e8
docs/docs.go
@@ -143,7 +143,7 @@
                "tags": [
                    "Assign"
                ],
                "summary": "审核",
                "summary": "分配",
                "parameters": [
                    {
                        "description": "查询参数",
@@ -228,6 +228,169 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SetAuthorityMenu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/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"
                        }
                    }
                ],
@@ -1109,7 +1272,7 @@
                }
            }
        },
        "/api/contact/delete/{id}": {
        "/api/contact/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -1120,11 +1283,13 @@
                "summary": "删除联系人",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteContact"
                        }
                    }
                ],
                "responses": {
@@ -1447,6 +1612,169 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateCountry"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/courierCompany/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "物流公司"
                ],
                "summary": "添加物流公司",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddCourierCompany"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/courierCompany/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/courierCompany/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "物流公司"
                ],
                "summary": "获取物流公司列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "CourierCompanyKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "CourierCompanyQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.CourierCompany"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/courierCompany/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "物流公司"
                ],
                "summary": "更新物流公司",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateCourierCompany"
                        }
                    }
                ],
@@ -2141,6 +2469,17 @@
                    "常见问题管理"
                ],
                "summary": "获取常见问题列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetFaqList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -2318,6 +2657,151 @@
                }
            }
        },
        "/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/followRecord/add": {
            "post": {
                "produces": [
@@ -2348,7 +2832,7 @@
                }
            }
        },
        "/api/followRecord/delete/{id}": {
        "/api/followRecord/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -2359,11 +2843,13 @@
                "summary": "删除跟进记录",
                "parameters": [
                    {
                        "type": "string",
                        "description": "跟进记录id",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteFollowRecord"
                        }
                    }
                ],
                "responses": {
@@ -2585,6 +3071,495 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateIndustries"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/invoice/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "销售发票"
                ],
                "summary": "添加销售发票",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddInvoice"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/invoice/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/invoice/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "销售发票"
                ],
                "summary": "获取销售发票列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.Invoice"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/invoice/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "销售发票"
                ],
                "summary": "更新销售发票",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateInvoice"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/invoiceStatus/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "发票状态"
                ],
                "summary": "添加发票状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddInvoiceStatus"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/invoiceStatus/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/invoiceStatus/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "发票状态"
                ],
                "summary": "获取发票状态列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceStatusKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceStatusQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.InvoiceStatus"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/invoiceStatus/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "发票状态"
                ],
                "summary": "更新发票状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateInvoiceStatus"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/invoiceType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "发票类型"
                ],
                "summary": "添加发票类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddInvoiceType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/invoiceType/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/invoiceType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "发票类型"
                ],
                "summary": "获取发票类型列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceTypeKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceTypeQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.InvoiceType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/invoiceType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "发票类型"
                ],
                "summary": "更新发票类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateInvoiceType"
                        }
                    }
                ],
@@ -3041,7 +4016,7 @@
                }
            }
        },
        "/api/orderManage/delete/{id}": {
        "/api/orderManage/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -3052,11 +4027,13 @@
                "summary": "删除工单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteOrderManage"
                        }
                    }
                ],
                "responses": {
@@ -3247,6 +4224,169 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateOrderTypes"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/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"
                        }
                    }
                ],
@@ -4025,6 +5165,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"
                        }
                    }
                ],
@@ -5307,7 +6610,7 @@
                }
            }
        },
        "/api/salesLeads/delete/{id}": {
        "/api/salesLeads/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -5318,11 +6621,13 @@
                "summary": "删除销售线索",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteSalesLeads"
                        }
                    }
                ],
                "responses": {
@@ -6024,6 +7329,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": [
@@ -6054,7 +7489,7 @@
                }
            }
        },
        "/api/serviceContract/delete/{id}": {
        "/api/serviceContract/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -6065,11 +7500,13 @@
                "summary": "删除服务合同",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteserviceContract"
                        }
                    }
                ],
                "responses": {
@@ -6422,7 +7859,7 @@
                }
            }
        },
        "/api/serviceFeeManage/delete/{id}": {
        "/api/serviceFeeManage/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -6433,11 +7870,13 @@
                "summary": "删除服务费管理",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteServiceFeeManage"
                        }
                    }
                ],
                "responses": {
@@ -6552,7 +7991,7 @@
                }
            }
        },
        "/api/serviceFollowup/delete/{id}": {
        "/api/serviceFollowup/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -6563,11 +8002,13 @@
                "summary": "删除服务跟进",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteServiceFollowup"
                        }
                    }
                ],
                "responses": {
@@ -7930,28 +9371,217 @@
        }
    },
    "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.CourierCompanyKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "CourierCompanyKeywordCustomerName"
            ]
        },
        "constvar.CourierCompanyQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "CourierCompanyQueryClassExpireLessThen60Days"
            ]
        },
        "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.InvoiceKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceKeywordCustomerName"
            ]
        },
        "constvar.InvoiceQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.InvoiceSourceType": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-varnames": [
                "InvoiceSourceTypeSaleDetail",
                "InvoiceSourceTypeServiceContract"
            ]
        },
        "constvar.InvoiceStatusKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceStatusKeywordCustomerName"
            ]
        },
        "constvar.InvoiceStatusQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceStatusQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.InvoiceTypeKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceTypeKeywordCustomerName"
            ]
        },
        "constvar.InvoiceTypeQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceTypeQueryClassExpireLessThen60Days"
            ]
        },
        "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": [
                -1,
                1,
                2,
                3,
                4,
                5,
                6
                5
            ],
            "x-enum-comments": {
                "SalesStatusFail": "失败",
                "SalesStatusIng": "进行中",
                "SalesStatusLevelUptoClient": "升级为客户",
                "SalesStatusLevelUptoClientAndSalesChance": "升级为客户并且有销售机会",
                "SalesStatusNew": "新建",
                "SalesStatusSuccess": "成功"
            },
            "x-enum-varnames": [
                "SalesStatusFail",
                "SalesStatusNew",
                "SalesStatusIng",
                "SalesStatusSuccess",
                "SalesStatusFail",
                "SalesStatusLevelUptoClient",
                "SalesStatusLevelUptoClientAndSalesChance"
            ]
@@ -8122,6 +9752,17 @@
                    "items": {
                        "$ref": "#/definitions/model.Menu"
                    }
                }
            }
        },
        "model.BankAccount": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -8496,6 +10137,17 @@
                }
            }
        },
        "model.CourierCompany": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Currency": {
            "type": "object",
            "properties": {
@@ -8588,6 +10240,50 @@
                }
            }
        },
        "model.File": {
            "type": "object",
            "properties": {
                "bucket": {
                    "description": "对象存储bucket",
                    "type": "string"
                },
                "downloadCount": {
                    "description": "下次次数",
                    "type": "integer"
                },
                "filePath": {
                    "description": "文件路径",
                    "type": "string"
                },
                "fileType": {
                    "description": "文件类型",
                    "type": "string"
                },
                "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"
                }
            }
        },
        "model.FollowRecord": {
            "type": "object",
            "properties": {
@@ -8645,6 +10341,100 @@
            }
        },
        "model.Industry": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Invoice": {
            "type": "object",
            "properties": {
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "courierCompany": {
                    "$ref": "#/definitions/model.CourierCompany"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
                },
                "courierNumber": {
                    "description": "物流单号",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "invoiceDate": {
                    "description": "开票日期",
                    "type": "string"
                },
                "invoiceNumber": {
                    "description": "发票号码",
                    "type": "string"
                },
                "invoiceStatus": {
                    "$ref": "#/definitions/model.InvoiceStatus"
                },
                "invoiceStatusId": {
                    "description": "发票状态id",
                    "type": "integer"
                },
                "invoiceType": {
                    "$ref": "#/definitions/model.InvoiceType"
                },
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "principalId": {
                    "description": "销售负责人id",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细单2服务合同)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.InvoiceSourceType"
                        }
                    ]
                },
                "subject": {
                    "description": "主题",
                    "type": "string"
                },
                "taxpayerIdNumber": {
                    "description": "纳税识别号",
                    "type": "string"
                }
            }
        },
        "model.InvoiceStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.InvoiceType": {
            "type": "object",
            "properties": {
                "id": {
@@ -8772,6 +10562,17 @@
            }
        },
        "model.OrderType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.PaymentType": {
            "type": "object",
            "properties": {
                "id": {
@@ -8940,6 +10741,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"
                }
            }
        },
@@ -9395,9 +11244,81 @@
                }
            }
        },
        "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": {
                "amountInvoiced": {
                    "description": "已开票金额",
                    "type": "number"
                },
                "amountReceivable": {
                    "description": "应收金额",
                    "type": "number"
                },
                "amountReceived": {
                    "description": "已收金额",
                    "type": "number"
                },
                "clientId": {
                    "type": "integer"
                },
@@ -9543,6 +11464,9 @@
                },
                "serviceId": {
                    "type": "integer"
                },
                "serviceOrder": {
                    "$ref": "#/definitions/model.ServiceOrder"
                },
                "solveRateId": {
                    "type": "integer"
@@ -9868,6 +11792,17 @@
                }
            }
        },
        "request.AddBankAccount": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddCity": {
            "type": "object",
            "properties": {
@@ -9969,6 +11904,10 @@
                "representative": {
                    "description": "法人代表",
                    "type": "string"
                },
                "sales_leads_id": {
                    "description": "销售线索ID",
                    "type": "integer"
                },
                "service_member_id": {
                    "description": "服务负责人ID",
@@ -10107,6 +12046,17 @@
                }
            }
        },
        "request.AddCourierCompany": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddCurrency": {
            "type": "object",
            "required": [
@@ -10215,6 +12165,85 @@
                }
            }
        },
        "request.AddInvoice": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
                },
                "courierNumber": {
                    "description": "物流单号",
                    "type": "string"
                },
                "invoiceDate": {
                    "description": "开票日期",
                    "type": "string"
                },
                "invoiceNumber": {
                    "description": "发票号码",
                    "type": "string"
                },
                "invoiceStatusId": {
                    "description": "发票状态id",
                    "type": "integer"
                },
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "principalId": {
                    "description": "销售负责人id",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细单2服务合同)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.InvoiceSourceType"
                        }
                    ]
                },
                "subject": {
                    "description": "主题",
                    "type": "string"
                },
                "taxpayerIdNumber": {
                    "description": "纳税识别号",
                    "type": "string"
                }
            }
        },
        "request.AddInvoiceStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddInvoiceType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddIsInvoice": {
            "type": "object",
            "required": [
@@ -10303,6 +12332,17 @@
                }
            }
        },
        "request.AddPaymentType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddPlan": {
            "type": "object",
            "properties": {
@@ -10382,6 +12422,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"
                }
            }
        },
@@ -10681,6 +12769,20 @@
                }
            }
        },
        "request.AddServiceCollectionPlan": {
            "type": "object",
            "required": [
                "list"
            ],
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceCollectionPlan"
                    }
                }
            }
        },
        "request.AddServiceContract": {
            "type": "object",
            "properties": {
@@ -10854,6 +12956,10 @@
                "representative": {
                    "description": "法人代表",
                    "type": "string"
                },
                "sales_leads_id": {
                    "description": "销售线索ID",
                    "type": "integer"
                },
                "service_member_id": {
                    "description": "服务负责人ID",
@@ -11133,8 +13239,11 @@
        "request.Assign": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "member_id": {
                    "type": "integer"
@@ -11276,6 +13385,17 @@
                }
            }
        },
        "request.DeleteContact": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteCountry": {
            "type": "object",
            "properties": {
@@ -11285,12 +13405,78 @@
                }
            }
        },
        "request.DeleteFollowRecord": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteOrderManage": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteSalesLeads": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteServiceFeeManage": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteServiceFollowup": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteUserReq": {
            "type": "object",
            "properties": {
                "userId": {
                    "description": "用户ID",
                    "type": "string"
                }
            }
        },
        "request.DeleteserviceContract": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
@@ -11344,9 +13530,6 @@
        "request.GetClientList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -11354,6 +13537,10 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "search_map": {
                    "type": "object",
                    "additionalProperties": true
                }
            }
        },
@@ -11386,6 +13573,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"
                }
            }
        },
@@ -11961,6 +14170,17 @@
                }
            }
        },
        "request.UpdateBankAccount": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateCities": {
            "type": "object",
            "properties": {
@@ -12078,6 +14298,10 @@
                "representative": {
                    "description": "法人代表",
                    "type": "string"
                },
                "sales_leads_id": {
                    "description": "销售线索ID",
                    "type": "integer"
                },
                "service_member_id": {
                    "description": "服务负责人ID",
@@ -12306,6 +14530,17 @@
                }
            }
        },
        "request.UpdateCourierCompany": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateCurrency": {
            "type": "object",
            "required": [
@@ -12504,6 +14739,84 @@
                }
            }
        },
        "request.UpdateInvoice": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
                },
                "courierNumber": {
                    "description": "物流单号",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "invoiceDate": {
                    "description": "开票日期",
                    "type": "integer"
                },
                "invoiceNumber": {
                    "description": "发票号码",
                    "type": "string"
                },
                "invoiceStatusId": {
                    "description": "发票状态id",
                    "type": "integer"
                },
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "principalId": {
                    "description": "销售负责人id",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细单2服务合同)",
                    "type": "integer"
                },
                "subject": {
                    "description": "主题",
                    "type": "string"
                },
                "taxpayerIdNumber": {
                    "description": "纳税识别号",
                    "type": "string"
                }
            }
        },
        "request.UpdateInvoiceStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateInvoiceType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateIsInvoice": {
            "type": "object",
            "required": [
@@ -12652,6 +14965,17 @@
                }
            }
        },
        "request.UpdatePaymentType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdatePlan": {
            "type": "object",
            "properties": {
@@ -12789,6 +15113,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"
                }
            }
        },
@@ -13296,6 +15668,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": {
@@ -13510,6 +15942,10 @@
                    "description": "法人代表",
                    "type": "string"
                },
                "sales_leads_id": {
                    "description": "销售线索ID",
                    "type": "integer"
                },
                "service_member_id": {
                    "description": "服务负责人ID",
                    "type": "integer"