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

---
 docs/docs.go | 2412 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 2,308 insertions(+), 104 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 3a20450..351d582 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -16,6 +16,82 @@
     "host": "{{.Host}}",
     "basePath": "{{.BasePath}}",
     "paths": {
+        "/api/authority/add": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Authority"
+                ],
+                "summary": "鍒涘缓瑙掕壊",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddAuthority"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/authority/setMenuAuthority": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Authority"
+                ],
+                "summary": "璁剧疆瑙掕壊鑿滃崟",
+                "parameters": [
+                    {
+                        "description": "璁剧疆瑙掕壊璧勬簮鏉冮檺",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.SetAuthorityMenu"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/base/captcha": {
             "post": {
                 "produces": [
@@ -156,6 +232,14 @@
                     "City"
                 ],
                 "summary": "鑾峰彇鍩庡競鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鐪佷唤ID",
+                        "name": "province_id",
+                        "in": "query"
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "鎴愬姛",
@@ -328,7 +412,7 @@
             }
         },
         "/api/client/update": {
-            "post": {
+            "put": {
                 "produces": [
                     "application/json"
                 ],
@@ -1192,6 +1276,263 @@
                 }
             }
         },
+        "/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/data/getAllData": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Data"
+                ],
+                "summary": "鑾峰彇鎵�鏈夋暟鎹�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.DataResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/department/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Department"
+                ],
+                "summary": "娣诲姞閮ㄩ棬",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddDepartment"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/department/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Department"
+                ],
+                "summary": "鍒犻櫎閮ㄩ棬",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "閮ㄩ棬ID",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/department/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Department"
+                ],
+                "summary": "閮ㄩ棬鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.DepartmentResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/department/update/{id}": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Department"
+                ],
+                "summary": "鏇存柊閮ㄩ棬",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateDepartmentList"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/enterpriseNature/add": {
             "post": {
                 "produces": [
@@ -1699,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": [
@@ -1818,6 +2278,51 @@
                 }
             }
         },
+        "/api/menu/getMenu": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Menu"
+                ],
+                "summary": "鑾峰彇鑿滃崟鏍�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "Authorization",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.MenuTreeResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api/orderManage/add": {
             "post": {
                 "produces": [
@@ -1826,7 +2331,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "娣诲姞璁㈠崟",
+                "summary": "娣诲姞宸ュ崟",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -1856,7 +2361,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "鍒犻櫎璁㈠崟",
+                "summary": "鍒犻櫎宸ュ崟",
                 "parameters": [
                     {
                         "type": "integer",
@@ -1884,7 +2389,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "璁㈠崟鍒楄〃",
+                "summary": "宸ュ崟鍒楄〃",
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -1903,7 +2408,7 @@
                 "tags": [
                     "OrderManage"
                 ],
-                "summary": "鏇存柊璁㈠崟",
+                "summary": "鏇存柊宸ュ崟",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -2230,6 +2735,15 @@
                     "Province"
                 ],
                 "summary": "鑾峰彇鐪佷唤鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鍥藉ID",
+                        "name": "country_id",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -2498,6 +3012,15 @@
                     "Region"
                 ],
                 "summary": "鍦板尯鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鍩庡競ID",
+                        "name": "city_id",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -2793,6 +3316,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"
                         }
                     }
                 ],
@@ -3591,13 +4233,25 @@
                     "200": {
                         "description": "OK",
                         "schema": {
-                            "$ref": "#/definitions/contextx.Response"
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.SalesReturnResponse"
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
             }
         },
