wangpengfei
2023-07-26 af995cb29d795b453266a880501a8e94e24c591f
docs/docs.go
@@ -500,14 +500,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",
@@ -1095,7 +1106,7 @@
            }
        },
        "/api/contact/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -1103,6 +1114,17 @@
                    "Contact"
                ],
                "summary": "联系人列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetContactList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -1214,14 +1236,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",
@@ -1382,6 +1415,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"
                        }
                    }
                ],
@@ -1949,14 +2101,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",
@@ -2456,14 +2619,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",
@@ -2620,19 +2794,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"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -2846,14 +3043,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",
@@ -3242,7 +3450,7 @@
            }
        },
        "/api/quotation/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -3250,6 +3458,17 @@
                    "Quotation"
                ],
                "summary": "报价单列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetQuotationList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -3289,6 +3508,125 @@
                        "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"
                        }
                    }
                ],
@@ -3924,6 +4262,125 @@
                }
            }
        },
        "/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": [
@@ -3983,14 +4440,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",
@@ -4340,14 +4808,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",
@@ -4459,14 +4938,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",
@@ -4578,14 +5068,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",
@@ -4697,14 +5198,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",
@@ -4744,6 +5256,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"
                        }
                    }
                ],
@@ -5411,7 +6042,7 @@
            }
        },
        "/api/serviceFeeManage/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -5419,6 +6050,17 @@
                    "ServiceFeeManage"
                ],
                "summary": "服务费管理列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetServiceFeeManageList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -5530,14 +6172,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",
@@ -5715,7 +6368,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "添加状态",
                "parameters": [
@@ -5745,7 +6398,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "删除状态",
                "parameters": [
@@ -5773,7 +6426,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "状态列表",
                "responses": {
@@ -5792,7 +6445,7 @@
                    "application/json"
                ],
                "tags": [
                    "Status"
                    "SalesReturnStatus"
                ],
                "summary": "更新状态",
                "parameters": [
@@ -5875,14 +6528,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",
@@ -6336,30 +7000,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": [
@@ -6821,6 +7494,17 @@
                }
            }
        },
        "model.Currency": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.CustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -7025,6 +7709,44 @@
                }
            }
        },
        "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": {
@@ -7175,6 +7897,17 @@
                }
            }
        },
        "model.QuotationStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.RefundMethod": {
            "type": "object",
            "properties": {
@@ -7230,6 +7963,17 @@
                }
            }
        },
        "model.Repository": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.SaleChance": {
            "type": "object",
            "properties": {
@@ -7270,7 +8014,7 @@
                    "type": "integer"
                },
                "currency": {
                    "$ref": "#/definitions/constvar.CurrencyType"
                    "type": "integer"
                },
                "detail_address": {
                    "type": "string"
@@ -7403,6 +8147,15 @@
                },
                "id": {
                    "type": "integer"
                },
                "logisticCompany": {
                    "type": "string"
                },
                "logisticCost": {
                    "type": "number"
                },
                "logisticNumber": {
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
@@ -7569,8 +8322,19 @@
                "returnDate": {
                    "type": "string"
                },
                "status": {
                "salesReturnStatus": {
                    "type": "integer"
                }
            }
        },
        "model.SalesReturnStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -7754,6 +8518,17 @@
            }
        },
        "model.SolveRate": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Status": {
            "type": "object",
            "properties": {
                "id": {
@@ -8120,6 +8895,17 @@
                }
            }
        },
        "request.AddCurrency": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddCustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -8343,6 +9129,17 @@
                }
            }
        },
        "request.AddQuotationStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRefundMethod": {
            "type": "object",
            "required": [
@@ -8386,6 +9183,17 @@
            }
        },
        "request.AddReportSource": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRepository": {
            "type": "object",
            "required": [
                "name"
@@ -8592,6 +9400,17 @@
            "properties": {
                "salesReturn": {
                    "$ref": "#/definitions/request.SalesReturn"
                }
            }
        },
        "request.AddSalesReturnStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
@@ -9110,6 +9929,262 @@
                }
            }
        },
        "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.GetServiceFeeManageList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetServiceFollowupList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetSubOrderList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetUserList": {
            "type": "object",
            "properties": {
@@ -9242,6 +10317,15 @@
                    "type": "string"
                },
                "deliveryDate": {
                    "type": "string"
                },
                "logisticCompany": {
                    "type": "string"
                },
                "logisticCost": {
                    "type": "number"
                },
                "logisticNumber": {
                    "type": "string"
                },
                "memberId": {
@@ -9779,6 +10863,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": {
@@ -10174,6 +11287,35 @@
                }
            }
        },
        "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": [
@@ -10308,6 +11450,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"
                    }
                }
            }
@@ -10562,6 +11733,35 @@
                },
                "salesReturn": {
                    "$ref": "#/definitions/request.SalesReturn"
                }
            }
        },
        "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"
                    }
                }
            }
        },
@@ -11000,6 +12200,21 @@
                }
            }
        },
        "request.UpdateVetting": {
            "type": "object",
            "required": [
                "id",
                "status"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "status": {
                    "type": "integer"
                }
            }
        },
        "response.AccountIdResponse": {
            "type": "object",
            "properties": {
@@ -11047,6 +12262,9 @@
        "response.ClientResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11080,6 +12298,9 @@
        "response.ContactResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11091,6 +12312,9 @@
        "response.ContractResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11106,6 +12330,17 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Country"
                    }
                }
            }
        },
        "response.CurrencyResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                }
            }
@@ -11160,6 +12395,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Country"
                    }
                },
                "currency": {
                    "description": "币种",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                },
                "department": {
@@ -11218,11 +12460,25 @@
                        "$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": {
@@ -11260,6 +12516,13 @@
                        "$ref": "#/definitions/model.ReportSource"
                    }
                },
                "repository": {
                    "description": "退货仓库",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Repository"
                    }
                },
                "sale_stage": {
                    "description": "销售阶段",
                    "type": "array",
@@ -11272,6 +12535,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SaleType"
                    }
                },
                "salesReturnStatus": {
                    "description": "退货单状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesReturnStatus"
                    }
                },
                "sales_source": {
@@ -11307,6 +12577,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SolveRate"
                    }
                },
                "status": {
                    "description": "状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Status"
                    }
                },
                "timely_rate": {
@@ -11354,6 +12631,9 @@
        "response.FollowRecordResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11412,6 +12692,9 @@
        "response.MasterOrderResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11427,6 +12710,20 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Menu"
                    }
                }
            }
        },
        "response.OrderManageResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.OrderManage"
                    }
                }
            }
@@ -11460,6 +12757,9 @@
        "response.PlanResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11493,10 +12793,24 @@
        "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"
                    }
                }
            }
@@ -11545,9 +12859,23 @@
                }
            }
        },
        "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": {
@@ -11581,6 +12909,9 @@
        "response.SalesDetailsResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11592,6 +12923,9 @@
        "response.SalesLeadsResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11603,6 +12937,9 @@
        "response.SalesRefundResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11614,10 +12951,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"
                    }
                }
            }
@@ -11680,6 +13031,9 @@
        "response.ServiceFeeManageResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11691,6 +13045,9 @@
        "response.ServiceFollowupResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {
@@ -11713,6 +13070,9 @@
        "response.SubOrderResponse": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "list": {
                    "type": "array",
                    "items": {