From 491fd33eabdc55efdb4309b9d07c2ab071fa213f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 02 八月 2023 20:14:58 +0800
Subject: [PATCH] fix

---
 docs/swagger.json |  147 ++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 122 insertions(+), 25 deletions(-)

diff --git a/docs/swagger.json b/docs/swagger.json
index 33a070f..f8580fa 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -123,6 +123,36 @@
                 }
             }
         },
+        "/api/assign/assign": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Assign"
+                ],
+                "summary": "瀹℃牳",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.Assign"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/authority/add": {
             "post": {
                 "security": [
@@ -459,7 +489,7 @@
                 }
             }
         },
-        "/api/client/delete/{id}": {
+        "/api/client/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -470,11 +500,13 @@
                 "summary": "鍒犻櫎瀹㈡埛",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "description": "瀹㈡埛ID",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteClient"
+                        }
                     }
                 ],
                 "responses": {
@@ -1065,7 +1097,7 @@
                 }
             }
         },
-        "/api/contact/delete/{id}": {
+        "/api/contact/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -1076,11 +1108,13 @@
                 "summary": "鍒犻櫎鑱旂郴浜�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteContact"
+                        }
                     }
                 ],
                 "responses": {
@@ -2060,7 +2094,7 @@
                 }
             }
         },
-        "/api/followRecord/delete/{id}": {
+        "/api/followRecord/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -2071,11 +2105,13 @@
                 "summary": "鍒犻櫎璺熻繘璁板綍",
                 "parameters": [
                     {
-                        "type": "string",
-                        "description": "璺熻繘璁板綍id",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteFollowRecord"
+                        }
                     }
                 ],
                 "responses": {
@@ -4897,7 +4933,7 @@
                 }
             }
         },
-        "/api/salesLeads/delete/{id}": {
+        "/api/salesLeads/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -4908,11 +4944,13 @@
                 "summary": "鍒犻櫎閿�鍞嚎绱�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteSalesLeads"
+                        }
                     }
                 ],
                 "responses": {
@@ -9742,6 +9780,20 @@
                 }
             }
         },
+        "request.Assign": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "member_id": {
+                    "type": "integer"
+                },
+                "type": {
+                    "type": "string"
+                }
+            }
+        },
         "request.CasbinInfo": {
             "type": "object",
             "properties": {
@@ -9863,12 +9915,56 @@
                 }
             }
         },
+        "request.DeleteClient": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteContact": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.DeleteCountry": {
             "type": "object",
             "properties": {
                 "id": {
                     "description": "鍥藉ID",
                     "type": "integer"
+                }
+            }
+        },
+        "request.DeleteFollowRecord": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteSalesLeads": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
                 }
             }
         },
@@ -9931,9 +10027,6 @@
         "request.GetClientList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -9941,6 +10034,10 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "search_map": {
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },

--
Gitblit v1.8.0