-        "/api/salesReturn/update/{id}": {
+        "/api/salesReturn/update": {
             "put": {
                 "produces": [
                     "application/json"
@@ -3746,6 +4400,125 @@
                 }
             }
         },
+        "/api/satisfaction/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "娣诲姞婊℃剰搴�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddSatisfaction"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/satisfaction/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "鍒犻櫎婊℃剰搴�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/satisfaction/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "婊℃剰搴﹀垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.SatisfactionResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/satisfaction/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "鏇存柊婊℃剰搴�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateSatisfactions"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/serviceContract/add": {
             "post": {
                 "produces": [
@@ -3865,6 +4638,125 @@
                 }
             }
         },
+        "/api/serviceFeeManage/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceFeeManage"
+                ],
+                "summary": "娣诲姞鏈嶅姟璐圭鐞�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceFeeManage"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceFeeManage/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceFeeManage"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟璐圭鐞�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceFeeManage/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceFeeManage"
+                ],
+                "summary": "鏈嶅姟璐圭鐞嗗垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.ServiceFeeManageResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceFeeManage/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceFeeManage"
+                ],
+                "summary": "鏇存柊鏈嶅姟璐圭鐞�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceFeeManage"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/serviceFollowup/add": {
             "post": {
                 "produces": [
@@ -3971,6 +4863,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateServiceFollowup"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/solveRate/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SolveRate"
+                ],
+                "summary": "娣诲姞瑙e喅鐜�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddSolveRate"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/solveRate/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SolveRate"
+                ],
+                "summary": "鍒犻櫎瑙e喅鐜�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/solveRate/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SolveRate"
+                ],
+                "summary": "鑾峰彇瑙e喅鐜囧垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.SolveRateResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/solveRate/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SolveRate"
+                ],
+                "summary": "鏇存柊瑙e喅鐜�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateSolveRates"
                         }
                     }
                 ],
@@ -4197,6 +5208,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateSubOrder"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "娣诲姞閿�鍞樁娈�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddTimelyRate"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "鍒犻櫎閿�鍞樁娈�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "鑾峰彇閿�鍞樁娈靛垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.TimelyRateResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "鏇存柊閿�鍞樁娈�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateTimelyRates"
                         }
                     }
                 ],
@@ -4462,6 +5592,36 @@
                     }
                 }
             }
+        },
+        "/api/vetting/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Vetting"
+                ],
+                "summary": "娣诲姞瀹℃壒",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddVetting"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
         }
     },
     "definitions": {
@@ -4542,6 +5702,29 @@
                 }
             }
         },
+        "model.Authority": {
+            "type": "object",
+            "properties": {
+                "authorityName": {
+                    "description": "瑙掕壊鍚�",
+                    "type": "string"
+                },
+                "defaultRouter": {
+                    "description": "榛樿鑿滃崟(榛樿dashboard)",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "瑙掕壊ID",
+                    "type": "integer"
+                },
+                "menus": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Menu"
+                    }
+                }
+            }
+        },
         "model.City": {
             "type": "object",
             "properties": {
@@ -4571,14 +5754,26 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "client_level": {
+                    "$ref": "#/definitions/model.ClientLevel"
+                },
                 "client_level_id": {
                     "type": "integer"
+                },
+                "client_origin": {
+                    "$ref": "#/definitions/model.ClientOrigin"
                 },
                 "client_origin_id": {
                     "type": "integer"
                 },
+                "client_status": {
+                    "$ref": "#/definitions/model.ClientStatus"
+                },
                 "client_status_id": {
                     "type": "integer"
+                },
+                "client_type": {
+                    "$ref": "#/definitions/model.ClientType"
                 },
                 "client_type_id": {
                     "type": "integer"
@@ -4901,6 +6096,43 @@
                 }
             }
         },
+        "model.CustomerServiceSheet": {
+            "type": "object",
+            "properties": {
+                "handleStatus": {
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "memberId": {
+                    "type": "integer"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "priority": {
+                    "type": "integer"
+                },
+                "serviceFollowupId": {
+                    "type": "integer"
+                },
+                "serviceMode": {
+                    "type": "integer"
+                }
+            }
+        },
+        "model.Department": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.EnterpriseNature": {
             "type": "object",
             "properties": {
@@ -4926,11 +6158,17 @@
         "model.FollowRecord": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "client_id": {
                     "type": "integer"
                 },
                 "client_status_id": {
                     "type": "integer"
+                },
+                "contact": {
+                    "$ref": "#/definitions/model.Contact"
                 },
                 "contact_id": {
                     "type": "integer"
@@ -4984,9 +6222,23 @@
                 }
             }
         },
+        "model.IsVisit": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.MasterOrder": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "client_id": {
                     "type": "integer"
                 },
