From 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 17:32:10 +0800
Subject: [PATCH] fix

---
 docs/docs.go |  560 +++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 459 insertions(+), 101 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 5c448f1..f65be80 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -664,6 +664,36 @@
                 }
             }
         },
+        "/api/client/checkName": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Client"
+                ],
+                "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.CheckClientName"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/client/delete": {
             "delete": {
                 "produces": [
@@ -1495,6 +1525,37 @@
                 }
             }
         },
+        "/api/contactInformation/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ContactInformation"
+                ],
+                "summary": "鑱旂郴鏂瑰紡鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.ContactInformationResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api/contract/add": {
             "post": {
                 "produces": [
@@ -1525,7 +1586,7 @@
                 }
             }
         },
-        "/api/contract/delete/{id}": {
+        "/api/contract/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -1536,11 +1597,13 @@
                 "summary": "鍒犻櫎鍚堝悓",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteContract"
+                        }
                     }
                 ],
                 "responses": {
@@ -3947,7 +4010,7 @@
                 }
             }
         },
-        "/api/masterOrder/delete/{id}": {
+        "/api/masterOrder/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -3958,11 +4021,13 @@
                 "summary": "鍒犻櫎涓昏鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteMasterOrder"
+                        }
                     }
                 ],
                 "responses": {
@@ -5165,7 +5230,7 @@
                 }
             }
         },
-        "/api/quotation/delete/{id}": {
+        "/api/quotation/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -5176,11 +5241,13 @@
                 "summary": "鍒犻櫎鎶ヤ环鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteQuotation"
+                        }
                     }
                 ],
                 "responses": {
@@ -6318,7 +6385,7 @@
                 }
             }
         },
-        "/api/saleChance/delete/{id}": {
+        "/api/saleChance/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -6329,11 +6396,13 @@
                 "summary": "鍒犻櫎閿�鍞満浼�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteSaleChance"
+                        }
                     }
                 ],
                 "responses": {
@@ -6716,6 +6785,36 @@
                 }
             }
         },
