From 3cc43f63ba22972cea3d5376c24ac5d546a72cec Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 18 七月 2023 15:10:26 +0800
Subject: [PATCH] fix

---
 docs/docs.go |  751 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 750 insertions(+), 1 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index efd3896..1f314e2 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"
                 ],
@@ -1299,6 +1383,37 @@
                 }
             }
         },
+        "/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/enterpriseNature/add": {
             "post": {
                 "produces": [
@@ -1925,6 +2040,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": [
@@ -2337,6 +2497,15 @@
                     "Province"
                 ],
                 "summary": "鑾峰彇鐪佷唤鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鍥藉ID",
+                        "name": "country_id",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -2605,6 +2774,15 @@
                     "Region"
                 ],
                 "summary": "鍦板尯鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鍩庡競ID",
+                        "name": "city_id",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -3972,6 +4150,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": [
@@ -4649,6 +4946,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": {
@@ -4678,14 +4998,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"
@@ -5008,6 +5340,32 @@
                 }
             }
         },
+        "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.EnterpriseNature": {
             "type": "object",
             "properties": {
@@ -5033,11 +5391,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"
@@ -5113,6 +5477,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"
                 }
             }
@@ -5659,6 +6050,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": {
@@ -5667,6 +6084,9 @@
                 },
                 "contactId": {
                     "type": "integer"
+                },
+                "customerServiceSheet": {
+                    "$ref": "#/definitions/model.CustomerServiceSheet"
                 },
                 "file": {
                     "type": "string"
@@ -5735,6 +6155,13 @@
         "model.User": {
             "type": "object",
             "properties": {
+                "authority": {
+                    "$ref": "#/definitions/model.Authority"
+                },
+                "authorityId": {
+                    "description": "鐢ㄦ埛瑙掕壊ID",
+                    "type": "integer"
+                },
                 "companyName": {
                     "type": "string"
                 },
@@ -5794,6 +6221,20 @@
                 },
                 "username": {
                     "type": "string"
+                }
+            }
+        },
+        "request.AddAuthority": {
+            "type": "object",
+            "properties": {
+                "authorityName": {
+                    "type": "string"
+                },
+                "casbinInfos": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.CasbinInfo"
+                    }
                 }
             }
         },
@@ -6506,6 +6947,26 @@
                 }
             }
         },
+        "request.AddServiceFeeManage": {
+            "type": "object",
+            "properties": {
+                "client_id": {
+                    "type": "integer"
+                },
+                "file": {
+                    "type": "string"
+                },
+                "latest_date": {
+                    "type": "string"
+                },
+                "member_id": {
+                    "type": "integer"
+                },
+                "remark": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddServiceFollowup": {
             "type": "object",
             "properties": {
@@ -6569,6 +7030,19 @@
                 }
             }
         },
+        "request.CasbinInfo": {
+            "type": "object",
+            "properties": {
+                "method": {
+                    "description": "鏂规硶",
+                    "type": "string"
+                },
+                "path": {
+                    "description": "璺緞",
+                    "type": "string"
+                }
+            }
+        },
         "request.ChangePasswordReq": {
             "type": "object",
             "properties": {
@@ -6608,6 +7082,102 @@
                 "pos": {
                     "description": "鐢ㄦ埛宀椾綅",
                     "type": "string"
+                }
+            }
+        },
+        "request.Client": {
+            "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"
+                },
+                "industry_id": {
+                    "description": "鎵�灞炶涓�",
+                    "type": "integer"
+                },
+                "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"
                 }
             }
         },
@@ -6955,6 +7525,20 @@
                 },
                 "status": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.SetAuthorityMenu": {
+            "type": "object",
+            "properties": {
+                "authorityId": {
+                    "type": "integer"
+                },
+                "menus": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
                 }
             }
         },
@@ -8089,6 +8673,32 @@
                 }
             }
         },
+        "request.UpdateServiceFeeManage": {
+            "type": "object",
+            "properties": {
+                "client": {
+                    "$ref": "#/definitions/request.Client"
+                },
+                "client_id": {
+                    "type": "integer"
+                },
+                "file": {
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "latest_date": {
+                    "type": "string"
+                },
+                "member_id": {
+                    "type": "integer"
+                },
+                "remark": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateServiceFollowup": {
             "type": "object",
             "properties": {
@@ -8290,6 +8900,123 @@
                 }
             }
         },
+        "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"
+                    }
+                },
+                "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"
+                    }
+                },
+                "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"
+                    }
+                },
+                "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"
+                    }
+                }
+            }
+        },
         "response.EnterpriseNatureResponse": {
             "type": "object",
             "properties": {
@@ -8355,6 +9082,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.MasterOrder"
+                    }
+                }
+            }
+        },
+        "response.MenuTreeResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Menu"
                     }
                 }
             }
@@ -8528,6 +9266,17 @@
                 }
             }
         },
+        "response.ServiceFeeManageResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceFeeManage"
+                    }
+                }
+            }
+        },
         "response.ServiceFollowupResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0