@@ -5006,6 +6258,33 @@
                     "type": "string"
                 },
                 "start_time": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.Menu": {
+            "type": "object",
+            "properties": {
+                "children": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Menu"
+                    }
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "parentId": {
+                    "type": "integer"
+                },
+                "path": {
+                    "type": "string"
+                },
+                "title": {
                     "type": "string"
                 }
             }
@@ -5182,6 +6461,17 @@
                 }
             }
         },
+        "model.ReportSource": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.SaleChance": {
             "type": "object",
             "properties": {
@@ -5223,6 +6513,9 @@
                 },
                 "currency": {
                     "$ref": "#/definitions/constvar.CurrencyType"
+                },
+                "detail_address": {
+                    "type": "string"
                 },
                 "disadvantages": {
                     "type": "string"
@@ -5277,6 +6570,9 @@
                 },
                 "regular_customers_id": {
                     "type": "integer"
+                },
+                "remark": {
+                    "type": "string"
                 },
                 "sale_stage_id": {
                     "type": "integer"
@@ -5334,6 +6630,9 @@
                 },
                 "addressee": {
                     "type": "string"
+                },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
                 },
                 "clientId": {
                     "type": "integer"
@@ -5482,7 +6781,53 @@
                 }
             }
         },
+        "model.SalesReturn": {
+            "type": "object",
+            "properties": {
+                "clientId": {
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "memberId": {
+                    "type": "integer"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
+                "reason": {
+                    "type": "string"
+                },
+                "repository": {
+                    "type": "string"
+                },
+                "returnDate": {
+                    "type": "string"
+                },
+                "status": {
+                    "type": "integer"
+                }
+            }
+        },
         "model.SalesSources": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.Satisfaction": {
             "type": "object",
             "properties": {
                 "id": {
@@ -5552,6 +6897,32 @@
                 }
             }
         },
+        "model.ServiceFeeManage": {
+            "type": "object",
+            "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
+                "client_id": {
+                    "type": "integer"
+                },
+                "file": {
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "latest_date": {
+                    "type": "string"
+                },
+                "member_id": {
+                    "type": "integer"
+                },
+                "remark": {
+                    "type": "string"
+                }
+            }
+        },
         "model.ServiceFollowup": {
             "type": "object",
             "properties": {
@@ -5561,13 +6932,16 @@
                 "contactId": {
                     "type": "integer"
                 },
+                "customerServiceSheet": {
+                    "$ref": "#/definitions/model.CustomerServiceSheet"
+                },
                 "file": {
                     "type": "string"
                 },
                 "id": {
                     "type": "integer"
                 },
-                "isVisit": {
+                "isVisitId": {
                     "type": "integer"
                 },
                 "memberId": {
@@ -5585,23 +6959,37 @@
                 "remark": {
                     "type": "string"
                 },
-                "satisfaction": {
+                "satisfactionId": {
                     "type": "integer"
                 },
                 "serviceId": {
                     "type": "integer"
                 },
-                "solveRate": {
+                "solveRateId": {
                     "type": "integer"
                 },
-                "timelyRate": {
+                "timelyRateId": {
                     "type": "integer"
+                }
+            }
+        },
+        "model.SolveRate": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
         "model.SubOrder": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
@@ -5625,30 +7013,38 @@
                 }
             }
         },
+        "model.TimelyRate": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.User": {
             "type": "object",
             "properties": {
-                "companyName": {
-                    "type": "string"
+                "authority": {
+                    "$ref": "#/definitions/model.Authority"
                 },
-                "createAt": {
-                    "description": "鍒涘缓鏃堕棿",
-                    "type": "string"
+                "authorityId": {
+                    "description": "鐢ㄦ埛瑙掕壊ID",
+                    "type": "integer"
+                },
+                "departmentId": {
+                    "type": "integer"
                 },
                 "email": {
                     "type": "string"
-                },
-                "enable": {
-                    "type": "boolean"
                 },
                 "headerImg": {
                     "type": "string"
                 },
                 "id": {
-                    "type": "string"
-                },
-                "ip": {
-                    "type": "string"
+                    "type": "integer"
                 },
                 "menuIds": {
                     "description": "鑿滃崟ID鍒楄〃",
@@ -5660,26 +7056,13 @@
                 "nickName": {
                     "type": "string"
                 },
-                "parentId": {
-                    "type": "string"
-                },
-                "parentName": {
-                    "type": "string"
-                },
                 "phone": {
-                    "type": "string"
-                },
-                "port": {
                     "type": "string"
                 },
                 "pos": {
                     "type": "string"
                 },
-                "status": {
-                    "type": "integer"
-                },
-                "updateAt": {
-                    "description": "鏇存柊鏃堕棿",
+                "realName": {
                     "type": "string"
                 },
                 "userType": {
@@ -5687,6 +7070,23 @@
                 },
                 "username": {
                     "type": "string"
+                },
+                "uuid": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddAuthority": {
+            "type": "object",
+            "properties": {
+                "authorityName": {
+                    "type": "string"
+                },
+                "casbinInfos": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.CasbinInfo"
+                    }
                 }
             }
         },
@@ -5929,6 +7329,37 @@
                 }
             }
         },
+        "request.AddCustomerServiceSheet": {
+            "type": "object",
+            "properties": {
+                "handleStatus": {
+                    "type": "integer"
+                },
+                "memberId": {
+                    "type": "integer"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "priority": {
+                    "type": "integer"
+                },
+                "serviceMode": {
+                    "type": "integer"
+                }
+            }
+        },
+        "request.AddDepartment": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddEnterpriseNature": {
             "type": "object",
             "required": [
@@ -5973,6 +7404,17 @@
                 }
             }
         },
+        "request.AddIsVisit": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddMasterOrder": {
             "type": "object",
             "properties": {
@@ -5986,7 +7428,7 @@
                     "type": "integer"
                 },
                 "money": {
-                    "type": "string"
+                    "type": "number"
                 },
                 "number": {
                     "type": "string"
@@ -6119,6 +7561,17 @@
                 }
             }
         },