+        "/api/salesDetails/delete": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails 閿�鍞槑缁�"
+                ],
+                "summary": "鎵归噺鍒犻櫎閿�鍞槑缁�",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.CommonIds"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesDetails/delete/{id}": {
             "delete": {
                 "produces": [
@@ -6984,7 +7083,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "娣诲姞閿�鍞��娆�",
                 "parameters": [
@@ -7008,13 +7107,43 @@
                 }
             }
         },
+        "/api/salesRefund/delete": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞��娆惧崟"
+                ],
+                "summary": "鎵归噺鍒犻櫎閿�鍞��娆惧崟",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.CommonIds"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesRefund/delete/{id}": {
             "delete": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "鍒犻櫎閿�鍞��娆�",
                 "parameters": [
@@ -7042,7 +7171,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "閿�鍞��娆惧崟鍒楄〃",
                 "parameters": [
@@ -7084,7 +7213,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "鏇存柊閿�鍞��娆�",
                 "parameters": [
@@ -7114,7 +7243,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "娣诲姞閿�鍞��璐�",
                 "parameters": [
@@ -7138,13 +7267,43 @@
                 }
             }
         },
+        "/api/salesReturn/delete": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞��璐у崟"
+                ],
+                "summary": "鎵归噺鍒犻櫎閿�鍞��璐у崟",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.CommonIds"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesReturn/delete/{id}": {
             "delete": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "鍒犻櫎閿�鍞��璐�",
                 "parameters": [
@@ -7172,7 +7331,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "閿�鍞��璐у崟鍒楄〃",
                 "parameters": [
@@ -7214,7 +7373,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "鏇存柊閿�鍞��璐�",
                 "parameters": [
@@ -7763,15 +7922,15 @@
                 "tags": [
                     "ServiceContract"
                 ],
-                "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
+                "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓",
                 "parameters": [
                     {
-                        "description": "鏌ヨ鍙傛暟",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/request.DeleteServiceContract"
+                            "$ref": "#/definitions/request.CommonIds"
                         }
                     }
                 ],
@@ -7863,9 +8022,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��",
+                "summary": "娣诲姞鍚堝悓鐘舵��",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -7893,9 +8052,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��",
+                "summary": "鍒犻櫎鍚堝悓鐘舵��",
                 "parameters": [
                     {
                         "type": "integer",
@@ -7921,22 +8080,66 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�",
+                "summary": "鑾峰彇鍚堝悓鐘舵�佸垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "ServiceContractStatusKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "ServiceContractStatusQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
                         "schema": {
                             "allOf": [
                                 {
-                                    "$ref": "#/definitions/contextx.Response"
+                                    "$ref": "#/definitions/response.ListResponse"
                                 },
                                 {
                                     "type": "object",
                                     "properties": {
                                         "data": {
-                                            "$ref": "#/definitions/response.ServiceContractStatusResponse"
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.ServiceContractStatus"
+                                            }
                                         }
                                     }
                                 }
@@ -7952,9 +8155,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��",
+                "summary": "鏇存柊鍚堝悓鐘舵��",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -7962,7 +8165,7 @@
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/request.UpdateServiceContractStatuss"
+                            "$ref": "#/definitions/request.UpdateServiceContractStatus"
                         }
                     }
                 ],
@@ -8395,12 +8598,12 @@
                     "application/json"
                 ],
                 "tags": [
-                    "鏈嶅姟鍗曠鐞�"
+                    "鏈嶅姟鍗�"
                 ],
                 "summary": "鎵归噺鍒犻櫎鏈嶅姟鍗�",
                 "parameters": [
                     {
-                        "description": "鏌ヨ鍙傛暟",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
@@ -9185,7 +9388,7 @@
                 }
             }
         },
-        "/api/subOrder/delete/{id}": {
+        "/api/subOrder/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -9196,11 +9399,13 @@
                 "summary": "鍒犻櫎瀛愯鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteSubOrder"
+                        }
                     }
                 ],
                 "responses": {
@@ -10263,6 +10468,29 @@
                 "SalesRefundKeywordPriceTotal"
             ]
         },
+        "constvar.SalesReturnKeywordType": {
+            "type": "string",
+            "enum": [
+                "閿�鍞��璐у崟缂栧彿",
+                "瀹㈡埛鍚嶇О",
+                "閫�娆炬棩鏈�",
+                "鐘舵��",
+                "閫�鍏ヤ粨搴�",
+                "搴旈��娆�",
+                "宸查��娆�",
+                "閿�鍞礋璐d汉"
+            ],
+            "x-enum-varnames": [
+                "SalesReturnKeywordReturnNumber",
+                "SalesReturnKeywordClientName",
+                "SalesReturnKeywordReturnDate",
+                "SalesReturnKeywordStatus",
+                "SalesReturnKeywordRepository",
+                "SalesReturnKeywordAmountShouldRefund",
+                "SalesReturnKeywordAmountHasRefund",
+                "SalesReturnKeywordPrincipal"
+            ]
+        },
         "constvar.SalesReturnSourceType": {
             "type": "integer",
             "enum": [
@@ -10339,6 +10567,24 @@
                 "ServiceContractQueryClassExpireAfter60Day",
                 "ServiceContractQueryClassExpiredBefore15Day",
                 "ServiceContractQueryClassExpiredBefore60Day"
+            ]
+        },
+        "constvar.ServiceContractStatusKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceContractStatusKeywordCustomerName"
+            ]
+        },
+        "constvar.ServiceContractStatusQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceContractStatusQueryClassExpireLessThen60Days"
             ]
         },
         "constvar.ServiceFeeKeywordType": {
@@ -10567,6 +10813,10 @@
         "model.Client": {
             "type": "object",
             "properties": {
+                "_": {
+                    "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
+                    "type": "string"
+                },
                 "business_scope": {
                     "type": "string"
                 },
@@ -10612,6 +10862,13 @@
                 "country_id": {
                     "type": "integer"
                 },
+                "created_at": {
+                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
+                    "type": "string"
+                },
+                "creator_id": {
+                    "type": "integer"
+                },
                 "detail_address": {
                     "type": "string"
                 },
@@ -10634,6 +10891,7 @@
                     }
                 },
                 "id": {
+                    "description": "The ID of the item\nexample: 1",
                     "type": "integer"
                 },
                 "industry": {
@@ -10689,6 +10947,10 @@
                 },
                 "service_member_id": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+                    "type": "string"
                 }
             }
         },
