fix
wangpengfei
2023-07-25 1109d0c6565e3413e54d9f28e68dda8ca26b99c4
docs/docs.go
@@ -16,6 +16,125 @@
    "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/authority/add": {
            "post": {
                "security": [
@@ -1276,6 +1395,125 @@
                }
            }
        },
        "/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"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/customerServiceSheet/add": {
            "post": {
                "produces": [
@@ -2027,6 +2265,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateIndustries"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/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"
                        }
                    }
                ],
@@ -3064,6 +3421,244 @@
                }
            }
        },
        "/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"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/region/add": {
            "post": {
                "produces": [
@@ -3554,6 +4149,125 @@
                        "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"
                        }
                    }
                ],
@@ -4400,6 +5114,125 @@
                }
            }
        },
        "/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"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesSources/add": {
            "post": {
                "produces": [
@@ -4876,6 +5709,125 @@
                }
            }
        },
        "/api/serviceContractType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "添加服务合同类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceContractType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "删除服务合同类型",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "获取服务合同类型列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceContractTypeResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceContractType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContractType"
                ],
                "summary": "更新服务合同类型",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceContractTypes"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFeeManage/add": {
            "post": {
                "produces": [
@@ -5239,7 +6191,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "添加状态",
                "parameters": [
@@ -5269,7 +6221,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "删除状态",
                "parameters": [
@@ -5297,7 +6249,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "状态列表",
                "responses": {
@@ -5316,7 +6268,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "更新状态",
                "parameters": [
@@ -5860,30 +6812,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": [
@@ -5936,6 +6897,17 @@
                },
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        },
        "model.AccountId": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
@@ -6334,6 +7306,17 @@
                }
            }
        },
        "model.Currency": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.CustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -6450,6 +7433,17 @@
            }
        },
        "model.Industry": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.IsInvoice": {
            "type": "object",
            "properties": {
                "id": {
@@ -6677,6 +7671,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": {
@@ -6711,6 +7727,17 @@
            }
        },
        "model.ReportSource": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Repository": {
            "type": "object",
            "properties": {
                "id": {
@@ -6761,7 +7788,7 @@
                    "type": "integer"
                },
                "currency": {
                    "$ref": "#/definitions/constvar.CurrencyType"
                    "type": "integer"
                },
                "detail_address": {
                    "type": "string"
@@ -7060,8 +8087,19 @@
                "returnDate": {
                    "type": "string"
                },
                "status": {
                "salesReturnStatus": {
                    "type": "integer"
                }
            }
        },
        "model.SalesReturnStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -7129,6 +8167,9 @@
                "serviceContractStatusId": {
                    "type": "integer"
                },
                "serviceContractTypeId": {
                    "type": "integer"
                },
                "serviceTimes": {
                    "type": "integer"
                },
@@ -7140,13 +8181,21 @@
                },
                "terms": {
                    "type": "string"
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "model.ServiceContractStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.ServiceContractType": {
            "type": "object",
            "properties": {
                "id": {
@@ -7234,6 +8283,17 @@
            }
        },
        "model.SolveRate": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Status": {
            "type": "object",
            "properties": {
                "id": {
@@ -7332,6 +8392,17 @@
                    "type": "string"
                },
                "uuid": {
                    "type": "string"
                }
            }
        },
        "request.AddAccountId": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
@@ -7589,6 +8660,17 @@
                }
            }
        },
        "request.AddCurrency": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddCustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -7654,6 +8736,17 @@
            }
        },
        "request.AddIndustry": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddIsInvoice": {
            "type": "object",
            "required": [
                "name"
@@ -7801,6 +8894,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": {
@@ -7833,6 +8948,17 @@
            }
        },
        "request.AddReportSource": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRepository": {
            "type": "object",
            "required": [
                "name"
@@ -8042,6 +9168,17 @@
                }
            }
        },
        "request.AddSalesReturnStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddSalesSources": {
            "type": "object",
            "required": [
@@ -8121,6 +9258,17 @@
            }
        },
        "request.AddServiceContractStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddServiceContractType": {
            "type": "object",
            "required": [
                "name"
@@ -8841,6 +9989,35 @@
                }
            }
        },
        "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"
                    }
                }
            }
        },
        "request.UpdateCities": {
            "type": "object",
            "properties": {
@@ -9186,6 +10363,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": {
@@ -9330,6 +10536,35 @@
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "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"
                    }
                }
            }
        },
@@ -9552,6 +10787,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": {
@@ -9657,6 +10950,35 @@
                    "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"
                    }
                }
            }
@@ -9914,6 +11236,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": [
@@ -10053,6 +11404,35 @@
                    "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"
                    }
                }
            }
@@ -10320,6 +11700,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": {
@@ -10419,9 +11825,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",
@@ -10464,6 +11888,13 @@
                        "$ref": "#/definitions/model.Country"
                    }
                },
                "currency": {
                    "description": "币种",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                },
                "department": {
                    "description": "部门",
                    "type": "array",
@@ -10492,6 +11923,13 @@
                        "$ref": "#/definitions/model.Industry"
                    }
                },
                "isInvoice": {
                    "description": "是否开票",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsInvoice"
                    }
                },
                "isVisit": {
                    "description": "服务人员是否来过",
                    "type": "array",
@@ -10513,11 +11951,32 @@
                        "$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": {
@@ -10548,6 +12007,13 @@
                        "$ref": "#/definitions/model.ReportSource"
                    }
                },
                "repository": {
                    "description": "退货仓库",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Repository"
                    }
                },
                "sale_stage": {
                    "description": "销售阶段",
                    "type": "array",
@@ -10560,6 +12026,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SaleType"
                    }
                },
                "salesReturnStatus": {
                    "description": "退货单状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesReturnStatus"
                    }
                },
                "sales_source": {
@@ -10583,11 +12056,25 @@
                        "$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": {
@@ -10650,6 +12137,17 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Industry"
                    }
                }
            }
        },
        "response.IsInvoiceResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsInvoice"
                    }
                }
            }
@@ -10771,6 +12269,28 @@
                }
            }
        },
        "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"
                    }
                }
            }
        },
        "response.RegisteredCapitalResponse": {
            "type": "object",
            "properties": {
@@ -10800,6 +12320,17 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ReportSource"
                    }
                }
            }
        },
        "response.RepositoryResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Repository"
                    }
                }
            }
@@ -10881,6 +12412,17 @@
                }
            }
        },
        "response.SalesReturnStatusResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesReturnStatus"
                    }
                }
            }
        },
        "response.SalesSourceResponse": {
            "type": "object",
            "properties": {
@@ -10914,6 +12456,17 @@
                }
            }
        },
        "response.ServiceContractTypeResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContractType"
                    }
                }
            }
        },
        "response.ServiceContractsResponse": {
            "type": "object",
            "properties": {