+        "request.AddReportSource": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddSaleChance": {
             "type": "object",
             "properties": {
@@ -6148,6 +7601,9 @@
                 },
                 "currency": {
                     "type": "integer"
+                },
+                "detail_address": {
+                    "type": "string"
                 },
                 "disadvantages": {
                     "type": "string"
@@ -6193,6 +7649,9 @@
                 },
                 "regular_customers_id": {
                     "type": "integer"
+                },
+                "remark": {
+                    "type": "string"
                 },
                 "sale_stage_id": {
                     "type": "integer"
@@ -6323,6 +7782,17 @@
                 }
             }
         },
+        "request.AddSatisfaction": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddServiceContract": {
             "type": "object",
             "properties": {
@@ -6379,6 +7849,108 @@
                 }
             }
         },
+        "request.AddServiceFeeManage": {
+            "type": "object",
+            "properties": {
+                "business_scope": {
+                    "description": "缁忚惀鑼冨洿",
+                    "type": "string"
+                },
+                "city_id": {
+                    "type": "integer"
+                },
+                "client_level_id": {
+                    "description": "瀹㈡埛绛夌骇ID",
+                    "type": "integer"
+                },
+                "client_origin_id": {
+                    "description": "瀹㈡埛鏉ユ簮ID",
+                    "type": "integer"
+                },
+                "client_status_id": {
+                    "description": "瀹㈡埛鐘舵�両D",
+                    "type": "integer"
+                },
+                "client_type_id": {
+                    "description": "瀹㈡埛绫诲瀷ID",
+                    "type": "integer"
+                },
+                "contact": {
+                    "$ref": "#/definitions/request.Contact"
+                },
+                "country_id": {
+                    "type": "integer"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
+                    "type": "string"
+                },
+                "enterprise_nature_id": {
+                    "description": "浼佷笟鎬ц川",
+                    "type": "integer"
+                },
+                "enterprise_scale_id": {
+                    "description": "浼佷笟瑙勬ā",
+                    "type": "integer"
+                },
+                "file": {
+                    "type": "string"
+                },
+                "industry_id": {
+                    "description": "鎵�灞炶涓�",
+                    "type": "integer"
+                },
+                "latest_date": {
+                    "type": "string"
+                },
+                "latest_service_time": {
+                    "description": "鏈�鏅氭湇鍔℃椂闂�",
+                    "type": "string"
+                },
+                "member_id": {
+                    "description": "閿�鍞礋璐d汉ID",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "鍏徃鍚嶇О",
+                    "type": "string"
+                },
+                "next_visit_time": {
+                    "description": "涓嬫鍥炶鏃堕棿",
+                    "type": "string"
+                },
+                "number": {
+                    "description": "鍏徃缂栧彿",
+                    "type": "string"
+                },
+                "province_id": {
+                    "type": "integer"
+                },
+                "region_id": {
+                    "type": "integer"
+                },
+                "registered_capital_id": {
+                    "description": "娉ㄥ唽璧勯噾",
+                    "type": "integer"
+                },
+                "registration_time": {
+                    "description": "娉ㄥ唽鏃堕棿",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "representative": {
+                    "description": "娉曚汉浠h〃",
+                    "type": "string"
+                },
+                "service_member_id": {
+                    "description": "鏈嶅姟璐熻矗浜篒D",
+                    "type": "integer"
+                }
+            }
+        },
         "request.AddServiceFollowup": {
             "type": "object",
             "properties": {
@@ -6423,6 +7995,17 @@
                 }
             }
         },