@@ -10913,6 +11175,17 @@
                     "type": "integer"
                 },
                 "wechat": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.ContactInformation": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
                     "type": "string"
                 }
             }
@@ -12066,7 +12339,7 @@
                     "type": "integer"
                 },
                 "isInvoice": {
-                    "type": "integer"
+                    "type": "string"
                 },
                 "member": {
                     "$ref": "#/definitions/model.User"
@@ -12101,7 +12374,7 @@
                     "type": "integer"
                 },
                 "sourceType": {
-                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級",
                     "allOf": [
                         {
                             "$ref": "#/definitions/constvar.RefundSourceType"
@@ -12123,6 +12396,14 @@
                             "$ref": "#/definitions/model.SalesReturnStatus"
                         }
                     ]
+                },
+                "amountHasRefund": {
+                    "description": "宸查��娆鹃噾棰�",
+                    "type": "number"
+                },
+                "amountShouldRefund": {
+                    "description": "搴旈��娆鹃噾棰�",
+                    "type": "number"
                 },
                 "client": {
                     "$ref": "#/definitions/model.Client"
@@ -12333,6 +12614,9 @@
                 },
                 "id": {
                     "type": "integer"
+                },
+                "member": {
+                    "$ref": "#/definitions/model.User"
                 },
                 "memberId": {
                     "type": "integer"
@@ -12577,12 +12861,13 @@
                     "description": "闂鎻忚堪",
                     "type": "string"
                 },
-                "product": {
-                    "$ref": "#/definitions/model.Product"
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
                 },
-                "productId": {
-                    "description": "浜у搧id",
-                    "type": "integer"
+                "productTypeName": {
+                    "description": "浜у搧鍒嗙被鍚嶇О",
+                    "type": "string"
                 },
                 "realTime": {
                     "description": "瀹為檯澶勭悊鏃堕棿",
@@ -12612,6 +12897,14 @@
                 "serviceContractId": {
                     "description": "鏈嶅姟鍚堝悓id",
                     "type": "integer"
+                },
+                "serviceMan": {
+                    "description": "鏈嶅姟浜哄憳",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
                 },
                 "serviceManId": {
                     "description": "鏈嶅姟浜哄憳",
@@ -12948,6 +13241,10 @@
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -14052,10 +14349,10 @@
         },
         "request.AddServiceContractStatus": {
             "type": "object",
-            "required": [
-                "name"
-            ],
             "properties": {
+                "id": {
+                    "type": "integer"
+                },
                 "name": {
                     "type": "string"
                 }
@@ -14100,6 +14397,10 @@
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -14269,9 +14570,13 @@
                     "description": "闂鎻忚堪",
                     "type": "string"
                 },
-                "productId": {
-                    "description": "浜у搧id",
-                    "type": "integer"
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "productTypeName": {
+                    "description": "浜у搧鍒嗙被鍚嶇О",
+                    "type": "string"
                 },
                 "realTime": {
                     "description": "瀹為檯澶勭悊鏃堕棿",
@@ -14542,6 +14847,14 @@
                 }
             }
         },
+        "request.CheckClientName": {
+            "type": "object",
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.CommonIds": {
             "type": "object",
             "required": [
@@ -14644,6 +14957,17 @@
                 }
             }
         },
+        "request.DeleteContract": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.DeleteCountry": {
             "type": "object",
             "properties": {
@@ -14654,6 +14978,17 @@
             }
         },
         "request.DeleteFollowRecord": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteMasterOrder": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14675,7 +15010,7 @@
                 }
             }
         },
