zhangqian
2023-08-02 6e9274c27ffc8fe7f41e2c3c06a239d4c3fb09e5
docs/docs.go
@@ -16,6 +16,155 @@
    "host": "{{.Host}}",
    "basePath": "{{.BasePath}}",
    "paths": {
        "/api/accountId/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "AccountId"
                ],
                "summary": "添加账户",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddAccountId"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/accountId/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "AccountId"
                ],
                "summary": "删除账户",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/accountId/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "AccountId"
                ],
                "summary": "获取账户列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.AccountIdResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/accountId/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "AccountId"
                ],
                "summary": "更新账户",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateAccountIds"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/assign/assign": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Assign"
                ],
                "summary": "审核",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.Assign"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/authority/add": {
            "post": {
                "security": [
@@ -352,7 +501,7 @@
                }
            }
        },
        "/api/client/delete/{id}": {
        "/api/client/delete": {
            "delete": {
                "produces": [
                    "application/json"
@@ -363,11 +512,13 @@
                "summary": "删除客户",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "客户ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteClient"
                        }
                    }
                ],
                "responses": {
@@ -381,14 +532,25 @@
            }
        },
        "/api/client/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Client"
                ],
                "summary": "获取客户列表",
                "summary": "客户列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetClientList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -976,7 +1138,7 @@
            }
        },
        "/api/contact/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -984,6 +1146,17 @@
                    "Contact"
                ],
                "summary": "联系人列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetContactList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -1095,14 +1268,25 @@
            }
        },
        "/api/contract/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "获取合同列表",
                "summary": "销售合同列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetContractList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -1263,6 +1447,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateCountry"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/currency/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "添加币种",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddCurrency"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/currency/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "删除币种",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/currency/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "获取币种列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.CurrencyResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/currency/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "更新币种",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateCurrencys"
                        }
                    }
                ],
@@ -1830,14 +2133,25 @@
            }
        },
        "/api/followRecord/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "FollowRecord"
                ],
                "summary": "获取跟进记录列表",
                "summary": "回访记录列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetFollowRecordList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -2040,6 +2354,125 @@
                }
            }
        },
        "/api/isInvoice/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "添加是否开票",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddIsInvoice"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isInvoice/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "删除是否开票",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isInvoice/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "获取是否开票列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.IsInvoiceResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/isInvoice/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "更新是否开票",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateIsInvoices"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isVisit/add": {
            "post": {
                "produces": [
@@ -2218,14 +2651,25 @@
            }
        },
        "/api/masterOrder/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "MasterOrder"
                ],
                "summary": "主订单列表",
                "summary": "销售总单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetMasterOrderList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -2331,7 +2775,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "添加订单",
                "summary": "添加工单",
                "parameters": [
                    {
                        "description": "查询参数",
@@ -2361,7 +2805,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "删除订单",
                "summary": "删除工单",
                "parameters": [
                    {
                        "type": "integer",
@@ -2382,19 +2826,42 @@
            }
        },
        "/api/orderManage/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderManage"
                ],
                "summary": "订单列表",
                "summary": "工单管理列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetOrderManageList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.OrderManageResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -2408,7 +2875,7 @@
                "tags": [
                    "OrderManage"
                ],
                "summary": "更新订单",
                "summary": "更新工单",
                "parameters": [
                    {
                        "description": "查询参数",
@@ -2417,6 +2884,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateOrderManage"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderType"
                ],
                "summary": "添加工单类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddOrderType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderType"
                ],
                "summary": "删除工单类型",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderType"
                ],
                "summary": "获取工单类型列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.OrderTypeResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/orderType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderType"
                ],
                "summary": "更新工单类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateOrderTypes"
                        }
                    }
                ],
