From 993d3555339703c53ca14103d4d7899cde0d2e04 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 21 七月 2023 11:36:05 +0800
Subject: [PATCH] add

---
 docs/docs.go |  770 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 761 insertions(+), 9 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 0cb0f32..2c7bb37 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -2331,7 +2331,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "娣诲姞璁㈠崟",
+                "summary": "娣诲姞宸ュ崟",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -2361,7 +2361,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "鍒犻櫎璁㈠崟",
+                "summary": "鍒犻櫎宸ュ崟",
                 "parameters": [
                     {
                         "type": "integer",
@@ -2389,7 +2389,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "璁㈠崟鍒楄〃",
+                "summary": "宸ュ崟鍒楄〃",
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -2408,7 +2408,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "鏇存柊璁㈠崟",
+                "summary": "鏇存柊宸ュ崟",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -2417,6 +2417,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateOrderManage"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/orderType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "OrderType"
+                ],
+                "summary": "娣诲姞宸ュ崟绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddOrderType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/orderType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "OrderType"
+                ],
+                "summary": "鍒犻櫎宸ュ崟绫诲瀷",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/orderType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "OrderType"
+                ],
+                "summary": "鑾峰彇宸ュ崟绫诲瀷鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.OrderTypeResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/orderType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "OrderType"
+                ],
+                "summary": "鏇存柊宸ュ崟绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateOrderTypes"
                         }
                     }
                 ],
@@ -3316,6 +3435,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateRegularCustomersList"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/reportSource/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ReportSource"
+                ],
+                "summary": "娣诲姞鎶ヨ〃鏉ユ簮",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddReportSource"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/reportSource/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ReportSource"
+                ],
+                "summary": "鍒犻櫎鎶ヨ〃鏉ユ簮",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/reportSource/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ReportSource"
+                ],
+                "summary": "鑾峰彇鎶ヨ〃鏉ユ簮鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.ReportSourceResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/reportSource/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ReportSource"
+                ],
+                "summary": "鏇存柊鎶ヨ〃鏉ユ簮",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateReportSources"
                         }
                     }
                 ],
@@ -4506,6 +4744,244 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateServiceContract"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractStatus/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractStatus"
+                ],
+                "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceContractStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractStatus/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractStatus"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractStatus/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractStatus"
+                ],
+                "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.ServiceContractStatusResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractStatus/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractStatus"
+                ],
+                "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceContractStatuss"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "娣诲姞鏈嶅姟鍚堝悓绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceContractType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟鍚堝悓绫诲瀷",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "鑾峰彇鏈嶅姟鍚堝悓绫诲瀷鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.ServiceContractTypeResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "鏇存柊鏈嶅姟鍚堝悓绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceContractTypes"
                         }
                     }
                 ],
@@ -6170,6 +6646,17 @@
                 }
             }
         },
+        "model.OrderType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.Plan": {
             "type": "object",
             "properties": {
@@ -6332,6 +6819,17 @@
             }
         },
         "model.RegularCustomers": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.ReportSource": {
             "type": "object",
             "properties": {
                 "id": {
@@ -6747,6 +7245,12 @@
                 "saleChanceId": {
                     "type": "integer"
                 },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
+                    "type": "integer"
+                },
                 "serviceTimes": {
                     "type": "integer"
                 },
@@ -6756,14 +7260,30 @@
                 "startTime": {
                     "type": "string"
                 },
-                "statusId": {
-                    "type": "integer"
-                },
                 "terms": {
                     "type": "string"
-                },
-                "typeId": {
+                }
+            }
+        },
+        "model.ServiceContractStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
                     "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.ServiceContractType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -7340,6 +7860,17 @@
                 }
             }
         },
+        "request.AddOrderType": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddPlan": {
             "type": "object",
             "properties": {
@@ -7421,6 +7952,17 @@
             }
         },
         "request.AddRegularCustomers": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddReportSource": {
             "type": "object",
             "required": [
                 "name"
@@ -7705,6 +8247,28 @@
                 },
                 "typeId": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.AddServiceContractStatus": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddServiceContractType": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -9000,6 +9564,35 @@
                 }
             }
         },
+        "request.UpdateOrderType": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateOrderTypes": {
+            "type": "object",
+            "required": [
+                "order_type"
+            ],
+            "properties": {
+                "order_type": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateOrderType"
+                    }
+                }
+            }
+        },
         "request.UpdatePlan": {
             "type": "object",
             "properties": {
@@ -9176,6 +9769,35 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/request.UpdateRegularCustomers"
+                    }
+                }
+            }
+        },
+        "request.UpdateReportSource": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateReportSources": {
+            "type": "object",
+            "required": [
+                "report_source"
+            ],
+            "properties": {
+                "report_source": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateReportSource"
                     }
                 }
             }
@@ -9544,6 +10166,64 @@
                 },
                 "typeId": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.UpdateServiceContractStatus": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateServiceContractStatuss": {
+            "type": "object",
+            "required": [
+                "service_contract_status"
+            ],
+            "properties": {
+                "service_contract_status": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateServiceContractStatus"
+                    }
+                }
+            }
+        },
+        "request.UpdateServiceContractType": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateServiceContractTypes": {
+            "type": "object",
+            "required": [
+                "service_contract_type"
+            ],
+            "properties": {
+                "service_contract_type": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateServiceContractType"
+                    }
                 }
             }
         },
@@ -9996,6 +10676,13 @@
                         "$ref": "#/definitions/model.User"
                     }
                 },
+                "orderType": {
+                    "description": "宸ュ崟绫诲瀷",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.OrderType"
+                    }
+                },
                 "province": {
                     "description": "鐪佷唤鏁版嵁",
                     "type": "array",
@@ -10024,6 +10711,13 @@
                         "$ref": "#/definitions/model.RegularCustomers"
                     }
                 },
+                "reportSource": {
+                    "description": "鎶ヨ〃鏉ユ簮",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ReportSource"
+                    }
+                },
                 "sale_stage": {
                     "description": "閿�鍞樁娈�",
                     "type": "array",
@@ -10050,6 +10744,20 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Satisfaction"
+                    }
+                },
+                "serviceContractStatus": {
+                    "description": "鏈嶅姟鍚堝悓鐘舵��",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceContractStatus"
+                    }
+                },
+                "serviceContractType": {
+                    "description": "鏈嶅姟鍚堝悓绫诲瀷",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceContractType"
                     }
                 },
                 "solve_rate": {
@@ -10170,6 +10878,17 @@
                 }
             }
         },
+        "response.OrderTypeResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.OrderType"
+                    }
+                }
+            }
+        },
         "response.PageResult": {
             "type": "object",
             "properties": {
@@ -10247,6 +10966,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.RegularCustomers"
+                    }
+                }
+            }
+        },
+        "response.ReportSourceResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ReportSource"
                     }
                 }
             }
@@ -10350,6 +11080,28 @@
                 }
             }
         },
+        "response.ServiceContractStatusResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceContractStatus"
+                    }
+                }
+            }
+        },
+        "response.ServiceContractTypeResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceContractType"
+                    }
+                }
+            }
+        },
         "response.ServiceContractsResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0