add
wangpengfei
2023-07-21 c4cc5a54d61b05d98d28b21710b3c1531bc05302
docs/docs.go
@@ -2040,6 +2040,125 @@
                }
            }
        },
        "/api/isVisit/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsVisit"
                ],
                "summary": "添加服务人员是否来过",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddIsVisit"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isVisit/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsVisit"
                ],
                "summary": "删除服务人员是否来过",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/isVisit/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsVisit"
                ],
                "summary": "获取服务人员是否来过列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.IsVisitResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/isVisit/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "IsVisit"
                ],
                "summary": "更新服务人员是否来过",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateIsVisits"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/masterOrder/add": {
            "post": {
                "produces": [
@@ -5984,6 +6103,17 @@
                }
            }
        },
        "model.IsVisit": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.MasterOrder": {
            "type": "object",
            "properties": {
@@ -6681,7 +6811,7 @@
                "id": {
                    "type": "integer"
                },
                "isVisit": {
                "isVisitId": {
                    "type": "integer"
                },
                "memberId": {
@@ -7134,6 +7264,17 @@
            }
        },
        "request.AddIndustry": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddIsVisit": {
            "type": "object",
            "required": [
                "name"
@@ -8769,6 +8910,35 @@
                }
            }
        },
        "request.UpdateIsVisit": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateIsVisits": {
            "type": "object",
            "required": [
                "is_visit"
            ],
            "properties": {
                "is_visit": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateIsVisit"
                    }
                }
            }
        },
        "request.UpdateMasterOrder": {
            "type": "object",
            "properties": {
@@ -9812,6 +9982,13 @@
                        "$ref": "#/definitions/model.Industry"
                    }
                },
                "isVisit": {
                    "description": "服务人员是否来过",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsVisit"
                    }
                },
                "member": {
                    "description": "Member",
                    "type": "array",
@@ -9946,6 +10123,17 @@
                }
            }
        },
        "response.IsVisitResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.IsVisit"
                    }
                }
            }
        },
        "response.LoginResponse": {
            "type": "object",
            "properties": {