@@ -2489,14 +3075,25 @@
            }
        },
        "/api/plan/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Plan"
                ],
                "summary": "获取计划列表",
                "summary": "生成计划列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetPlanList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -2885,7 +3482,7 @@
            }
        },
        "/api/quotation/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -2893,6 +3490,17 @@
                    "Quotation"
                ],
                "summary": "报价单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetQuotationList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -2932,6 +3540,244 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateQuotation"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/quotationStatus/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "QuotationStatus"
                ],
                "summary": "添加报价单状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddQuotationStatus"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/quotationStatus/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "QuotationStatus"
                ],
                "summary": "删除报价单状态",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/quotationStatus/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "QuotationStatus"
                ],
                "summary": "获取报价单状态列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.QuotationStatusResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/quotationStatus/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "QuotationStatus"
                ],
                "summary": "更新报价单状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateQuotationStatuss"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundMethod/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RefundMethod"
                ],
                "summary": "添加退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddRefundMethod"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundMethod/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RefundMethod"
                ],
                "summary": "删除退款方式",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundMethod/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RefundMethod"
                ],
                "summary": "获取退款方式列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.RefundMethodResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/refundMethod/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RefundMethod"
                ],
                "summary": "更新退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundMethods"
                        }
                    }
                ],
@@ -3329,6 +4175,244 @@
                }
            }
        },
        "/api/reportSource/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "添加报表来源",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddReportSource"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/reportSource/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "删除报表来源",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/reportSource/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "获取报表来源列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ReportSourceResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/reportSource/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ReportSource"
                ],
                "summary": "更新报表来源",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateReportSources"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/repository/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Repository"
                ],
                "summary": "添加退货仓库",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddRepository"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/repository/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Repository"
                ],
                "summary": "删除退货仓库",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/repository/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Repository"
                ],
                "summary": "获取退货仓库列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.RepositoryResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/repository/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Repository"
                ],
                "summary": "更新退货仓库",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRepositorys"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/saleChance/add": {
            "post": {
                "produces": [
@@ -3388,14 +4472,25 @@
            }
        },
        "/api/saleChance/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SaleChance"
                ],
                "summary": "获取销售机会列表",
                "summary": "销售机会列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetSaleChanceList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -3745,14 +4840,25 @@
            }
        },
        "/api/salesDetails/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取销售明细列表",
                "summary": "销售明细单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetSalesDetailsList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -3864,14 +4970,25 @@
            }
        },
        "/api/salesLeads/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesLeads"
                ],
                "summary": "获取销售线索列表",
                "summary": "销售线索列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetSalesLeadsList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -3983,14 +5100,25 @@
            }
        },
        "/api/salesRefund/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesRefund"
                ],
                "summary": "销售退款列表",
                "summary": "销售退款单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetSalesRefundList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -4102,14 +5230,25 @@
            }
        },
        "/api/salesReturn/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturn"
                ],
                "summary": "获取销售退货列表",
                "summary": "销售退货单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetSalesReturnList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -4149,6 +5288,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesReturnRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturnStatus/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturnStatus"
                ],
                "summary": "添加退货单状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddSalesReturnStatus"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturnStatus/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturnStatus"
                ],
                "summary": "删除退货单状态",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturnStatus/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturnStatus"
                ],
                "summary": "获取退货单状态列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.SalesReturnStatusResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/salesReturnStatus/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturnStatus"
                ],
                "summary": "更新退货单状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesReturnStatuss"
                        }
                    }
                ],
@@ -4459,14 +5717,25 @@
            }
        },
        "/api/serviceContract/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContract"
                ],
                "summary": "服务合同列表",
                "summary": "生成计划列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetServiceContractList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -4506,6 +5775,244 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceContract"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractStatus/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractStatus"
                ],
                "summary": "添加服务合同状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceContractStatus"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractStatus/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractStatus"
                ],
                "summary": "删除服务合同状态",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractStatus/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractStatus"
                ],
                "summary": "获取服务合同状态列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceContractStatusResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceContractStatus/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractStatus"
                ],
                "summary": "更新服务合同状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceContractStatuss"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "添加服务合同类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceContractType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "删除服务合同类型",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "获取服务合同类型列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceContractTypeResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "更新服务合同类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceContractTypes"
                        }
                    }
                ],