-        "request.DeleteSalesLeads": {
+        "request.DeleteQuotation": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14686,7 +15021,18 @@
                 }
             }
         },
-        "request.DeleteServiceContract": {
+        "request.DeleteSaleChance": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteSalesLeads": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14709,6 +15055,17 @@
             }
         },
         "request.DeleteServiceFollowup": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteSubOrder": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14832,7 +15189,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\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\"}",
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\", \"client_id\": \"clientId 鐢ㄤ簬杩斿洖棣栬鑱旂郴浜篭"}",
                     "type": "object",
                     "additionalProperties": true
                 }
@@ -14890,7 +15247,7 @@
                     "type": "integer"
                 },
                 "search_map": {
-                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔"}",
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}",
                     "type": "object",
                     "additionalProperties": true
                 }
@@ -14957,7 +15314,7 @@
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
                 },
-                "searchMap": {
+                "search_map": {
                     "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 閿�鍞嚎绱d, \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"contact_name\": \"鑱旂郴浜篭", \"validity_date\": \"鏈夋晥鏈焅"}",
                     "type": "object",
                     "additionalProperties": true
@@ -15043,6 +15400,9 @@
             "properties": {
                 "keyword": {
                     "type": "string"
+                },
+                "keywordType": {
+                    "$ref": "#/definitions/constvar.SalesReturnKeywordType"
                 },
                 "page": {
                     "description": "椤电爜",
@@ -15378,6 +15738,10 @@
         },
         "request.SalesRefund": {
             "type": "object",
+            "required": [
+                "sourceId",
+                "sourceType"
+            ],
             "properties": {
                 "bankAccountId": {
                     "description": "璐︽埛id",
@@ -15387,7 +15751,7 @@
                     "type": "integer"
                 },
                 "isInvoice": {
-                    "type": "integer"
+                    "type": "string"
                 },
                 "memberId": {
                     "type": "integer"
@@ -15416,7 +15780,7 @@
                     "type": "integer"
                 },
                 "sourceType": {
-                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�",
                     "allOf": [
                         {
                             "$ref": "#/definitions/constvar.RefundSourceType"
@@ -15628,6 +15992,10 @@
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -17256,30 +17624,12 @@
         },
         "request.UpdateServiceContractStatus": {
             "type": "object",
-            "required": [
-                "id",
-                "name"
-            ],
             "properties": {
                 "id": {
                     "type": "integer"
                 },
                 "name": {
                     "type": "string"
-                }
-            }
-        },
-        "request.UpdateServiceContractStatuss": {
-            "type": "object",
-            "required": [
-                "service_contract_status"
-            ],
-            "properties": {
-                "service_contract_status": {
-                    "type": "array",
-                    "items": {
-                        "$ref": "#/definitions/request.UpdateServiceContractStatus"
-                    }
                 }
             }
         },
@@ -17340,6 +17690,10 @@
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -17516,9 +17870,13 @@
                     "description": "闂鎻忚堪",
                     "type": "string"
                 },
-                "productId": {
-                    "description": "浜у搧id",
-                    "type": "integer"
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "productTypeName": {
+                    "description": "浜у搧鍒嗙被鍚嶇О",
+                    "type": "string"
                 },
                 "realTime": {
                     "description": "瀹為檯澶勭悊鏃堕棿",
@@ -17837,6 +18195,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.ClientType"
+                    }
+                }
+            }
+        },
+        "response.ContactInformationResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ContactInformation"
                     }
                 }
             }
@@ -18552,17 +18921,6 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Satisfaction"
-                    }
-                }
-            }
-        },
-        "response.ServiceContractStatusResponse": {
-            "type": "object",
-            "properties": {
-                "list": {
-                    "type": "array",
-                    "items": {
-                        "$ref": "#/definitions/model.ServiceContractStatus"
                     }
                 }
             }

--
Gitblit v1.8.0