+        "request.AddSolveRate": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddStatus": {
             "type": "object",
             "required": [
@@ -6437,8 +8020,74 @@
         "request.AddSubOrder": {
             "type": "object",
             "properties": {
-                "subOrder": {
-                    "$ref": "#/definitions/request.SubOrder"
+                "clientId": {
+                    "type": "integer"
+                },
+                "masterOrderId": {
+                    "type": "integer"
+                },
+                "memberId": {
+                    "type": "integer"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "product": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                }
+            }
+        },
+        "request.AddTimelyRate": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddVetting": {
+            "type": "object",
+            "required": [
+                "opinion",
+                "status",
+                "userId",
+                "vettingId",
+                "vettingType"
+            ],
+            "properties": {
+                "opinion": {
+                    "type": "string"
+                },
+                "status": {
+                    "type": "integer"
+                },
+                "userId": {
+                    "type": "integer"
+                },
+                "vettingId": {
+                    "type": "integer"
+                },
+                "vettingType": {
+                    "type": "integer"
+                }
+            }
+        },
+        "request.CasbinInfo": {
+            "type": "object",
+            "properties": {
+                "method": {
+                    "description": "鏂规硶",
+                    "type": "string"
+                },
+                "path": {
+                    "description": "璺緞",
+                    "type": "string"
                 }
             }
         },
@@ -6688,29 +8337,46 @@
         "request.Register": {
             "type": "object",
             "properties": {
+                "authorityId": {
+                    "description": "鐢ㄦ埛瑙掕壊ID",
+                    "type": "integer"
+                },
+                "departmentId": {
+                    "type": "integer"
+                },
                 "email": {
-                    "type": "string",
-                    "example": "鐢靛瓙閭"
+                    "type": "string"
                 },
                 "headerImg": {
-                    "type": "string",
-                    "example": "澶村儚閾炬帴"
+                    "type": "string"
+                },
+                "id": {
+                    "type": "string"
                 },
                 "nickName": {
-                    "type": "string",
-                    "example": "鏄电О"
+                    "type": "string"
                 },
-                "passWord": {
-                    "type": "string",
-                    "example": "瀵嗙爜"
+                "password": {
+                    "type": "string"
                 },
                 "phone": {
-                    "type": "string",
-                    "example": "鐢佃瘽鍙风爜"
+                    "type": "string"
                 },
-                "userName": {
-                    "type": "string",
-                    "example": "鐢ㄦ埛鍚�"
+                "pos": {
+                    "type": "string"
+                },
+                "rePassword": {
+                    "description": "纭瀵嗙爜",
+                    "type": "string"
+                },
+                "realName": {
+                    "type": "string"
+                },
+                "userType": {
+                    "$ref": "#/definitions/constvar.UserType"
+                },
+                "username": {
+                    "type": "string"
                 }
             }
         },
@@ -6831,6 +8497,20 @@
                 }
             }
         },