@@ -4578,7 +6085,7 @@
            }
        },
        "/api/serviceFeeManage/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -4586,6 +6093,17 @@
                    "ServiceFeeManage"
                ],
                "summary": "服务费管理列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetServiceFeeManageList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -4697,14 +6215,25 @@
            }
        },
        "/api/serviceFollowup/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "服务跟进列表",
                "summary": "回访单管理列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetServiceFollowupList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -4882,7 +6411,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "添加状态",
                "parameters": [
@@ -4912,7 +6441,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "删除状态",
                "parameters": [
@@ -4940,7 +6469,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "状态列表",
                "responses": {
@@ -4959,7 +6488,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "更新状态",
                "parameters": [
@@ -5042,14 +6571,25 @@
            }
        },
        "/api/subOrder/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SubOrder"
                ],
                "summary": "获取子订单列表",
                "summary": "销售子单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetSubOrderList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -5503,30 +7043,39 @@
                    }
                }
            }
        },
        "/api/vetting/update": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Vetting"
                ],
                "summary": "更新审批",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateVetting"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "constvar.CurrencyType": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4
            ],
            "x-enum-comments": {
                "CurrencyTypeCNY": "人民币",
                "CurrencyTypeEUR": "欧元",
                "CurrencyTypeGBP": "英镑",
                "CurrencyTypeUSD": "美元"
            },
            "x-enum-varnames": [
                "CurrencyTypeCNY",
                "CurrencyTypeUSD",
                "CurrencyTypeEUR",
                "CurrencyTypeGBP"
            ]
        },
        "constvar.SalesStatus": {
            "type": "integer",
            "enum": [
@@ -5551,6 +7100,67 @@
                "SalesStatusFail",
                "SalesStatusLevelUptoClient",
                "SalesStatusLevelUptoClientAndSalesChance"
            ]
        },
        "constvar.ServiceContractKeywordType": {
            "type": "string",
            "enum": [
                "服务合同编号",
                "客户名称",
                "签约日期",
                "合同类型",
                "合同状态",
                "负责人",
                "产品名称",
                "服务开始日",
                "服务到期日",
                "价税合计"
            ],
            "x-enum-varnames": [
                "ServiceContractKeywordContractNo",
                "ServiceContractKeywordCustomerName",
                "ServiceContractKeywordContractDate",
                "ServiceContractKeywordContractType",
                "ServiceContractKeywordContractStatus",
                "ServiceContractKeywordPrincipal",
                "ServiceContractKeywordProductName",
                "ServiceContractKeywordServiceBeginDate",
                "ServiceContractKeywordServiceEndDate",
                "ServiceContractKeywordServiceTotalPrice"
            ]
        },
        "constvar.ServiceContractQueryClass": {
            "type": "string",
            "enum": [
                "30天后过期",
                "60天后过期",
                "已过期15天",
                "已过期60天"
            ],
            "x-enum-varnames": [
                "ServiceContractQueryClassExpireAfter30Day",
                "ServiceContractQueryClassExpireAfter60Day",
                "ServiceContractQueryClassExpiredBefore15Day",
                "ServiceContractQueryClassExpiredBefore60Day"
            ]
        },
        "constvar.ServiceFollowupKeywordType": {
            "type": "string",
            "enum": [
                "回访单编号",
                "客户名称",
                "联系人姓名",
                "客户服务单",
                "回访人",
                "满意度"
            ],
            "x-enum-varnames": [
                "ServiceFollowupKeywordFollowupNo",
                "ServiceFollowupKeywordCustomerName",
                "ServiceFollowupKeywordContactName",
                "ServiceFollowupKeywordCustomerServiceNo",
                "ServiceFollowupKeywordVisitor",
                "ServiceFollowupKeywordSatisfactionDegree"
            ]
        },
        "constvar.UserType": {
@@ -5579,6 +7189,17 @@
                },
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        },
        "model.AccountId": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
@@ -5977,6 +7598,17 @@
                }
            }
        },
        "model.Currency": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.CustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -6103,6 +7735,17 @@
                }
            }
        },
        "model.IsInvoice": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.IsVisit": {
            "type": "object",
            "properties": {
@@ -6166,6 +7809,55 @@
                    "type": "string"
                },
                "title": {
                    "type": "string"
                }
            }
        },
        "model.OrderManage": {
            "type": "object",
            "properties": {
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "orderType": {
                    "type": "integer"
                },
                "problemDescription": {
                    "type": "string"
                },
                "reportSourceId": {
                    "type": "integer"
                },
                "sourceSheet": {
                    "type": "integer"
                }
            }
        },
        "model.OrderType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
