From 530fed8ec225453572d57b15c200ab062c335457 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 01 十一月 2023 19:20:21 +0800
Subject: [PATCH] 公海member_id使用0

---
 docs/docs.go | 1267 +++++++++++++++++++++++++++++++-------------------------
 1 files changed, 700 insertions(+), 567 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 049bf2e..8452e69 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -404,79 +404,6 @@
                 }
             }
         },
-        "/api/base/captcha": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "Base"
-                ],
-                "summary": "鑾峰彇楠岃瘉鐮�",
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.LoginResponse"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
-        "/api/base/login": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "Base"
-                ],
-                "summary": "鐢ㄦ埛鐧诲綍",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.Login"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.LoginResponse"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
         "/api/city/add": {
             "post": {
                 "produces": [
@@ -1267,6 +1194,84 @@
                         "description": "OK",
                         "schema": {
                             "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/code/getAutoCode": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "缂栫爜"
+                ],
+                "summary": "鑾峰彇鑷姩缂栫爜",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/code.CodeStandard"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/code/getCodeList": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "缂栫爜"
+                ],
+                "summary": "鑾峰彇缂栫爜鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "codeStandID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "type",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
                         }
                     }
                 }
@@ -3312,7 +3317,7 @@
             }
         },
         "/api/invoice/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -3322,43 +3327,13 @@
                 "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"
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetInvoiceList"
+                        }
                     }
                 ],
                 "responses": {
@@ -5521,6 +5496,12 @@
                 "parameters": [
                     {
                         "type": "integer",
+                        "description": "瀹㈡埛id",
+                        "name": "clientId",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
                         "description": "椤电爜",
                         "name": "page",
                         "in": "query"
@@ -5559,6 +5540,7 @@
                             "ReceiptSourceTypeCollectionPlan",
                             "ReceiptSourceTypeChuKuDan"
                         ],
+                        "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
                         "name": "sourceType",
                         "in": "query"
                     }
@@ -5724,6 +5706,142 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateRefundMethods"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "娣诲姞閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddRefundType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/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/refundType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.RefundType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "鏇存柊閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateRefundType"
                         }
                     }
                 ],
@@ -7829,7 +7947,7 @@
             }
         },
         "/api/serviceCollectionPlan/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -7839,28 +7957,13 @@
                 "summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "name": "sourceId",
-                        "in": "query",
-                        "required": true
-                    },
-                    {
-                        "enum": [
-                            1,
-                            2
-                        ],
-                        "type": "integer",
-                        "x-enum-comments": {
-                            "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�",
-                            "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
-                        },
-                        "x-enum-varnames": [
-                            "CollectionSourceTypeSaleDetails",
-                            "CollectionSourceTypeServiceContract"
-                        ],
-                        "name": "sourceType",
-                        "in": "query",
-                        "required": true
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+                        }
                     }
                 ],
                 "responses": {
@@ -9765,259 +9868,6 @@
                 }
             }
         },