+        "request.SetAuthorityMenu": {
+            "type": "object",
+            "properties": {
+                "authorityId": {
+                    "type": "integer"
+                },
+                "menus": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.SetCity": {
             "type": "object",
             "properties": {
@@ -6875,29 +8555,6 @@
                     "type": "array",
                     "items": {
                         "type": "integer"
-                    }
-                }
-            }
-        },
-        "request.SubOrder": {
-            "type": "object",
-            "properties": {
-                "clientId": {
-                    "type": "integer"
-                },
-                "masterOrderId": {
-                    "type": "integer"
-                },
-                "memberId": {
-                    "type": "integer"
-                },
-                "number": {
-                    "type": "string"
-                },
-                "product": {
-                    "type": "array",
-                    "items": {
-                        "$ref": "#/definitions/model.Product"
                     }
                 }
             }
@@ -7247,6 +8904,58 @@
                 }
             }
         },
+        "request.UpdateCustomerServiceSheet": {
+            "type": "object",
+            "properties": {
+                "handleStatus": {
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "memberId": {
+                    "type": "integer"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "priority": {
+                    "type": "integer"
+                },
+                "serviceMode": {
+                    "type": "integer"
+                }
+            }
+        },
+        "request.UpdateDepartment": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateDepartmentList": {
+            "type": "object",
+            "required": [
+                "departments"
+            ],
+            "properties": {
+                "departments": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateDepartment"
+                    }
+                }
+            }
+        },
         "request.UpdateEnterpriseNature": {
             "type": "object",
             "required": [
@@ -7342,6 +9051,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": {
@@ -7358,7 +9096,7 @@
                     "type": "integer"
                 },
                 "money": {
-                    "type": "string"
+                    "type": "number"
                 },
                 "number": {
                     "type": "string"
@@ -7583,6 +9321,35 @@
                 }
             }
         },
+        "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"
+                    }
+                }
+            }
+        },
         "request.UpdateSaleChance": {
             "type": "object",
             "required": [
@@ -7615,6 +9382,9 @@
                 },
                 "currency": {
                     "type": "integer"
+                },
+                "detail_address": {
+                    "type": "string"
                 },
                 "disadvantages": {
                     "type": "string"
@@ -7663,6 +9433,9 @@
                 },
                 "regular_customers_id": {
                     "type": "integer"
+                },
+                "remark": {
+                    "type": "string"
                 },
                 "sale_stage_id": {
                     "type": "integer"
@@ -7822,35 +9595,11 @@
         "request.UpdateSalesReturnRequest": {
             "type": "object",
             "properties": {
-                "clientId": {
-                    "type": "integer"
-                },
                 "id": {
                     "type": "integer"
                 },
-                "memberId": {
-                    "type": "integer"
-                },
-                "number": {
-                    "type": "string"
-                },
-                "products": {
-                    "type": "array",
-                    "items": {
-                        "$ref": "#/definitions/model.Product"
-                    }
-                },
-                "reason": {
-                    "type": "string"
-                },
-                "repository": {
-                    "type": "string"
-                },
-                "returnDate": {
-                    "type": "string"
-                },
-                "status": {
-                    "type": "integer"
+                "salesReturn": {
+                    "$ref": "#/definitions/request.SalesReturn"
                 }
             }
         },
@@ -7876,6 +9625,35 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/request.UpdateSalesSources"
+                    }
+                }
+            }
+        },
+        "request.UpdateSatisfaction": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateSatisfactions": {
+            "type": "object",
+            "required": [
+                "satisfactions"
+            ],
+            "properties": {
+                "satisfactions": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateSatisfaction"
                     }
                 }
             }
