wangpengfei
2023-08-16 1b8811fe5024ad4e2d744a98dc9a49d65bb87a3b
docs/docs.go
@@ -664,6 +664,36 @@
                }
            }
        },
        "/api/client/checkName": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Client"
                ],
                "summary": "检查客户名称是否重复",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.CheckClientName"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/client/delete": {
            "delete": {
                "produces": [
@@ -1490,6 +1520,37 @@
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/contactInformation/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ContactInformation"
                ],
                "summary": "联系方式列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ContactInformationResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -6716,6 +6777,36 @@
                }
            }
        },
        "/api/salesDetails/delete": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails 销售明细"
                ],
                "summary": "批量删除销售明细",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.CommonIds"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/delete/{id}": {
            "delete": {
                "produces": [
@@ -7763,15 +7854,15 @@
                "tags": [
                    "ServiceContract"
                ],
                "summary": "删除服务合同",
                "summary": "批量删除服务合同",
                "parameters": [
                    {
                        "description": "查询参数",
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteServiceContract"
                            "$ref": "#/definitions/request.CommonIds"
                        }
                    }
                ],
@@ -8376,6 +8467,36 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceOrder/delete": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务单"
                ],
                "summary": "批量删除服务单",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.CommonIds"
                        }
                    }
                ],
@@ -10233,6 +10354,29 @@
                "SalesRefundKeywordPriceTotal"
            ]
        },
        "constvar.SalesReturnKeywordType": {
            "type": "string",
            "enum": [
                "销售退货单编号",
                "客户名称",
                "退款日期",
                "状态",
                "退入仓库",
                "应退款",
                "已退款",
                "销售负责人"
            ],
            "x-enum-varnames": [
                "SalesReturnKeywordReturnNumber",
                "SalesReturnKeywordClientName",
                "SalesReturnKeywordReturnDate",
                "SalesReturnKeywordStatus",
                "SalesReturnKeywordRepository",
                "SalesReturnKeywordAmountShouldRefund",
                "SalesReturnKeywordAmountHasRefund",
                "SalesReturnKeywordPrincipal"
            ]
        },
        "constvar.SalesReturnSourceType": {
            "type": "integer",
            "enum": [
@@ -10883,6 +11027,17 @@
                    "type": "integer"
                },
                "wechat": {
                    "type": "string"
                }
            }
        },
        "model.ContactInformation": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
@@ -11968,6 +12123,9 @@
                "id": {
                    "type": "integer"
                },
                "member": {
                    "$ref": "#/definitions/model.User"
                },
                "member_id": {
                    "type": "integer"
                },
@@ -12033,7 +12191,7 @@
                    "type": "integer"
                },
                "isInvoice": {
                    "type": "integer"
                    "type": "string"
                },
                "member": {
                    "$ref": "#/definitions/model.User"
@@ -12090,6 +12248,14 @@
                            "$ref": "#/definitions/model.SalesReturnStatus"
                        }
                    ]
                },
                "amountHasRefund": {
                    "description": "已退款金额",
                    "type": "number"
                },
                "amountShouldRefund": {
                    "description": "应退款金额",
                    "type": "number"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
@@ -12300,6 +12466,9 @@
                },
                "id": {
                    "type": "integer"
                },
                "member": {
                    "$ref": "#/definitions/model.User"
                },
                "memberId": {
                    "type": "integer"
@@ -12915,6 +13084,10 @@
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
                },
                "contact_id": {
                    "description": "联系人ID",
                    "type": "integer"
                },
                "country_id": {
                    "type": "integer"
@@ -14068,6 +14241,10 @@
                "contact": {
                    "$ref": "#/definitions/request.Contact"
                },
                "contact_id": {
                    "description": "联系人ID",
                    "type": "integer"
                },
                "country_id": {
                    "type": "integer"
                },
@@ -14509,6 +14686,28 @@
                }
            }
        },
        "request.CheckClientName": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.CommonIds": {
            "type": "object",
            "required": [
                "ids"
            ],
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.Contact": {
            "type": "object",
            "properties": {
@@ -14629,17 +14828,6 @@
            }
        },
        "request.DeleteSalesLeads": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.DeleteServiceContract": {
            "type": "object",
            "properties": {
                "ids": {
@@ -14910,7 +15098,7 @@
                    "description": "每页大小",
                    "type": "integer"
                },
                "searchMap": {
                "search_map": {
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 销售线索id, \"client_name\": \"客户名称\", \"member_name\": \"销售负责人\", \"contact_name\": \"联系人\", \"validity_date\": \"有效期\"}",
                    "type": "object",
                    "additionalProperties": true
@@ -14996,6 +15184,9 @@
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.SalesReturnKeywordType"
                },
                "page": {
                    "description": "页码",
@@ -15340,7 +15531,7 @@
                    "type": "integer"
                },
                "isInvoice": {
                    "type": "integer"
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
@@ -15581,6 +15772,10 @@
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
                },
                "contact_id": {
                    "description": "联系人ID",
                    "type": "integer"
                },
                "country_id": {
                    "type": "integer"
@@ -17294,6 +17489,10 @@
                "contact": {
                    "$ref": "#/definitions/request.Contact"
                },
                "contact_id": {
                    "description": "联系人ID",
                    "type": "integer"
                },
                "country_id": {
                    "type": "integer"
                },
@@ -17794,6 +17993,17 @@
                }
            }
        },
        "response.ContactInformationResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ContactInformation"
                    }
                }
            }
        },
        "response.ContactResponse": {
            "type": "object",
            "properties": {