@@ -6309,6 +8001,28 @@
                }
            }
        },
        "model.QuotationStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.RefundMethod": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Region": {
            "type": "object",
            "properties": {
@@ -6332,6 +8046,28 @@
            }
        },
        "model.RegularCustomers": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.ReportSource": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Repository": {
            "type": "object",
            "properties": {
                "id": {
@@ -6382,7 +8118,7 @@
                    "type": "integer"
                },
                "currency": {
                    "$ref": "#/definitions/constvar.CurrencyType"
                    "type": "integer"
                },
                "detail_address": {
                    "type": "string"
@@ -6515,6 +8251,15 @@
                },
                "id": {
                    "type": "integer"
                },
                "logisticCompany": {
                    "type": "string"
                },
                "logisticCost": {
                    "type": "number"
                },
                "logisticNumber": {
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
@@ -6681,8 +8426,19 @@
                "returnDate": {
                    "type": "string"
                },
                "status": {
                "salesReturnStatus": {
                    "type": "integer"
                }
            }
        },
        "model.SalesReturnStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -6747,6 +8503,12 @@
                "saleChanceId": {
                    "type": "integer"
                },
                "serviceContractStatusId": {
                    "type": "integer"
                },
                "serviceContractTypeId": {
                    "type": "integer"
                },
                "serviceTimes": {
                    "type": "integer"
                },
@@ -6756,14 +8518,30 @@
                "startTime": {
                    "type": "string"
                },
                "statusId": {
                    "type": "integer"
                },
                "terms": {
                    "type": "string"
                },
                "typeId": {
                }
            }
        },
        "model.ServiceContractStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.ServiceContractType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -6844,6 +8622,17 @@
            }
        },
        "model.SolveRate": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Status": {
            "type": "object",
            "properties": {
                "id": {
@@ -6942,6 +8731,17 @@
                    "type": "string"
                },
                "uuid": {
                    "type": "string"
                }
            }
        },
        "request.AddAccountId": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
@@ -7199,6 +8999,17 @@
                }
            }
        },
        "request.AddCurrency": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddCustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -7264,6 +9075,17 @@
            }
        },
        "request.AddIndustry": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddIsInvoice": {
            "type": "object",
            "required": [
                "name"
@@ -7340,6 +9162,17 @@
                }
            }
        },
        "request.AddOrderType": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddPlan": {
            "type": "object",
            "properties": {
@@ -7400,6 +9233,28 @@
                }
            }
        },
        "request.AddQuotationStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRefundMethod": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRegion": {
            "type": "object",
            "properties": {
@@ -7421,6 +9276,28 @@
            }
        },
        "request.AddRegularCustomers": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddReportSource": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRepository": {
            "type": "object",
            "required": [
                "name"
@@ -7630,6 +9507,17 @@
                }
            }
        },
        "request.AddSalesReturnStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddSalesSources": {
            "type": "object",
            "required": [
@@ -7705,6 +9593,28 @@
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "request.AddServiceContractStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddServiceContractType": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
@@ -7937,6 +9847,20 @@
                }
            }
        },
        "request.Assign": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "member_id": {
                    "type": "integer"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "request.CasbinInfo": {
            "type": "object",
            "properties": {
@@ -8058,6 +9982,17 @@
                }
            }
        },
        "request.DeleteClient": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteCountry": {
            "type": "object",
            "properties": {
@@ -8120,6 +10055,287 @@
                },
                "topic": {
                    "type": "string"
                }
            }
        },
        "request.GetClientList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetContactList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetContractList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetFollowRecordList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetMasterOrderList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetOrderManageList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetPlanList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetQuotationList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSaleChanceList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSalesDetailsList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSalesLeadsList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSalesRefundList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSalesReturnList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetServiceContractList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.ServiceContractKeywordType"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "queryClass": {
                    "$ref": "#/definitions/constvar.ServiceContractQueryClass"
                }
            }
        },
        "request.GetServiceFeeManageList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetServiceFollowupList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.ServiceFollowupKeywordType"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSubOrderList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