-        "/api/user/changePassword": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鐢ㄦ埛淇敼瀵嗙爜",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.ChangePasswordReq"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/deleteUser": {
-            "delete": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鍒犻櫎鐢ㄦ埛",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.DeleteUserReq"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/getUserInfo": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鑾峰彇鑷韩淇℃伅",
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/getUserList": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.GetUserList"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.PageResult"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/register": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "娉ㄥ唽璐﹀彿",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.Register"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.UserResponse"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/resetPassword": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/model.User"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/setSelfInfo": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "璁剧疆鐢ㄦ埛淇℃伅",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.ChangeUserInfo"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/setUserInfo": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "璁剧疆鐢ㄦ埛淇℃伅",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.ChangeUserInfo"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
         "/api/vetting/add": {
             "post": {
                 "produces": [
@@ -10243,6 +10093,69 @@
         }
     },
     "definitions": {
+        "code.CodeAuto": {
+            "type": "object",
+            "properties": {
+                "AutoLength": {
+                    "type": "integer"
+                },
+                "Desc": {
+                    "type": "string"
+                },
+                "PrefixMethod": {
+                    "type": "integer"
+                },
+                "PrefixValue": {
+                    "type": "string"
+                },
+                "SuffixMethod": {
+                    "type": "integer"
+                }
+            }
+        },
+        "code.CodeRule": {
+            "type": "object",
+            "properties": {
+                "Desc": {
+                    "type": "string"
+                },
+                "Length": {
+                    "type": "integer"
+                },
+                "Name": {
+                    "type": "string"
+                }
+            }
+        },
+        "code.CodeStandard": {
+            "type": "object",
+            "properties": {
+                "AutoRule": {
+                    "$ref": "#/definitions/code.CodeAuto"
+                },
+                "ID": {
+                    "type": "string"
+                },
+                "List": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/code.CodeRule"
+                    }
+                },
+                "Method": {
+                    "type": "integer"
+                },
+                "Name": {
+                    "type": "string"
+                },
+                "Status": {
+                    "type": "string"
+                },
+                "Type": {
+                    "type": "string"
+                }
+            }
+        },
         "constvar.BankAccountKeywordType": {
             "type": "string",
             "enum": [
@@ -10328,24 +10241,6 @@
             ],
             "x-enum-varnames": [
                 "FaqQueryClassExpireLessThen60Days"
-            ]
-        },
-        "constvar.InvoiceKeywordType": {
-            "type": "string",
-            "enum": [
-                ""
-            ],
-            "x-enum-varnames": [
-                "InvoiceKeywordCustomerName"
-            ]
-        },
-        "constvar.InvoiceQueryClass": {
-            "type": "string",
-            "enum": [
-                ""
-            ],
-            "x-enum-varnames": [
-                "InvoiceQueryClassExpireLessThen60Days"
             ]
         },
         "constvar.InvoiceSourceType": {
@@ -10869,6 +10764,9 @@
                 "client_type_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contacts": {
                     "type": "array",
                     "items": {
@@ -11064,6 +10962,9 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "country": {
                     "$ref": "#/definitions/model.Country"
                 },
@@ -11134,6 +11035,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -11214,6 +11118,12 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
+                "contractName": {
+                    "type": "string"
+                },
                 "created_at": {
                     "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
                     "type": "string"
@@ -11239,6 +11149,9 @@
                 },
                 "quotationId": {
                     "type": "integer"
+                },
+                "sendTime": {
+                    "type": "string"
                 },
                 "serviceContractStatus": {
                     "$ref": "#/definitions/model.ServiceContractStatus"
@@ -11361,6 +11274,9 @@
                 "client_status_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -11438,6 +11354,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "courierCompany": {
                     "$ref": "#/definitions/model.CourierCompany"
                 },
@@ -11473,6 +11392,9 @@
                 "invoiceTypeId": {
                     "description": "鍙戠エ绫诲瀷id",
                     "type": "integer"
+                },
+                "number": {
+                    "type": "string"
                 },
                 "principalId": {
                     "description": "閿�鍞礋璐d汉id",
@@ -11558,6 +11480,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -11784,6 +11709,9 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -11813,6 +11741,9 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationName": {
+                    "type": "string"
                 },
                 "quotation_status": {
                     "$ref": "#/definitions/model.QuotationStatus"
@@ -11943,6 +11874,17 @@
                 }
             }
         },
+        "model.RefundType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.Region": {
             "type": "object",
             "properties": {
@@ -12022,6 +11964,9 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "collection_projections": {
                     "type": "array",
                     "items": {
@@ -12091,6 +12036,12 @@
                 "process": {
                     "type": "string"
                 },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
                 "projected_amount": {
                     "type": "number"
                 },
@@ -12135,6 +12086,14 @@
                 },
                 "solutions": {
                     "type": "string"
+                },
+                "status": {
+                    "description": "鐘舵��",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.Status"
+                        }
+                    ]
                 },
                 "status_id": {
                     "type": "integer"
@@ -12207,6 +12166,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -12218,6 +12180,9 @@
                 },
                 "creatorName": {
                     "type": "string"
+                },
+                "deliverType": {
+                    "type": "integer"
                 },
                 "deliveryDate": {
                     "type": "string"
@@ -12248,6 +12213,12 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotation": {
+                    "$ref": "#/definitions/model.Quotation"
+                },
+                "quotationId": {
+                    "type": "integer"
                 },
                 "remark": {
                     "type": "string"
@@ -12283,6 +12254,9 @@
                 },
                 "city_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact_name": {
                     "type": "string"
@@ -12355,8 +12329,13 @@
         "model.SalesRefund": {
             "type": "object",
             "properties": {
-                "Source": {
-                    "$ref": "#/definitions/model.SalesReturn"
+                "RefundType": {
+                    "description": "閫�娆炬柟寮�",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.RefundType"
+                        }
+                    ]
                 },
                 "amountTotal": {
                     "description": "浠风◣鍚堣",
@@ -12374,6 +12353,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "createTime": {
                     "type": "string"
@@ -12414,6 +12396,13 @@
                 },
                 "refundDate": {
                     "type": "string"
+                },
+                "refundTypeId": {
+                    "description": "閫�娆炬柟寮廔D",
+                    "type": "integer"
+                },
+                "salesReturn": {
+                    "$ref": "#/definitions/model.SalesReturn"
                 },
                 "sourceId": {
                     "description": "婧愬崟id",
@@ -12459,6 +12448,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "createTime": {
                     "type": "string"
@@ -12666,6 +12658,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -12806,6 +12801,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -12902,6 +12900,9 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
@@ -13021,6 +13022,10 @@
                 "severity": {
                     "$ref": "#/definitions/model.Severity"
                 },
+                "severityId": {
+                    "description": "涓ラ噸绋嬪害id",
+                    "type": "integer"
+                },
                 "solution": {
                     "description": "瑙e喅鏂规硶",
                     "type": "string"
@@ -13108,6 +13113,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "id": {
                     "type": "integer"
@@ -13348,6 +13356,10 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
                 },
@@ -13548,6 +13560,14 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
+                "contractName": {
+                    "description": "鍚堝悓鍚嶇О",
+                    "type": "string"
+                },
                 "file": {
                     "type": "string"
                 },
@@ -13559,6 +13579,10 @@
                 },
                 "quotation_id": {
                     "type": "integer"
+                },
+                "sendTime": {
+                    "description": "鍙戣揣鏃堕棿",
+                    "type": "string"
                 },
                 "status_id": {
                     "type": "integer"
@@ -13700,6 +13724,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "courierCompanyId": {
                     "description": "鐗╂祦鍏徃",
                     "type": "integer"
@@ -13723,6 +13750,10 @@
                 "invoiceTypeId": {
                     "description": "鍙戠エ绫诲瀷id",
                     "type": "integer"
+                },
+                "number": {
+                    "description": "鍙戠エ缂栧彿",
+                    "type": "string"
                 },
                 "principalId": {
                     "description": "閿�鍞礋璐d汉id",
@@ -13806,6 +13837,10 @@
             "properties": {
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -13923,6 +13958,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -13943,6 +13982,10 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationName": {
+                    "description": "鎶ヤ环鍗曞悕绉�",
+                    "type": "string"
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -14067,6 +14110,17 @@
                 }
             }
         },
+        "request.AddRefundType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddRegion": {
             "type": "object",
             "properties": {
@@ -14138,6 +14192,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -14185,6 +14243,12 @@
                 },
                 "process": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "projected_amount": {
                     "type": "number"
@@ -14258,8 +14322,16 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
+                },
+                "deliverType": {
+                    "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+                    "type": "integer"
                 },
                 "deliveryDate": {
                     "type": "string"
@@ -14288,6 +14360,9 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "quotationId": {
+                    "type": "integer"
+                },
                 "remark": {
                     "type": "string"
                 },
@@ -14310,6 +14385,10 @@
             "properties": {
                 "city_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
@@ -14430,6 +14509,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14534,6 +14617,10 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
                 },
@@ -14624,6 +14711,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14684,6 +14775,10 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
@@ -14753,7 +14848,7 @@
                     "description": "鏈嶅姟鏂瑰紡id",
                     "type": "integer"
                 },
-                "severity": {
+                "severityId": {
                     "description": "涓ラ噸绋嬪害id",
                     "type": "integer"
                 },
@@ -14835,6 +14930,10 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "masterOrderId": {
                     "type": "integer"
@@ -14940,48 +15039,6 @@
                 },
                 "path": {
                     "description": "璺緞",
-                    "type": "string"
-                }
-            }
-        },
-        "request.ChangePasswordReq": {
-            "type": "object",
-            "properties": {
-                "newPassword": {
-                    "description": "鏂板瘑鐮�",
-                    "type": "string"
-                },
-                "password": {
-                    "description": "瀵嗙爜",
-                    "type": "string"
-                }
-            }
-        },
-        "request.ChangeUserInfo": {
-            "type": "object",
-            "properties": {
-                "email": {
-                    "description": "鐢ㄦ埛閭",
-                    "type": "string"
-                },
-                "headerImg": {
-                    "description": "鐢ㄦ埛澶村儚",
-                    "type": "string"
-                },
-                "id": {
-                    "description": "鐢ㄦ埛ID",
-                    "type": "string"
-                },
-                "nickName": {
-                    "description": "鐢ㄦ埛鏄电О",
-                    "type": "string"
-                },
-                "phone": {
-                    "description": "鐢ㄦ埛鎵嬫満鍙�",
-                    "type": "string"
-                },
-                "pos": {
-                    "description": "鐢ㄦ埛宀椾綅",
                     "type": "string"
                 }
             }
@@ -15215,15 +15272,6 @@
                 }
             }
         },
-        "request.DeleteUserReq": {
-            "type": "object",
-            "properties": {
-                "userId": {
-                    "description": "鐢ㄦ埛ID",
-                    "type": "string"
-                }
-            }
-        },
         "request.DownloadFile": {
             "type": "object",
             "required": [
@@ -15259,6 +15307,9 @@
                 },
                 "client_status_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact_id": {
                     "type": "integer"
@@ -15319,6 +15370,10 @@
         "request.GetContactList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -15389,6 +15444,30 @@
                     "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}",
                     "type": "object",
                     "additionalProperties": true
+                }
+            }
+        },
+        "request.GetInvoiceList": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "sourceId": {
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoiceSourceType"
+                        }
+                    ]
                 }
             }
         },
@@ -15481,11 +15560,19 @@
         "request.GetSalesDetailsList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
                 "keywordType": {
                     "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
+                },
+                "number": {
+                    "description": "閿�鍞瓙鍗曞彿",
+                    "type": "string"
                 },
                 "page": {
                     "description": "椤电爜",
@@ -15493,6 +15580,10 @@
                 },
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
                     "type": "integer"
                 }
             }
