add
wangpengfei
2023-07-21 823296cc595b3167c31a6257352c136568d0aaaf
docs/docs.go
@@ -2040,6 +2040,125 @@
                }
            }
        },
        "/api/isInvoice/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "添加是否开票",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddIsInvoice"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isInvoice/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "删除是否开票",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isInvoice/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "获取是否开票列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.IsInvoiceResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/isInvoice/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsInvoice"
                ],
                "summary": "更新是否开票",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateIsInvoices"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isVisit/add": {
            "post": {
                "produces": [
@@ -6698,6 +6817,17 @@
                }
            }
        },
        "model.IsInvoice": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.IsVisit": {
            "type": "object",
            "properties": {
@@ -7914,6 +8044,17 @@
            }
        },
        "request.AddIndustry": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddIsInvoice": {
            "type": "object",
            "required": [
                "name"
@@ -9615,6 +9756,35 @@
                }
            }
        },
        "request.UpdateIsInvoice": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateIsInvoices": {
            "type": "object",
            "required": [
                "is_invoice"
            ],
            "properties": {
                "is_invoice": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateIsInvoice"
                    }
                }
            }
        },
        "request.UpdateIsVisit": {
            "type": "object",
            "required": [
@@ -10832,6 +11002,13 @@
                        "$ref": "#/definitions/model.Industry"
                    }
                },
                "isInvoice": {
                    "description": "是否开票",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsInvoice"
                    }
                },
                "isVisit": {
                    "description": "服务人员是否来过",
                    "type": "array",
@@ -11008,6 +11185,17 @@
                }
            }
        },
        "response.IsInvoiceResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsInvoice"
                    }
                }
            }
        },
        "response.IsVisitResponse": {
            "type": "object",
            "properties": {