add
wangpengfei
2023-07-13 6e8718ed56b53419c946102bb4e20a978e32e27c
docs/docs.go
@@ -1192,6 +1192,113 @@
                }
            }
        },
        "/api/customerServiceSheet/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "CustomerServiceSheet"
                ],
                "summary": "添加客服单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddCustomerServiceSheet"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/customerServiceSheet/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "CustomerServiceSheet"
                ],
                "summary": "删除客服单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/customerServiceSheet/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "CustomerServiceSheet"
                ],
                "summary": "获取客服单列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/customerServiceSheet/update/{id}": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "CustomerServiceSheet"
                ],
                "summary": "更新客服单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateCustomerServiceSheet"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/enterpriseNature/add": {
            "post": {
                "produces": [
@@ -3865,6 +3972,125 @@
                }
            }
        },
        "/api/serviceFollowup/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "添加服务跟进",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceFollowup"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "删除服务跟进",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "服务跟进列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceFollowupResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "更新服务跟进",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceFollowup"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/status/add": {
            "post": {
                "produces": [
@@ -5433,6 +5659,53 @@
                }
            }
        },
        "model.ServiceFollowup": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "isVisit": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "oldMemberId": {
                    "type": "integer"
                },
                "planId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "satisfaction": {
                    "type": "integer"
                },
                "serviceId": {
                    "type": "integer"
                },
                "solveRate": {
                    "type": "integer"
                },
                "timelyRate": {
                    "type": "integer"
                }
            }
        },
        "model.SubOrder": {
            "type": "object",
            "properties": {
@@ -5760,6 +6033,26 @@
                "name": {
                    "description": "国家名称",
                    "type": "string"
                }
            }
        },
        "request.AddCustomerServiceSheet": {
            "type": "object",
            "properties": {
                "handleStatus": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "priority": {
                    "type": "integer"
                },
                "serviceMode": {
                    "type": "integer"
                }
            }
        },
@@ -6209,6 +6502,50 @@
                    "type": "string"
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "request.AddServiceFollowup": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "isVisit": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "oldMemberId": {
                    "type": "integer"
                },
                "planId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "satisfaction": {
                    "type": "integer"
                },
                "serviceId": {
                    "type": "integer"
                },
                "solveRate": {
                    "type": "integer"
                },
                "timelyRate": {
                    "type": "integer"
                }
            }
@@ -7037,6 +7374,29 @@
                }
            }
        },
        "request.UpdateCustomerServiceSheet": {
            "type": "object",
            "properties": {
                "handleStatus": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "priority": {
                    "type": "integer"
                },
                "serviceMode": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateEnterpriseNature": {
            "type": "object",
            "required": [
@@ -7729,6 +8089,53 @@
                }
            }
        },
        "request.UpdateServiceFollowup": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "isVisit": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "oldMemberId": {
                    "type": "integer"
                },
                "planId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "satisfaction": {
                    "type": "integer"
                },
                "serviceId": {
                    "type": "integer"
                },
                "solveRate": {
                    "type": "integer"
                },
                "timelyRate": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateStatus": {
            "type": "object",
            "required": [
@@ -8121,6 +8528,17 @@
                }
            }
        },
        "response.ServiceFollowupResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceFollowup"
                    }
                }
            }
        },
        "response.SubOrderResponse": {
            "type": "object",
            "properties": {