@@ -15531,12 +15622,19 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "sourceId": {
+                    "type": "integer"
                 }
             }
         },
         "request.GetSalesReturnList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15550,12 +15648,43 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
+                        }
+                    ]
+                }
+            }
+        },
+        "request.GetServiceCollectionPlanList": {
+            "type": "object",
+            "required": [
+                "sourceId",
+                "sourceType"
+            ],
+            "properties": {
+                "sourceId": {
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "$ref": "#/definitions/constvar.CollectionSourceType"
                 }
             }
         },
         "request.GetServiceContractList": {
             "type": "object",
             "properties": {
+                "contactId": {
+                    "description": "鑱旂郴浜篿d",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15572,6 +15701,18 @@
                 },
                 "queryClass": {
                     "$ref": "#/definitions/constvar.ServiceContractQueryClass"
+                },
+                "quotationId": {
+                    "description": "鎶ヤ环鍗昳d",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "salesDetailsId": {
+                    "description": "鍚堝悓璁㈠崟id",
+                    "type": "integer"
                 }
             }
         },
@@ -15666,44 +15807,6 @@
                 }
             }
         },
-        "request.GetUserList": {
-            "type": "object",
-            "properties": {
-                "keyword": {
-                    "description": "妯$硦鏌ヨ鍏抽敭瀛�",
-                    "type": "string"
-                },
-                "page": {
-                    "description": "椤电爜",
-                    "type": "integer"
-                },
-                "pageSize": {
-                    "description": "姣忛〉澶у皬",
-                    "type": "integer"
-                }
-            }
-        },
-        "request.Login": {
-            "type": "object",
-            "properties": {
-                "captcha": {
-                    "description": "楠岃瘉鐮�",
-                    "type": "string"
-                },
-                "captchaId": {
-                    "description": "楠岃瘉鐮両D",
-                    "type": "string"
-                },
-                "password": {
-                    "description": "瀵嗙爜",
-                    "type": "string"
-                },
-                "username": {
-                    "description": "鐢ㄦ埛鍚�",
-                    "type": "string"
-                }
-            }
-        },
         "request.Plan": {
             "type": "object",
             "properties": {
@@ -15770,52 +15873,6 @@
                 }
             }
         },