@@ -7939,6 +9717,109 @@
                 }
             }
         },
+        "request.UpdateServiceFeeManage": {
+            "type": "object",
+            "properties": {
+                "business_scope": {
+                    "description": "缁忚惀鑼冨洿",
+                    "type": "string"
+                },
+                "city_id": {
+                    "type": "integer"
+                },
+                "client_level_id": {
+                    "description": "瀹㈡埛绛夌骇ID",
+                    "type": "integer"
+                },
+                "client_origin_id": {
+                    "description": "瀹㈡埛鏉ユ簮ID",
+                    "type": "integer"
+                },
+                "client_status_id": {
+                    "description": "瀹㈡埛鐘舵�両D",
+                    "type": "integer"
+                },
+                "client_type_id": {
+                    "description": "瀹㈡埛绫诲瀷ID",
+                    "type": "integer"
+                },
+                "contact": {
+                    "$ref": "#/definitions/request.Contact"
+                },
+                "country_id": {
+                    "type": "integer"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
+                    "type": "string"
+                },
+                "enterprise_nature_id": {
+                    "description": "浼佷笟鎬ц川",
+                    "type": "integer"
+                },
+                "enterprise_scale_id": {
+                    "description": "浼佷笟瑙勬ā",
+                    "type": "integer"
+                },
+                "file": {
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "industry_id": {
+                    "description": "鎵�灞炶涓�",
+                    "type": "integer"
+                },
+                "latest_date": {
+                    "type": "string"
+                },
+                "latest_service_time": {
+                    "description": "鏈�鏅氭湇鍔℃椂闂�",
+                    "type": "string"
+                },
+                "member_id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "鍏徃鍚嶇О",
+                    "type": "string"
+                },
+                "next_visit_time": {
+                    "description": "涓嬫鍥炶鏃堕棿",
+                    "type": "string"
+                },
+                "number": {
+                    "description": "鍏徃缂栧彿",
+                    "type": "string"
+                },
+                "province_id": {
+                    "type": "integer"
+                },
+                "region_id": {
+                    "type": "integer"
+                },
+                "registered_capital_id": {
+                    "description": "娉ㄥ唽璧勯噾",
+                    "type": "integer"
+                },
+                "registration_time": {
+                    "description": "娉ㄥ唽鏃堕棿",
+                    "type": "string"
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "representative": {
+                    "description": "娉曚汉浠h〃",
+                    "type": "string"
+                },
+                "service_member_id": {
+                    "description": "鏈嶅姟璐熻矗浜篒D",
+                    "type": "integer"
+                }
+            }
+        },
         "request.UpdateServiceFollowup": {
             "type": "object",
             "properties": {
@@ -7983,6 +9864,35 @@
                 },
                 "timelyRate": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.UpdateSolveRate": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateSolveRates": {
+            "type": "object",
+            "required": [
+                "solve_rate"
+            ],
+            "properties": {
+                "solve_rate": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateSolveRate"
+                    }
                 }
             }
         },
@@ -8037,6 +9947,35 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Product"
+                    }
+                }
+            }
+        },
+        "request.UpdateTimelyRate": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateTimelyRates": {
+            "type": "object",
+            "required": [
+                "timely_rate"
+            ],
+            "properties": {
+                "timely_rate": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateTimelyRate"
                     }
                 }
             }
@@ -8140,6 +10079,183 @@
                 }
             }
         },