@@ -8255,6 +10471,15 @@
                    "type": "string"
                },
                "deliveryDate": {
                    "type": "string"
                },
                "logisticCompany": {
                    "type": "string"
                },
                "logisticCost": {
                    "type": "number"
                },
                "logisticNumber": {
                    "type": "string"
                },
                "memberId": {
@@ -8414,6 +10639,35 @@
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.UpdateAccountId": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateAccountIds": {
            "type": "object",
            "required": [
                "account_id"
            ],
            "properties": {
                "account_id": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateAccountId"
                    }
                }
            }
@@ -8763,6 +11017,35 @@
                }
            }
        },
        "request.UpdateCurrency": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateCurrencys": {
            "type": "object",
            "required": [
                "currency"
            ],
            "properties": {
                "currency": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateCurrency"
                    }
                }
            }
        },
        "request.UpdateCustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -8910,6 +11193,35 @@
                }
            }
        },
        "request.UpdateIsInvoice": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateIsInvoices": {
            "type": "object",
            "required": [
                "is_invoice"
            ],
            "properties": {
                "is_invoice": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateIsInvoice"
                    }
                }
            }
        },
        "request.UpdateIsVisit": {
            "type": "object",
            "required": [
@@ -8997,6 +11309,35 @@
                },
                "sourceSheet": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateOrderType": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateOrderTypes": {
            "type": "object",
            "required": [
                "order_type"
            ],
            "properties": {
                "order_type": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateOrderType"
                    }
                }
            }
        },
@@ -9100,6 +11441,64 @@
                }
            }
        },
        "request.UpdateQuotationStatus": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateQuotationStatuss": {
            "type": "object",
            "required": [
                "quotation_status"
            ],
            "properties": {
                "quotation_status": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateQuotationStatus"
                    }
                }
            }
        },
        "request.UpdateRefundMethod": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateRefundMethods": {
            "type": "object",
            "required": [
                "refund_method"
            ],
            "properties": {
                "refund_method": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateRefundMethod"
                    }
                }
            }
        },
        "request.UpdateRegion": {
            "type": "object",
            "properties": {
@@ -9176,6 +11575,64 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateRegularCustomers"
                    }
                }
            }
        },
        "request.UpdateReportSource": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateReportSources": {
            "type": "object",
            "required": [
                "report_source"
            ],
            "properties": {
                "report_source": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateReportSource"
                    }
                }
            }
        },
        "request.UpdateRepository": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateRepositorys": {
            "type": "object",
            "required": [
                "repository"
            ],
            "properties": {
                "repository": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateRepository"
                    }
                }
            }
@@ -9433,6 +11890,35 @@
                }
            }
        },
        "request.UpdateSalesReturnStatus": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateSalesReturnStatuss": {
            "type": "object",
            "required": [
                "sales_return_status"
            ],
            "properties": {
                "sales_return_status": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateSalesReturnStatus"
                    }
                }
            }
        },
        "request.UpdateSalesSources": {
            "type": "object",
            "required": [
@@ -9544,6 +12030,64 @@
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateServiceContractStatus": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateServiceContractStatuss": {
            "type": "object",
            "required": [
                "service_contract_status"
            ],
            "properties": {
                "service_contract_status": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateServiceContractStatus"
                    }
                }
            }
        },
        "request.UpdateServiceContractType": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateServiceContractTypes": {
            "type": "object",
            "required": [
                "service_contract_type"
            ],
            "properties": {
                "service_contract_type": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateServiceContractType"
                    }
                }
            }
        },