-        "request.Register": {
-            "type": "object",
-            "properties": {
-                "authorityId": {
-                    "description": "鐢ㄦ埛瑙掕壊ID",
-                    "type": "integer"
-                },
-                "departmentId": {
-                    "type": "integer"
-                },
-                "email": {
-                    "type": "string"
-                },
-                "headerImg": {
-                    "type": "string"
-                },
-                "id": {
-                    "type": "string"
-                },
-                "nickName": {
-                    "type": "string"
-                },
-                "password": {
-                    "type": "string"
-                },
-                "phone": {
-                    "type": "string"
-                },
-                "pos": {
-                    "type": "string"
-                },
-                "rePassword": {
-                    "description": "纭瀵嗙爜",
-                    "type": "string"
-                },
-                "realName": {
-                    "type": "string"
-                },
-                "userType": {
-                    "$ref": "#/definitions/constvar.UserType"
-                },
-                "username": {
-                    "type": "string"
-                }
-            }
-        },
         "request.SalesDetails": {
             "type": "object",
             "properties": {
@@ -15828,8 +15885,16 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
+                },
+                "deliverType": {
+                    "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+                    "type": "integer"
                 },
                 "deliveryDate": {
                     "type": "string"
@@ -15857,6 +15922,9 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationId": {
+                    "type": "integer"
                 },
                 "remark": {
                     "type": "string"
@@ -15888,6 +15956,10 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "isInvoice": {
                     "type": "string"
@@ -15933,6 +16005,10 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "memberId": {
                     "type": "integer"
@@ -16128,6 +16204,10 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -16414,6 +16494,14 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
+                "contractName": {
+                    "description": "鍚堝悓鍚嶇О",
+                    "type": "string"
+                },
                 "file": {
                     "type": "string"
                 },
@@ -16428,6 +16516,10 @@
                 },
                 "quotation_id": {
                     "type": "integer"
+                },
+                "sendTime": {
+                    "description": "鍙戣揣鏃堕棿",
+                    "type": "string"
                 },
                 "status_id": {
                     "type": "integer"
@@ -16666,6 +16758,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "courierCompanyId": {
                     "description": "鐗╂祦鍏徃",
                     "type": "integer"
@@ -16692,6 +16787,10 @@
                 "invoiceTypeId": {
                     "description": "鍙戠エ绫诲瀷id",
                     "type": "integer"
+                },
+                "number": {
+                    "description": "鍙戠エ缂栧彿",
+                    "type": "string"
                 },
                 "principalId": {
                     "description": "閿�鍞礋璐d汉id",
@@ -16807,6 +16906,10 @@
             "properties": {
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -16985,6 +17088,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -17008,6 +17115,10 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationName": {
+                    "description": "鎶ヤ环鍗曞悕绉�",
+                    "type": "string"
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -17165,6 +17276,17 @@
                     "items": {
                         "$ref": "#/definitions/request.UpdateRefundMethod"
                     }
+                }
+            }
+        },
+        "request.UpdateRefundType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -17327,6 +17449,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -17377,6 +17503,12 @@
                 },
                 "process": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "projected_amount": {
                     "type": "number"
@@ -17490,6 +17622,10 @@
             "properties": {
                 "city_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
@@ -17740,6 +17876,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -17865,6 +18005,10 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
                 },
@@ -17956,6 +18100,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -18019,6 +18167,10 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
@@ -18091,7 +18243,7 @@
                     "description": "鏈嶅姟鏂瑰紡id",
                     "type": "integer"
                 },
-                "severity": {
+                "severityId": {
                     "description": "涓ラ噸绋嬪害id",
                     "type": "integer"
                 },
@@ -18209,6 +18361,10 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "id": {
                     "type": "integer"
@@ -18846,21 +19002,6 @@
                 }
             }
         },
-        "response.PageResult": {
-            "type": "object",
-            "properties": {
-                "list": {},
-                "page": {
-                    "type": "integer"
-                },
-                "pageSize": {
-                    "type": "integer"
-                },
-                "total": {
-                    "type": "integer"
-                }
-            }
-        },
         "response.PlanResponse": {
             "type": "object",
             "properties": {
@@ -19188,14 +19329,6 @@
                     "items": {
                         "$ref": "#/definitions/model.TimelyRate"
                     }
-                }
-            }
-        },
-        "response.UserResponse": {
-            "type": "object",
-            "properties": {
-                "user": {
-                    "$ref": "#/definitions/model.User"
                 }
             }
         }

--
Gitblit v1.8.0