+        "response.DataResponse": {
+            "type": "object",
+            "properties": {
+                "city": {
+                    "description": "鍩庡競鏁版嵁",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.City"
+                    }
+                },
+                "client_level": {
+                    "description": "瀹㈡埛绛夌骇",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ClientLevel"
+                    }
+                },
+                "client_origin": {
+                    "description": "瀹㈡埛鏉ユ簮",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ClientOrigin"
+                    }
+                },
+                "client_status": {
+                    "description": "瀹㈡埛鐘舵��",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ClientStatus"
+                    }
+                },
+                "client_type": {
+                    "description": "瀹㈡埛绫诲瀷",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ClientType"
+                    }
+                },
+                "country": {
+                    "description": "鍥藉鏁版嵁",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Country"
+                    }
+                },
+                "department": {
+                    "description": "閮ㄩ棬",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Department"
+                    }
+                },
+                "enterprise_nature": {
+                    "description": "浼佷笟鎬ц川",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.EnterpriseNature"
+                    }
+                },
+                "enterprise_scale": {
+                    "description": "浼佷笟瑙勬ā",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.EnterpriseScale"
+                    }
+                },
+                "industry": {
+                    "description": "琛屼笟",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Industry"
+                    }
+                },
+                "isVisit": {
+                    "description": "鏈嶅姟浜哄憳鏄惁鏉ヨ繃",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.IsVisit"
+                    }
+                },
+                "member": {
+                    "description": "Member",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.User"
+                    }
+                },
+                "province": {
+                    "description": "鐪佷唤鏁版嵁",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Province"
+                    }
+                },
+                "region": {
+                    "description": "鍖哄煙鏁版嵁",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Region"
+                    }
+                },
+                "registered_capital": {
+                    "description": "娉ㄥ唽璧勯噾",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.RegisteredCapital"
+                    }
+                },
+                "regular_customers": {
+                    "description": "鑰佸鎴疯惀閿�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.RegularCustomers"
+                    }
+                },
+                "reportSource": {
+                    "description": "鎶ヨ〃鏉ユ簮",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ReportSource"
+                    }
+                },
+                "sale_stage": {
+                    "description": "閿�鍞樁娈�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SaleStage"
+                    }
+                },
+                "sale_type": {
+                    "description": "閿�鍞被鍨�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SaleType"
+                    }
+                },
+                "sales_source": {
+                    "description": "鍟嗘満鏉ユ簮",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SalesSources"
+                    }
+                },
+                "satisfaction": {
+                    "description": "婊℃剰搴�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Satisfaction"
+                    }
+                },
+                "solve_rate": {
+                    "description": "瑙e喅鐜�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SolveRate"
+                    }
+                },
+                "timely_rate": {
+                    "description": "鍙婃椂鐜�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.TimelyRate"
+                    }
+                }
+            }
+        },
+        "response.DepartmentResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Department"
+                    }
+                }
+            }
+        },
         "response.EnterpriseNatureResponse": {
             "type": "object",
             "properties": {
@@ -8184,6 +10300,17 @@
                 }
             }
         },
+        "response.IsVisitResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.IsVisit"
+                    }
+                }
+            }
+        },
         "response.LoginResponse": {
             "type": "object",
             "properties": {
@@ -8205,6 +10332,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.MasterOrder"
+                    }
+                }
+            }
+        },
+        "response.MenuTreeResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Menu"
                     }
                 }
             }
@@ -8290,6 +10428,17 @@
                 }
             }
         },
+        "response.ReportSourceResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ReportSource"
+                    }
+                }
+            }
+        },
         "response.SaleChanceResponse": {
             "type": "object",
             "properties": {
@@ -8356,6 +10505,17 @@
                 }
             }
         },
+        "response.SalesReturnResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SalesReturn"
+                    }
+                }
+            }
+        },
         "response.SalesSourceResponse": {
             "type": "object",
             "properties": {
@@ -8363,6 +10523,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.SalesSources"
+                    }
+                }
+            }
+        },
+        "response.SatisfactionResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Satisfaction"
                     }
                 }
             }
@@ -8378,6 +10549,17 @@
                 }
             }
         },
+        "response.ServiceFeeManageResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceFeeManage"
+                    }
+                }
+            }
+        },
         "response.ServiceFollowupResponse": {
             "type": "object",
             "properties": {
@@ -8389,6 +10571,17 @@
                 }
             }
         },
+        "response.SolveRateResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SolveRate"
+                    }
+                }
+            }
+        },
         "response.SubOrderResponse": {
             "type": "object",
             "properties": {
@@ -8400,6 +10593,17 @@
                 }
             }
         },
+        "response.TimelyRateResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.TimelyRate"
+                    }
+                }
+            }
+        },
         "response.UserResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0