@@ -9810,6 +12354,32 @@
                }
            }
        },
        "request.UpdateVetting": {
            "type": "object",
            "required": [
                "id",
                "status"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "status": {
                    "type": "integer"
                }
            }
        },
        "response.AccountIdResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.AccountId"
                    }
                }
            }
        },
        "response.CityResponse": {
            "type": "object",
            "properties": {
@@ -9846,6 +12416,9 @@
        "response.ClientResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -9879,6 +12452,9 @@
        "response.ContactResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -9890,6 +12466,9 @@
        "response.ContractResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -9909,9 +12488,27 @@
                }
            }
        },
        "response.CurrencyResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                }
            }
        },
        "response.DataResponse": {
            "type": "object",
            "properties": {
                "accountId": {
                    "description": "账户",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.AccountId"
                    }
                },
                "city": {
                    "description": "城市数据",
                    "type": "array",
@@ -9954,6 +12551,13 @@
                        "$ref": "#/definitions/model.Country"
                    }
                },
                "currency": {
                    "description": "币种",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                },
                "department": {
                    "description": "部门",
                    "type": "array",
@@ -9982,6 +12586,13 @@
                        "$ref": "#/definitions/model.Industry"
                    }
                },
                "isInvoice": {
                    "description": "是否开票",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsInvoice"
                    }
                },
                "isVisit": {
                    "description": "服务人员是否来过",
                    "type": "array",
@@ -9996,11 +12607,39 @@
                        "$ref": "#/definitions/model.User"
                    }
                },
                "orderType": {
                    "description": "工单类型",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.OrderType"
                    }
                },
                "possibility": {
                    "description": "可能性",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Possibility"
                    }
                },
                "province": {
                    "description": "省份数据",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Province"
                    }
                },
                "quotationStatus": {
                    "description": "报价单状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.QuotationStatus"
                    }
                },
                "refundMethod": {
                    "description": "退款方式",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.RefundMethod"
                    }
                },
                "region": {
@@ -10024,6 +12663,20 @@
                        "$ref": "#/definitions/model.RegularCustomers"
                    }
                },
                "reportSource": {
                    "description": "报表来源",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ReportSource"
                    }
                },
                "repository": {
                    "description": "退货仓库",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Repository"
                    }
                },
                "sale_stage": {
                    "description": "销售阶段",
                    "type": "array",
@@ -10036,6 +12689,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SaleType"
                    }
                },
                "salesReturnStatus": {
                    "description": "退货单状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesReturnStatus"
                    }
                },
                "sales_source": {
@@ -10052,11 +12712,32 @@
                        "$ref": "#/definitions/model.Satisfaction"
                    }
                },
                "serviceContractStatus": {
                    "description": "服务合同状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractStatus"
                    }
                },
                "serviceContractType": {
                    "description": "服务合同类型",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractType"
                    }
                },
                "solve_rate": {
                    "description": "解决率",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SolveRate"
                    }
                },
                "status": {
                    "description": "状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Status"
                    }
                },
                "timely_rate": {
@@ -10104,6 +12785,9 @@
        "response.FollowRecordResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10119,6 +12803,17 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Industry"
                    }
                }
            }
        },
        "response.IsInvoiceResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsInvoice"
                    }
                }
            }
@@ -10151,6 +12846,9 @@
        "response.MasterOrderResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10166,6 +12864,31 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Menu"
                    }
                }
            }
        },
        "response.OrderManageResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.OrderManage"
                    }
                }
            }
        },
        "response.OrderTypeResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.OrderType"
                    }
                }
            }
@@ -10188,6 +12911,9 @@
        "response.PlanResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10221,10 +12947,35 @@
        "response.QuotationResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Quotation"
                    }
                }
            }
        },
        "response.QuotationStatusResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.QuotationStatus"
                    }
                }
            }
        },
        "response.RefundMethodResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.RefundMethod"
                    }
                }
            }
@@ -10251,9 +13002,34 @@
                }
            }
        },
        "response.ReportSourceResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ReportSource"
                    }
                }
            }
        },
        "response.RepositoryResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Repository"
                    }
                }
            }
        },
        "response.SaleChanceResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10287,6 +13063,9 @@
        "response.SalesDetailsResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10298,6 +13077,9 @@
        "response.SalesLeadsResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10309,6 +13091,9 @@
        "response.SalesRefundResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10320,10 +13105,24 @@
        "response.SalesReturnResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesReturn"
                    }
                }
            }
        },
        "response.SalesReturnStatusResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesReturnStatus"
                    }
                }
            }
@@ -10350,9 +13149,34 @@
                }
            }
        },
        "response.ServiceContractStatusResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractStatus"
                    }
                }
            }
        },
        "response.ServiceContractTypeResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractType"
                    }
                }
            }
        },
        "response.ServiceContractsResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10364,6 +13188,9 @@
        "response.ServiceFeeManageResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10375,6 +13202,9 @@
        "response.ServiceFollowupResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -10397,6 +13227,9 @@
        "response.SubOrderResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {