From 7008089d9afcf41b28bb1d27d8923e9dfb031a19 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 14 八月 2023 10:39:40 +0800
Subject: [PATCH] fix

---
 docs/docs.go | 2749 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 2,447 insertions(+), 302 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 4364ed1..4490f03 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -143,7 +143,7 @@
                 "tags": [
                     "Assign"
                 ],
-                "summary": "瀹℃牳",
+                "summary": "鍒嗛厤",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -1242,6 +1242,127 @@
                 }
             }
         },
+        "/api/collectionProjection/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "CollectionProjection"
+                ],
+                "summary": "娣诲姞鏀舵棰勬祴",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddCollectionProjection"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/collectionProjection/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "CollectionProjection"
+                ],
+                "summary": "鍒犻櫎鏀舵棰勬祴",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/collectionProjection/list": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "CollectionProjection"
+                ],
+                "summary": "鑾峰彇鏀舵棰勬祴鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/collectionProjection/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "CollectionProjection"
+                ],
+                "summary": "鏇存柊鏀舵棰勬祴",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateCollectionProjection"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/contact/add": {
             "post": {
                 "produces": [
@@ -1272,7 +1393,7 @@
                 }
             }
         },
-        "/api/contact/delete/{id}": {
+        "/api/contact/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -1283,11 +1404,13 @@
                 "summary": "鍒犻櫎鑱旂郴浜�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteContact"
+                        }
                     }
                 ],
                 "responses": {
@@ -1610,6 +1733,169 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateCountry"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/courierCompany/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "娣诲姞鐗╂祦鍏徃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddCourierCompany"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/courierCompany/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "鍒犻櫎鐗╂祦鍏徃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/courierCompany/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "鑾峰彇鐗╂祦鍏徃鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "CourierCompanyKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "CourierCompanyQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.CourierCompany"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/courierCompany/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "鏇存柊鐗╂祦鍏徃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateCourierCompany"
                         }
                     }
                 ],
@@ -2503,13 +2789,25 @@
                 "summary": "娣诲姞闄勪欢",
                 "parameters": [
                     {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.AddFile"
-                        }
+                        "type": "integer",
+                        "description": "鏉ユ簮id",
+                        "name": "sourceId",
+                        "in": "formData",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "闄勪欢鏉ユ簮",
+                        "name": "sourceType",
+                        "in": "formData",
+                        "required": true
+                    },
+                    {
+                        "type": "file",
+                        "description": "涓婁紶鏂囦欢",
+                        "name": "file",
+                        "in": "formData",
+                        "required": true
                     }
                 ],
                 "responses": {
@@ -2550,98 +2848,53 @@
                 }
             }
         },
-        "/api/file/list": {
-            "get": {
+        "/api/file/download": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
                     "闄勪欢绠$悊"
                 ],
-                "summary": "鑾峰彇闄勪欢鍒楄〃",
+                "summary": "闄勪欢涓嬭浇",
                 "parameters": [
                     {
-                        "type": "string",
-                        "name": "keyword",
-                        "in": "query"
-                    },
-                    {
-                        "enum": [
-                            ""
-                        ],
-                        "type": "string",
-                        "x-enum-varnames": [
-                            "FileKeywordCustomerName"
-                        ],
-                        "name": "keywordType",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "椤电爜",
-                        "name": "page",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "姣忛〉澶у皬",
-                        "name": "pageSize",
-                        "in": "query"
-                    },
-                    {
-                        "enum": [
-                            ""
-                        ],
-                        "type": "string",
-                        "x-enum-varnames": [
-                            "FileQueryClassExpireLessThen60Days"
-                        ],
-                        "name": "queryClass",
-                        "in": "query"
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DownloadFile"
+                        }
                     }
                 ],
                 "responses": {
                     "200": {
                         "description": "OK",
                         "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/response.ListResponse"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "type": "array",
-                                            "items": {
-                                                "$ref": "#/definitions/model.File"
-                                            }
-                                        }
-                                    }
-                                }
-                            ]
+                            "$ref": "#/definitions/contextx.Response"
                         }
                     }
                 }
             }
         },
-        "/api/file/update": {
-            "put": {
+        "/api/file/preview": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
                     "闄勪欢绠$悊"
                 ],
-                "summary": "鏇存柊闄勪欢",
+                "summary": "闄勪欢棰勮",
                 "parameters": [
                     {
-                        "description": "鏌ヨ鍙傛暟",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/request.UpdateFile"
+                            "$ref": "#/definitions/request.DownloadFile"
                         }
                     }
                 ],
@@ -2685,7 +2938,7 @@
                 }
             }
         },
-        "/api/followRecord/delete/{id}": {
+        "/api/followRecord/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -2696,11 +2949,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": {
@@ -2922,6 +3177,495 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateIndustries"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "娣诲姞閿�鍞彂绁�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddInvoice"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "鍒犻櫎閿�鍞彂绁�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.Invoice"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "鏇存柊閿�鍞彂绁�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateInvoice"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "娣诲姞鍙戠エ鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddInvoiceStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "鍒犻櫎鍙戠エ鐘舵��",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "鑾峰彇鍙戠エ鐘舵�佸垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceStatusKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceStatusQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.InvoiceStatus"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "鏇存柊鍙戠エ鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateInvoiceStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "娣诲姞鍙戠エ绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddInvoiceType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "鍒犻櫎鍙戠エ绫诲瀷",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "鑾峰彇鍙戠エ绫诲瀷鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceTypeKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceTypeQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.InvoiceType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "鏇存柊鍙戠エ绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateInvoiceType"
                         }
                     }
                 ],
@@ -3378,7 +4122,7 @@
                 }
             }
         },
-        "/api/orderManage/delete/{id}": {
+        "/api/orderManage/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -3389,11 +4133,13 @@
                 "summary": "鍒犻櫎宸ュ崟",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteOrderManage"
+                        }
                     }
                 ],
                 "responses": {
@@ -4126,6 +4872,106 @@
                         "description": "OK",
                         "schema": {
                             "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/product/info": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "鑾峰彇浜у搧璇︽儏",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍙傛暟",
+                        "name": "productNumber",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/product.Product"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/product/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "鑾峰彇浜у搧鍒楄〃",
+                "parameters": [
+                    {
+                        "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"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/product.Product"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -5542,6 +6388,36 @@
                 }
             }
         },
+        "/api/saleChance/push": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SaleChance"
+                ],
+                "summary": "鎺ㄨ繘閿�鍞満浼�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.PushSaleChance"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/saleChance/update": {
             "put": {
                 "produces": [
@@ -5970,7 +6846,7 @@
                 }
             }
         },
-        "/api/salesLeads/delete/{id}": {
+        "/api/salesLeads/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -5981,11 +6857,13 @@
                 "summary": "鍒犻櫎閿�鍞嚎绱�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteSalesLeads"
+                        }
                     }
                 ],
                 "responses": {
@@ -6035,6 +6913,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"
                         }
                     }
                 }
@@ -6847,7 +7755,7 @@
                 }
             }
         },
-        "/api/serviceContract/delete/{id}": {
+        "/api/serviceContract/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -6858,11 +7766,13 @@
                 "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteServiceContract"
+                        }
                     }
                 ],
                 "responses": {
@@ -6883,7 +7793,7 @@
                 "tags": [
                     "ServiceContract"
                 ],
-                "summary": "鐢熸垚璁″垝鍒楄〃",
+                "summary": "鏈嶅姟鍚堝悓鍒楄〃",
                 "parameters": [
                     {
                         "description": "鍙傛暟",
@@ -7215,7 +8125,7 @@
                 }
             }
         },
-        "/api/serviceFeeManage/delete/{id}": {
+        "/api/serviceFeeManage/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -7226,11 +8136,13 @@
                 "summary": "鍒犻櫎鏈嶅姟璐圭鐞�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteServiceFeeManage"
+                        }
                     }
                 ],
                 "responses": {
@@ -7345,7 +8257,7 @@
                 }
             }
         },
-        "/api/serviceFollowup/delete/{id}": {
+        "/api/serviceFollowup/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -7356,11 +8268,13 @@
                 "summary": "鍒犻櫎鏈嶅姟璺熻繘",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteServiceFollowup"
+                        }
                     }
                 ],
                 "responses": {
@@ -7504,7 +8418,7 @@
             }
         },
         "/api/serviceOrder/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -7512,6 +8426,17 @@
                     "鏈嶅姟鍗曠鐞�"
                 ],
                 "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetServiceOrderList"
+                        }
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -7554,6 +8479,169 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateServiceOrder"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrderStatus/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠姸鎬�"
+                ],
+                "summary": "娣诲姞鏈嶅姟鍗曠姸鎬�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceOrderStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrderStatus/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠姸鎬�"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟鍗曠姸鎬�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrderStatus/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠姸鎬�"
+                ],
+                "summary": "鑾峰彇鏈嶅姟鍗曠姸鎬佸垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "ServiceOrderStatusKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "ServiceOrderStatusQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.ServiceOrderStatus"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrderStatus/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠姸鎬�"
+                ],
+                "summary": "鏇存柊鏈嶅姟鍗曠姸鎬�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceOrderStatus"
                         }
                     }
                 ],
@@ -8720,6 +9808,169 @@
                     }
                 }
             }
+        },
+        "/api/wechatOrderStatus/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "寰俊璁㈠崟鐘舵��"
+                ],
+                "summary": "娣诲姞寰俊璁㈠崟鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddWechatOrderStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/wechatOrderStatus/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "寰俊璁㈠崟鐘舵��"
+                ],
+                "summary": "鍒犻櫎寰俊璁㈠崟鐘舵��",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/wechatOrderStatus/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "寰俊璁㈠崟鐘舵��"
+                ],
+                "summary": "鑾峰彇寰俊璁㈠崟鐘舵�佸垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "WechatOrderStatusKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "WechatOrderStatusQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.WechatOrderStatus"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/wechatOrderStatus/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "寰俊璁㈠崟鐘舵��"
+                ],
+                "summary": "鏇存柊寰俊璁㈠崟鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateWechatOrderStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
         }
     },
     "definitions": {
@@ -8741,6 +9992,39 @@
                 "BankAccountQueryClassExpireLessThen60Days"
             ]
         },
+        "constvar.CollectionStatus": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "CollectionStatusCollected": "宸叉敹娆�",
+                "CollectionStatusUnCollected": "寰呮敹娆�"
+            },
+            "x-enum-varnames": [
+                "CollectionStatusUnCollected",
+                "CollectionStatusCollected"
+            ]
+        },
+        "constvar.CourierCompanyKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "CourierCompanyKeywordCustomerName"
+            ]
+        },
+        "constvar.CourierCompanyQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "CourierCompanyQueryClassExpireLessThen60Days"
+            ]
+        },
         "constvar.FaqKeywordType": {
             "type": "string",
             "enum": [
@@ -8759,22 +10043,69 @@
                 "FaqQueryClassExpireLessThen60Days"
             ]
         },
-        "constvar.FileKeywordType": {
+        "constvar.InvoiceKeywordType": {
             "type": "string",
             "enum": [
                 ""
             ],
             "x-enum-varnames": [
-                "FileKeywordCustomerName"
+                "InvoiceKeywordCustomerName"
             ]
         },
-        "constvar.FileQueryClass": {
+        "constvar.InvoiceQueryClass": {
             "type": "string",
             "enum": [
                 ""
             ],
             "x-enum-varnames": [
-                "FileQueryClassExpireLessThen60Days"
+                "InvoiceQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.InvoiceSourceType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-varnames": [
+                "InvoiceSourceTypeSaleDetail",
+                "InvoiceSourceTypeServiceContract"
+            ]
+        },
+        "constvar.InvoiceStatusKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceStatusKeywordCustomerName"
+            ]
+        },
+        "constvar.InvoiceStatusQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceStatusQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.InvoiceTypeKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceTypeKeywordCustomerName"
+            ]
+        },
+        "constvar.InvoiceTypeQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceTypeQueryClassExpireLessThen60Days"
             ]
         },
         "constvar.PaymentTypeKeywordType": {
@@ -8813,30 +10144,45 @@
                 "ReceiptQueryClassExpireLessThen60Days"
             ]
         },
+        "constvar.SalesDetailsKeywordType": {
+            "type": "string",
+            "enum": [
+                "瀹㈡埛鍚嶇О",
+                "璁㈠崟缂栧彿",
+                "绛剧害鏃ユ湡",
+                "閿�鍞礋璐d汉",
+                "浜у搧鍚嶇О"
+            ],
+            "x-enum-varnames": [
+                "SalesDetailsKeywordTypeCustomerName",
+                "SalesDetailsKeywordTypeOrderNumber",
+                "SalesDetailsKeywordTypeSignTime",
+                "SalesDetailsKeywordTypePrincipal",
+                "SalesDetailsKeywordTypeProductName"
+            ]
+        },
         "constvar.SalesStatus": {
             "type": "integer",
             "enum": [
+                0,
                 1,
                 2,
                 3,
-                4,
-                5,
-                6
+                -1
             ],
             "x-enum-comments": {
                 "SalesStatusFail": "澶辫触",
                 "SalesStatusIng": "杩涜涓�",
                 "SalesStatusLevelUptoClient": "鍗囩骇涓哄鎴�",
                 "SalesStatusLevelUptoClientAndSalesChance": "鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�",
-                "SalesStatusSuccess": "鎴愬姛"
+                "SalesStatusNew": "鏂板缓"
             },
             "x-enum-varnames": [
                 "SalesStatusNew",
                 "SalesStatusIng",
-                "SalesStatusSuccess",
-                "SalesStatusFail",
                 "SalesStatusLevelUptoClient",
-                "SalesStatusLevelUptoClientAndSalesChance"
+                "SalesStatusLevelUptoClientAndSalesChance",
+                "SalesStatusFail"
             ]
         },
         "constvar.ServiceContractKeywordType": {
@@ -8944,6 +10290,56 @@
                 "ServiceFollowupKeywordSatisfactionDegree"
             ]
         },
+        "constvar.ServiceOrderKeywordType": {
+            "type": "string",
+            "enum": [
+                "鏈嶅姟鍗曠紪鍙�",
+                "涓婚",
+                "瀹㈡埛鍚嶇О",
+                "瀹為檯澶勭悊鏃堕棿",
+                "鏈嶅姟浜哄憳",
+                "鏈嶅姟鏂瑰紡",
+                "浜у搧绫诲埆",
+                "鏁呴殰绫诲埆"
+            ],
+            "x-enum-varnames": [
+                "ServiceOrderKeywordOrderNumber",
+                "ServiceOrderKeywordSubject",
+                "ServiceOrderKeywordClientName",
+                "ServiceOrderKeywordRealProcessTime",
+                "ServiceOrderKeywordServiceMan",
+                "ServiceOrderKeywordServiceType",
+                "ServiceOrderKeywordProductType",
+                "ServiceOrderKeywordFaultType"
+            ]
+        },
+        "constvar.ServiceOrderQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceOrderQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.ServiceOrderStatusKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceOrderStatusKeywordCustomerName"
+            ]
+        },
+        "constvar.ServiceOrderStatusQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceOrderStatusQueryClassExpireLessThen60Days"
+            ]
+        },
         "constvar.UserType": {
             "type": "integer",
             "enum": [
@@ -8960,6 +10356,24 @@
                 "UserTypeSuper",
                 "UserTypePrimary",
                 "UserTypeSub"
+            ]
+        },
+        "constvar.WechatOrderStatusKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "WechatOrderStatusKeywordCustomerName"
+            ]
+        },
+        "constvar.WechatOrderStatusQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "WechatOrderStatusQueryClassExpireLessThen60Days"
             ]
         },
         "contextx.Response": {
@@ -9117,6 +10531,9 @@
                 "latest_service_time": {
                     "type": "string"
                 },
+                "member": {
+                    "$ref": "#/definitions/model.User"
+                },
                 "member_id": {
                     "type": "integer"
                 },
@@ -9201,6 +10618,42 @@
                     "type": "integer"
                 },
                 "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.CollectionProjection": {
+            "type": "object",
+            "properties": {
+                "created_at": {
+                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
+                    "type": "string"
+                },
+                "creator": {
+                    "type": "integer"
+                },
+                "deleted_at": {
+                    "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
+                    "type": "string"
+                },
+                "estimated_collection_amount": {
+                    "type": "number"
+                },
+                "estimated_collection_date": {
+                    "type": "string"
+                },
+                "id": {
+                    "description": "The ID of the item\nexample: 1",
+                    "type": "integer"
+                },
+                "modifier": {
+                    "type": "integer"
+                },
+                "sale_chance_id": {
+                    "type": "integer"
+                },
+                "updated_at": {
+                    "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
                     "type": "string"
                 }
             }
@@ -9390,6 +10843,17 @@
                 }
             }
         },
+        "model.CourierCompany": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.Currency": {
             "type": "object",
             "properties": {
@@ -9482,64 +10946,6 @@
                 }
             }
         },
-        "model.File": {
-            "type": "object",
-            "properties": {
-                "bucket": {
-                    "description": "瀵硅薄瀛樺偍bucket",
-                    "type": "string"
-                },
-                "content": {
-                    "description": "鏂囦欢鍐呭",
-                    "type": "string"
-                },
-                "createTime": {
-                    "description": "鍒涘缓鏃堕棿",
-                    "type": "string"
-                },
-                "downloadCount": {
-                    "description": "涓嬫娆℃暟",
-                    "type": "integer"
-                },
-                "filePath": {
-                    "description": "鏂囦欢璺緞",
-                    "type": "string"
-                },
-                "fileType": {
-                    "description": "鏂囦欢绫诲瀷",
-                    "type": "string"
-                },
-                "id": {
-                    "type": "integer"
-                },
-                "key": {
-                    "description": "瀵硅薄瀛樺偍key",
-                    "type": "string"
-                },
-                "name": {
-                    "type": "string"
-                },
-                "previewCount": {
-                    "description": "棰勮娆℃暟",
-                    "type": "integer"
-                },
-                "size": {
-                    "description": "鏂囦欢澶у皬",
-                    "type": "integer"
-                },
-                "sourceId": {
-                    "description": "鏉ユ簮id",
-                    "type": "integer"
-                },
-                "sourceType": {
-                    "description": "闄勪欢鏉ユ簮",
-                    "type": "string"
-                },
-                "updateTime": {
-                    "type": "string"
-                }
-            }
-        },
         "model.FollowRecord": {
             "type": "object",
             "properties": {
@@ -9570,6 +10976,9 @@
                 "id": {
                     "type": "integer"
                 },
+                "member": {
+                    "$ref": "#/definitions/model.User"
+                },
                 "member_id": {
                     "type": "integer"
                 },
@@ -9597,6 +11006,106 @@
             }
         },
         "model.Industry": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.Invoice": {
+            "type": "object",
+            "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "courierCompany": {
+                    "$ref": "#/definitions/model.CourierCompany"
+                },
+                "courierCompanyId": {
+                    "description": "鐗╂祦鍏徃",
+                    "type": "integer"
+                },
+                "courierNumber": {
+                    "description": "鐗╂祦鍗曞彿",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "invoiceDate": {
+                    "description": "寮�绁ㄦ棩鏈�",
+                    "type": "string"
+                },
+                "invoiceNumber": {
+                    "description": "鍙戠エ鍙风爜",
+                    "type": "string"
+                },
+                "invoiceStatus": {
+                    "$ref": "#/definitions/model.InvoiceStatus"
+                },
+                "invoiceStatusId": {
+                    "description": "鍙戠エ鐘舵�乮d",
+                    "type": "integer"
+                },
+                "invoiceType": {
+                    "$ref": "#/definitions/model.InvoiceType"
+                },
+                "invoiceTypeId": {
+                    "description": "鍙戠エ绫诲瀷id",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "閿�鍞礋璐d汉id",
+                    "type": "integer"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoiceSourceType"
+                        }
+                    ]
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "taxpayerIdNumber": {
+                    "description": "绾崇◣璇嗗埆鍙�",
+                    "type": "string"
+                }
+            }
+        },
+        "model.InvoiceStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.InvoiceType": {
             "type": "object",
             "properties": {
                 "id": {
@@ -9812,7 +11321,7 @@
             "type": "object",
             "properties": {
                 "amount": {
-                    "type": "integer"
+                    "type": "number"
                 },
                 "desc": {
                     "type": "string"
@@ -9880,6 +11389,12 @@
                 },
                 "number": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -10044,6 +11559,12 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "collection_projections": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.CollectionProjection"
+                    }
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -10179,6 +11700,22 @@
                 "addressee": {
                     "type": "string"
                 },
+                "amountInvoiced": {
+                    "description": "宸插紑绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "amountReceivable": {
+                    "description": "搴旀敹閲戦",
+                    "type": "number"
+                },
+                "amountReceived": {
+                    "description": "宸叉敹閲戦",
+                    "type": "number"
+                },
+                "amountUnInvoiced": {
+                    "description": "鏈紑绁ㄩ噾棰�",
+                    "type": "number"
+                },
                 "client": {
                     "$ref": "#/definitions/model.Client"
                 },
@@ -10221,6 +11758,9 @@
                 "remark": {
                     "type": "string"
                 },
+                "saleChance": {
+                    "$ref": "#/definitions/model.SaleChance"
+                },
                 "saleChanceId": {
                     "type": "integer"
                 },
@@ -10231,6 +11771,9 @@
                     "type": "string"
                 },
                 "wechatOrderStatus": {
+                    "$ref": "#/definitions/model.WechatOrderStatus"
+                },
+                "wechatOrderStatusId": {
                     "type": "integer"
                 }
             }
@@ -10285,6 +11828,9 @@
                 },
                 "province_id": {
                     "type": "integer"
+                },
+                "reason": {
+                    "type": "string"
                 },
                 "region": {
                     "$ref": "#/definitions/model.Region"
@@ -10454,7 +12000,11 @@
                 },
                 "status": {
                     "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�",
-                    "type": "integer"
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.CollectionStatus"
+                        }
+                    ]
                 },
                 "term": {
                     "description": "鏈熸",
@@ -10465,13 +12015,35 @@
         "model.ServiceContract": {
             "type": "object",
             "properties": {
+                "SaleChance": {
+                    "$ref": "#/definitions/model.SaleChance"
+                },
+                "amountInvoiced": {
+                    "description": "宸插紑绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "amountReceivable": {
+                    "description": "搴旀敹閲戦",
+                    "type": "number"
+                },
+                "amountReceived": {
+                    "description": "宸叉敹閲戦",
+                    "type": "number"
+                },
+                "amountUnInvoiced": {
+                    "description": "鏈紑绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
-                "contactId": {
-                    "type": "integer"
+                "contact": {
+                    "$ref": "#/definitions/model.Contact"
                 },
-                "contractId": {
+                "contactId": {
                     "type": "integer"
                 },
                 "endTime": {
@@ -10492,6 +12064,9 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "quotation": {
+                    "$ref": "#/definitions/model.Quotation"
+                },
                 "quotationId": {
                     "type": "integer"
                 },
@@ -10501,8 +12076,20 @@
                 "saleChanceId": {
                     "type": "integer"
                 },
+                "salesDetails": {
+                    "$ref": "#/definitions/model.SalesDetails"
+                },
+                "salesDetailsId": {
+                    "type": "integer"
+                },
+                "serviceContractStatus": {
+                    "$ref": "#/definitions/model.ServiceContractStatus"
+                },
                 "serviceContractStatusId": {
                     "type": "integer"
+                },
+                "serviceContractType": {
+                    "$ref": "#/definitions/model.ServiceContractType"
                 },
                 "serviceContractTypeId": {
                     "type": "integer"
@@ -10572,8 +12159,17 @@
         "model.ServiceFollowup": {
             "type": "object",
             "properties": {
+                "Member": {
+                    "$ref": "#/definitions/model.User"
+                },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
+                },
+                "contact": {
+                    "$ref": "#/definitions/model.Contact"
                 },
                 "contactId": {
                     "type": "integer"
@@ -10587,6 +12183,9 @@
                 "id": {
                     "type": "integer"
                 },
+                "isVisit": {
+                    "$ref": "#/definitions/model.IsVisit"
+                },
                 "isVisitId": {
                     "type": "integer"
                 },
@@ -10595,6 +12194,9 @@
                 },
                 "number": {
                     "type": "string"
+                },
+                "oldMember": {
+                    "$ref": "#/definitions/model.User"
                 },
                 "oldMemberId": {
                     "type": "integer"
@@ -10605,6 +12207,9 @@
                 "remark": {
                     "type": "string"
                 },
+                "satisfaction": {
+                    "$ref": "#/definitions/model.Satisfaction"
+                },
                 "satisfactionId": {
                     "type": "integer"
                 },
@@ -10614,8 +12219,14 @@
                 "serviceOrder": {
                     "$ref": "#/definitions/model.ServiceOrder"
                 },
+                "solveRate": {
+                    "$ref": "#/definitions/model.SolveRate"
+                },
                 "solveRateId": {
                     "type": "integer"
+                },
+                "timelyRate": {
+                    "$ref": "#/definitions/model.TimelyRate"
                 },
                 "timelyRateId": {
                     "type": "integer"
@@ -10634,11 +12245,11 @@
                     "type": "string"
                 },
                 "carFare": {
-                    "description": "浜ら�氳垂",
+                    "description": "浜ら�氳垂                                                                 // 浜ら�氳垂",
                     "type": "number"
                 },
                 "chargeAmount": {
-                    "description": "鏀惰垂閲戦",
+                    "description": "鏀惰垂閲戦                                                       // 鏀惰垂閲戦",
                     "type": "number"
                 },
                 "client": {
@@ -10731,6 +12342,13 @@
                     "description": "鏈嶅姟鍗曠紪鍙�",
                     "type": "string"
                 },
+                "serviceOrderStatus": {
+                    "$ref": "#/definitions/model.ServiceOrderStatus"
+                },
+                "serviceOrderStatusId": {
+                    "description": "澶勭悊鐘舵��",
+                    "type": "integer"
+                },
                 "serviceType": {
                     "$ref": "#/definitions/model.ServiceType"
                 },
@@ -10749,10 +12367,6 @@
                     "description": "鍐呴儴澶囨敞",
                     "type": "string"
                 },
-                "status": {
-                    "description": "澶勭悊鐘舵��",
-                    "type": "integer"
-                },
                 "subject": {
                     "description": "涓婚",
                     "type": "string"
@@ -10763,6 +12377,17 @@
                 "timeSpentId": {
                     "description": "鑺辫垂鏃堕棿",
                     "type": "integer"
+                }
+            }
+        },
+        "model.ServiceOrderStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -10913,6 +12538,55 @@
                 }
             }
         },
+        "model.WechatOrderStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "product.Product": {
+            "type": "object",
+            "properties": {
+                "Amount": {
+                    "description": "搴撳瓨鍓╀綑閲�",
+                    "type": "number"
+                },
+                "IsSale": {
+                    "description": "鏄惁閿�鍞�",
+                    "type": "boolean"
+                },
+                "MaterialMode": {
+                    "description": "鐗╂枡绫诲瀷",
+                    "type": "string"
+                },
+                "MinInventory": {
+                    "description": "瀹夊叏搴撳瓨",
+                    "type": "integer"
+                },
+                "Name": {
+                    "type": "string"
+                },
+                "Number": {
+                    "type": "string"
+                },
+                "PurchaseType": {
+                    "description": "閲囪喘绫诲瀷",
+                    "type": "string"
+                },
+                "SalePrice": {
+                    "description": "閿�鍞环鏍�",
+                    "type": "number"
+                },
+                "Unit": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddAccountId": {
             "type": "object",
             "required": [
@@ -11051,6 +12725,10 @@
                     "description": "娉曚汉浠h〃",
                     "type": "string"
                 },
+                "sales_leads_id": {
+                    "description": "閿�鍞嚎绱D",
+                    "type": "integer"
+                },
                 "service_member_id": {
                     "description": "鏈嶅姟璐熻矗浜篒D",
                     "type": "integer"
@@ -11087,6 +12765,23 @@
             "properties": {
                 "name": {
                     "type": "string"
+                }
+            }
+        },
+        "request.AddCollectionProjection": {
+            "type": "object",
+            "properties": {
+                "estimated_collection_amount": {
+                    "description": "棰勮鏀舵閲戦",
+                    "type": "number"
+                },
+                "estimated_collection_time": {
+                    "description": "棰勮鏀舵鏃堕棿",
+                    "type": "string"
+                },
+                "sale_chance_id": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
                 }
             }
         },
@@ -11188,6 +12883,17 @@
                 }
             }
         },
+        "request.AddCourierCompany": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddCurrency": {
             "type": "object",
             "required": [
@@ -11274,23 +12980,6 @@
                 }
             }
         },
-        "request.AddFile": {
-            "type": "object",
-            "required": [
-                "sourceId",
-                "sourceType"
-            ],
-            "properties": {
-                "sourceId": {
-                    "description": "鏉ユ簮id",
-                    "type": "integer"
-                },
-                "sourceType": {
-                    "description": "闄勪欢鏉ユ簮",
-                    "type": "string"
-                }
-            }
-        },
         "request.AddFollowRecord": {
             "type": "object",
             "required": [
@@ -11308,6 +12997,92 @@
                 "name"
             ],
             "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddInvoice": {
+            "type": "object",
+            "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "courierCompanyId": {
+                    "description": "鐗╂祦鍏徃",
+                    "type": "integer"
+                },
+                "courierNumber": {
+                    "description": "鐗╂祦鍗曞彿",
+                    "type": "string"
+                },
+                "invoiceDate": {
+                    "description": "寮�绁ㄦ棩鏈�",
+                    "type": "string"
+                },
+                "invoiceNumber": {
+                    "description": "鍙戠エ鍙风爜",
+                    "type": "string"
+                },
+                "invoiceStatusId": {
+                    "description": "鍙戠エ鐘舵�乮d",
+                    "type": "integer"
+                },
+                "invoiceTypeId": {
+                    "description": "鍙戠エ绫诲瀷id",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "閿�鍞礋璐d汉id",
+                    "type": "integer"
+                },
+                "products": {
+                    "description": "鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoiceSourceType"
+                        }
+                    ]
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "taxpayerIdNumber": {
+                    "description": "绾崇◣璇嗗埆鍙�",
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddInvoiceStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddInvoiceType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
                 "name": {
                     "type": "string"
                 }
@@ -11471,6 +13246,12 @@
                 },
                 "number": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -11735,8 +13516,59 @@
         "request.AddSalesDetails": {
             "type": "object",
             "properties": {
-                "salesDetails": {
-                    "$ref": "#/definitions/request.SalesDetails"
+                "address": {
+                    "type": "string"
+                },
+                "addressee": {
+                    "type": "string"
+                },
+                "clientId": {
+                    "type": "integer"
+                },
+                "conditions": {
+                    "type": "string"
+                },
+                "deliveryDate": {
+                    "type": "string"
+                },
+                "logisticCompany": {
+                    "type": "string"
+                },
+                "logisticCost": {
+                    "type": "number"
+                },
+                "logisticNumber": {
+                    "type": "string"
+                },
+                "memberId": {
+                    "type": "integer"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "phone": {
+                    "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "saleChanceId": {
+                    "type": "integer"
+                },
+                "saleType": {
+                    "type": "integer"
+                },
+                "signTime": {
+                    "type": "string"
+                },
+                "wechatOrderStatusId": {
+                    "type": "integer"
                 }
             }
         },
@@ -11840,6 +13672,9 @@
         },
         "request.AddServiceCollectionPlan": {
             "type": "object",
+            "required": [
+                "list"
+            ],
             "properties": {
                 "list": {
                     "type": "array",
@@ -11851,14 +13686,14 @@
         },
         "request.AddServiceContract": {
             "type": "object",
+            "required": [
+                "memberId"
+            ],
             "properties": {
                 "clientId": {
                     "type": "integer"
                 },
                 "contactId": {
-                    "type": "integer"
-                },
-                "contractId": {
                     "type": "integer"
                 },
                 "endTime": {
@@ -11883,6 +13718,9 @@
                     "type": "string"
                 },
                 "saleChanceId": {
+                    "type": "integer"
+                },
+                "salesDetailsId": {
                     "type": "integer"
                 },
                 "serviceTimes": {
@@ -12023,6 +13861,10 @@
                     "description": "娉曚汉浠h〃",
                     "type": "string"
                 },
+                "sales_leads_id": {
+                    "description": "閿�鍞嚎绱D",
+                    "type": "integer"
+                },
                 "service_member_id": {
                     "description": "鏈嶅姟璐熻矗浜篒D",
                     "type": "integer"
@@ -12152,6 +13994,10 @@
                     "description": "鏈嶅姟鍗曠紪鍙�",
                     "type": "string"
                 },
+                "serviceOrderStatusId": {
+                    "description": "澶勭悊鐘舵��",
+                    "type": "integer"
+                },
                 "serviceTypeId": {
                     "description": "鏈嶅姟鏂瑰紡id",
                     "type": "integer"
@@ -12168,10 +14014,6 @@
                     "description": "鍐呴儴澶囨敞",
                     "type": "string"
                 },
-                "status": {
-                    "description": "澶勭悊鐘舵��",
-                    "type": "integer"
-                },
                 "subject": {
                     "description": "涓婚",
                     "type": "string"
@@ -12179,6 +14021,17 @@
                 "timeSpentId": {
                     "description": "鑺辫垂鏃堕棿",
                     "type": "integer"
+                }
+            }
+        },
+        "request.AddServiceOrderStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -12298,16 +14151,31 @@
                 }
             }
         },
-        "request.Assign": {
+        "request.AddWechatOrderStatus": {
             "type": "object",
             "properties": {
                 "id": {
                     "type": "integer"
                 },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.Assign": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                },
                 "member_id": {
                     "type": "integer"
                 },
                 "type": {
+                    "description": "绫诲瀷: client: 瀹㈡埛; salesLead: 閿�鍞嚎绱�; contact: 鑱旂郴浜�; followRecord: 璺熻繘璁板綍",
                     "type": "string"
                 }
             }
@@ -12444,6 +14312,17 @@
                 }
             }
         },
+        "request.DeleteContact": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.DeleteCountry": {
             "type": "object",
             "properties": {
@@ -12453,11 +14332,104 @@
                 }
             }
         },
+        "request.DeleteFollowRecord": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteOrderManage": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteSalesLeads": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteServiceContract": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteServiceFeeManage": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteServiceFollowup": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.DeleteUserReq": {
             "type": "object",
             "properties": {
                 "userId": {
                     "description": "鐢ㄦ埛ID",
+                    "type": "string"
+                }
+            }
+        },
+        "request.DownloadFile": {
+            "type": "object",
+            "required": [
+                "id",
+                "key",
+                "sourceId",
+                "sourceType"
+            ],
+            "properties": {
+                "id": {
+                    "description": "闄勪欢id",
+                    "type": "integer"
+                },
+                "key": {
+                    "description": "闄勪欢瀛樺偍key",
+                    "type": "string"
+                },
+                "sourceId": {
+                    "description": "鏉ユ簮id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "闄勪欢鏉ユ簮",
                     "type": "string"
                 }
             }
@@ -12512,9 +14484,6 @@
         "request.GetClientList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12522,15 +14491,17 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "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
                 }
             }
         },
         "request.GetContactList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12538,6 +14509,11 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "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\": \"鏄惁鏄瑕佽仈绯讳汉\"}",
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },
@@ -12582,9 +14558,6 @@
         "request.GetFollowRecordList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12592,15 +14565,17 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "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\": \"鑱旂郴浜哄鍚峔"}",
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },
         "request.GetMasterOrderList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12608,6 +14583,11 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "search_map": {
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞�诲崟鍙穃", \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"start_time\": \"寮�濮嬫椂闂碶", \"end_time\": \"缁撴潫鏃堕棿\", \"money\": \"鎬婚噾棰漒", \"member_name\": \"璐熻矗浜篭"}",
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },
@@ -12646,9 +14626,6 @@
         "request.GetQuotationList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12656,15 +14633,17 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "searchMap": {
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 閿�鍞嚎绱d, \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"contact_name\": \"鑱旂郴浜篭", \"validity_date\": \"鏈夋晥鏈焅"}",
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },
         "request.GetSaleChanceList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12672,6 +14651,11 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "search_map": {
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"鏈轰細鍚嶇О\", \"client_name\": \"瀹㈡埛鍚嶇О\",\"number\":\"缂栧彿\", \"contact_name\":\"鑱旂郴浜哄鍚峔", \"member_name\": \"閿�鍞礋璐d汉\", \"status\": \"鐘舵�乗", \"sale_stage\": \"闃舵\", \"possibilities\": \"鍙兘鎬", \"expected_time\": \"棰勮鎴愪氦鏃堕棿\", \"budget\": \"璧勯噾缁濆鍊糪", \"projected_amount\": \"棰勮鍚堝悓閲戦\"}",
+                    "type": "object",
+                    "additionalProperties": true
                 }
             }
         },
@@ -12680,6 +14664,9 @@
             "properties": {
                 "keyword": {
                     "type": "string"
+                },
+                "keywordType": {
+                    "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
                 },
                 "page": {
                     "description": "椤电爜",
@@ -12694,9 +14681,6 @@
         "request.GetSalesLeadsList": {
             "type": "object",
             "properties": {
-                "keyword": {
-                    "type": "string"
-                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -12704,6 +14688,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
                 }
             }
         },
@@ -12802,6 +14791,28 @@
                 }
             }
         },
+        "request.GetServiceOrderList": {
+            "type": "object",
+            "properties": {
+                "keyword": {
+                    "type": "string"
+                },
+                "keywordType": {
+                    "$ref": "#/definitions/constvar.ServiceOrderKeywordType"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "queryClass": {
+                    "$ref": "#/definitions/constvar.ServiceOrderQueryClass"
+                }
+            }
+        },
         "request.GetSubOrderList": {
             "type": "object",
             "properties": {
@@ -12885,6 +14896,40 @@
                 },
                 "subOrderId": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.PushSaleChance": {
+            "type": "object",
+            "required": [
+                "id",
+                "step"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "step": {
+                    "type": "integer"
+                }
+            }
+        },
+        "request.PushSalesLeads": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "reason": {
+                    "type": "string"
+                },
+                "step": {
+                    "description": "鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.SalesStatus"
+                        }
+                    ]
                 }
             }
         },
@@ -12988,7 +15033,7 @@
                 "signTime": {
                     "type": "string"
                 },
-                "wechatOrderStatus": {
+                "wechatOrderStatusId": {
                     "type": "integer"
                 }
             }
@@ -13280,6 +15325,10 @@
                     "description": "娉曚汉浠h〃",
                     "type": "string"
                 },
+                "sales_leads_id": {
+                    "description": "閿�鍞嚎绱D",
+                    "type": "integer"
+                },
                 "service_member_id": {
                     "description": "鏈嶅姟璐熻矗浜篒D",
                     "type": "integer"
@@ -13399,6 +15448,22 @@
                 }
             }
         },
