From 1041c15ba9f55e1be4078fc24cef9acfbc0a4326 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 09 八月 2023 17:02:05 +0800
Subject: [PATCH] fix

---
 docs/docs.go |   97 ++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 80 insertions(+), 17 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 9f28f1c..8e464c9 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -4807,23 +4807,27 @@
                 "summary": "鑾峰彇浜у搧鍒楄〃",
                 "parameters": [
                     {
-                        "type": "string",
-                        "name": "ProductName",
-                        "in": "query"
-                    },
-                    {
-                        "type": "string",
-                        "name": "ProductNumber",
-                        "in": "query"
-                    },
-                    {
                         "type": "integer",
+                        "description": "椤电爜",
                         "name": "page",
                         "in": "query"
                     },
                     {
                         "type": "integer",
+                        "description": "姣忛〉澶у皬",
                         "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "浜у搧鍚嶇О",
+                        "name": "productName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "浜у搧缂栫爜",
+                        "name": "productNumber",
                         "in": "query"
                     }
                 ],
@@ -6758,6 +6762,36 @@
                                     }
                                 }
                             ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesLeads/push": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesLeads"
+                ],
+                "summary": "鎺ㄨ繘閿�鍞嚎绱�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.PushSalesLeads"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
                         }
                     }
                 }
@@ -9625,12 +9659,12 @@
         "constvar.SalesStatus": {
             "type": "integer",
             "enum": [
-                -1,
+                0,
                 1,
                 2,
                 3,
                 4,
-                5
+                -1
             ],
             "x-enum-comments": {
                 "SalesStatusFail": "澶辫触",
@@ -9641,12 +9675,12 @@
                 "SalesStatusSuccess": "鎴愬姛"
             },
             "x-enum-varnames": [
-                "SalesStatusFail",
                 "SalesStatusNew",
                 "SalesStatusIng",
                 "SalesStatusSuccess",
                 "SalesStatusLevelUptoClient",
-                "SalesStatusLevelUptoClientAndSalesChance"
+                "SalesStatusLevelUptoClientAndSalesChance",
+                "SalesStatusFail"
             ]
         },
         "constvar.ServiceContractKeywordType": {
@@ -9926,6 +9960,9 @@
                 },
                 "latest_service_time": {
                     "type": "string"
+                },
+                "member": {
+                    "$ref": "#/definitions/model.User"
                 },
                 "member_id": {
                     "type": "integer"
@@ -11142,6 +11179,9 @@
                 },
                 "province_id": {
                     "type": "integer"
+                },
+                "reason": {
+                    "type": "string"
                 },
                 "region": {
                     "$ref": "#/definitions/model.Region"
@@ -13306,6 +13346,7 @@
                     "type": "integer"
                 },
                 "type": {
+                    "description": "绫诲瀷: client: 瀹㈡埛; salesLead: 閿�鍞嚎绱�; contact: 鑱旂郴浜�; followRecord: 璺熻繘璁板綍",
                     "type": "string"
                 }
             }
@@ -13623,6 +13664,7 @@
                     "type": "integer"
                 },
                 "search_map": {
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\"}",
                     "type": "object",
                     "additionalProperties": true
                 }
@@ -13797,9 +13839,6 @@
         "request.GetSalesLeadsList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -13807,6 +13846,11 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "search_map": {
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"} {\"name\": \"瀹㈡埛鍚嶇О\", \"number\": \"閿�鍞嚎绱㈢紪鍙穃", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"phone\": \"鎵嬫満鍙风爜\", \"sales_resources\": \"鍟嗘満鏉ユ簮\", \"city\": \"鍩庡競\", \"province\": \"鐪佷唤\", \"member_name\": \"璐熻矗浜篭"}",
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },
@@ -13991,6 +14035,25 @@
                 }
             }
         },
+        "request.PushSalesLeads": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "reason": {
+                    "type": "string"
+                },
+                "step": {
+                    "description": "鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.SalesStatus"
+                        }
+                    ]
+                }
+            }
+        },
         "request.Register": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0