+        "request.UpdateCollectionProjection": {
+            "type": "object",
+            "properties": {
+                "estimated_collection_amount": {
+                    "description": "棰勮鏀舵閲戦",
+                    "type": "number"
+                },
+                "estimated_collection_time": {
+                    "description": "棰勮鏀舵鏃堕棿",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                }
+            }
+        },
         "request.UpdateContact": {
             "type": "object",
             "properties": {
@@ -13503,6 +15568,17 @@
                 },
                 "name": {
                     "description": "鍥藉鍚嶇О",
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateCourierCompany": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
                     "type": "string"
                 }
             }
@@ -13662,64 +15738,6 @@
                 }
             }
         },
-        "request.UpdateFile": {
-            "type": "object",
-            "properties": {
-                "bucket": {
-                    "description": "瀵硅薄瀛樺偍bucket",
-                    "type": "string"
-                },
-                "content": {
-                    "description": "鏂囦欢鍐呭",
-                    "type": "string"
-                },
-                "createTime": {
-                    "description": "鍒涘缓鏃堕棿",
-                    "type": "string"
-                },
-                "downloadCount": {
-                    "description": "涓嬫娆℃暟",
-                    "type": "integer"
-                },
-                "filePath": {
-                    "description": "鏂囦欢璺緞",
-                    "type": "string"
-                },
-                "fileType": {
-                    "description": "鏂囦欢绫诲瀷",
-                    "type": "string"
-                },
-                "id": {
-                    "type": "integer"
-                },
-                "key": {
-                    "description": "瀵硅薄瀛樺偍key",
-                    "type": "string"
-                },
-                "name": {
-                    "type": "string"
-                },
-                "previewCount": {
-                    "description": "棰勮娆℃暟",
-                    "type": "integer"
-                },
-                "size": {
-                    "description": "鏂囦欢澶у皬",
-                    "type": "integer"
-                },
-                "sourceId": {
-                    "description": "鏉ユ簮id",
-                    "type": "integer"
-                },
-                "sourceType": {
-                    "description": "闄勪欢鏉ユ簮",
-                    "type": "string"
-                },
-                "updateTime": {
-                    "type": "string"
-                }
-            }
-        },
         "request.UpdateFollowRecord": {
             "type": "object",
             "required": [
@@ -13754,6 +15772,94 @@
                 "id",
                 "name"
             ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateInvoice": {
+            "type": "object",
+            "required": [
+                "id"
+            ],
+            "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "courierCompanyId": {
+                    "description": "鐗╂祦鍏徃",
+                    "type": "integer"
+                },
+                "courierNumber": {
+                    "description": "鐗╂祦鍗曞彿",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "invoiceDate": {
+                    "description": "寮�绁ㄦ棩鏈�",
+                    "type": "integer"
+                },
+                "invoiceNumber": {
+                    "description": "鍙戠エ鍙风爜",
+                    "type": "string"
+                },
+                "invoiceStatusId": {
+                    "description": "鍙戠エ鐘舵�乮d",
+                    "type": "integer"
+                },
+                "invoiceTypeId": {
+                    "description": "鍙戠エ绫诲瀷id",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "閿�鍞礋璐d汉id",
+                    "type": "integer"
+                },
+                "products": {
+                    "description": "鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "taxpayerIdNumber": {
+                    "description": "绾崇◣璇嗗埆鍙�",
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateInvoiceStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateInvoiceType": {
+            "type": "object",
             "properties": {
                 "id": {
                     "type": "integer"
@@ -14021,6 +16127,12 @@
                 },
                 "number": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -14662,7 +16774,11 @@
                 },
                 "status": {
                     "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�",
-                    "type": "integer"
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.CollectionStatus"
+                        }
+                    ]
                 },
                 "term": {
                     "description": "鏈熸",
@@ -14672,14 +16788,14 @@
         },
         "request.UpdateServiceContract": {
             "type": "object",
+            "required": [
+                "memberId"
+            ],
             "properties": {
                 "clientId": {
                     "type": "integer"
                 },
                 "contactId": {
-                    "type": "integer"
-                },
-                "contractId": {
                     "type": "integer"
                 },
                 "endTime": {
@@ -14707,6 +16823,9 @@
                     "type": "string"
                 },
                 "saleChanceId": {
+                    "type": "integer"
+                },
+                "salesDetailsId": {
                     "type": "integer"
                 },
                 "serviceTimes": {
@@ -14884,6 +17003,10 @@
                     "description": "娉曚汉浠h〃",
                     "type": "string"
                 },
+                "sales_leads_id": {
+                    "description": "閿�鍞嚎绱D",
+                    "type": "integer"
+                },
                 "service_member_id": {
                     "description": "鏈嶅姟璐熻矗浜篒D",
                     "type": "integer"
@@ -15019,6 +17142,10 @@
                     "description": "鏈嶅姟鍗曠紪鍙�",
                     "type": "string"
                 },
+                "serviceOrderStatusId": {
+                    "description": "澶勭悊鐘舵��",
+                    "type": "integer"
+                },
                 "serviceTypeId": {
                     "description": "鏈嶅姟鏂瑰紡id",
                     "type": "integer"
@@ -15035,10 +17162,6 @@
                     "description": "鍐呴儴澶囨敞",
                     "type": "string"
                 },
-                "status": {
-                    "description": "澶勭悊鐘舵��",
-                    "type": "integer"
-                },
                 "subject": {
                     "description": "涓婚",
                     "type": "string"
@@ -15046,6 +17169,17 @@
                 "timeSpentId": {
                     "description": "鑺辫垂鏃堕棿",
                     "type": "integer"
+                }
+            }
+        },
+        "request.UpdateServiceOrderStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -15210,6 +17344,17 @@
                 }
             }
         },
+        "request.UpdateWechatOrderStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "response.AccountIdResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0