From 3cd242eeeed8a7a18f3e97bcfd484c867b98a44f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 26 七月 2023 09:48:43 +0800
Subject: [PATCH] fix

---
 docs/docs.go |  433 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 404 insertions(+), 29 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index cf08ca0..cabc262 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -500,14 +500,25 @@
             }
         },
         "/api/client/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
                     "Client"
                 ],
-                "summary": "鑾峰彇瀹㈡埛鍒楄〃",
+                "summary": "瀹㈡埛鍒楄〃",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetClientList"
+                        }
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -1095,7 +1106,7 @@
             }
         },
         "/api/contact/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -1103,6 +1114,17 @@
                     "Contact"
                 ],
                 "summary": "鑱旂郴浜哄垪琛�",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetContactList"
+                        }
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -1382,6 +1404,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateCountry"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/currency/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Currency"
+                ],
+                "summary": "娣诲姞甯佺",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddCurrency"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/currency/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Currency"
+                ],
+                "summary": "鍒犻櫎甯佺",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/currency/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Currency"
+                ],
+                "summary": "鑾峰彇甯佺鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.CurrencyResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/currency/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Currency"
+                ],
+                "summary": "鏇存柊甯佺",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateCurrencys"
                         }
                     }
                 ],
@@ -1949,14 +2090,25 @@
             }
         },
         "/api/followRecord/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
                     "FollowRecord"
                 ],
-                "summary": "鑾峰彇璺熻繘璁板綍鍒楄〃",
+                "summary": "璺熻繘璁板綍鍒楄〃",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetFollowRecordList"
+                        }
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -4697,14 +4849,25 @@
             }
         },
         "/api/salesLeads/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
                     "SalesLeads"
                 ],
-                "summary": "鑾峰彇閿�鍞嚎绱㈠垪琛�",
+                "summary": "閿�鍞嚎绱㈠垪琛�",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetSalesLeadsList"
+                        }
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "OK",
@@ -6693,30 +6856,39 @@
                     }
                 }
             }
+        },
+        "/api/vetting/update": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Vetting"
+                ],
+                "summary": "鏇存柊瀹℃壒",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateVetting"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
         }
     },
     "definitions": {
-        "constvar.CurrencyType": {
-            "type": "integer",
-            "enum": [
-                1,
-                2,
-                3,
-                4
-            ],
-            "x-enum-comments": {
-                "CurrencyTypeCNY": "浜烘皯甯�",
-                "CurrencyTypeEUR": "娆у厓",
-                "CurrencyTypeGBP": "鑻遍晳",
-                "CurrencyTypeUSD": "缇庡厓"
-            },
-            "x-enum-varnames": [
-                "CurrencyTypeCNY",
-                "CurrencyTypeUSD",
-                "CurrencyTypeEUR",
-                "CurrencyTypeGBP"
-            ]
-        },
         "constvar.SalesStatus": {
             "type": "integer",
             "enum": [
@@ -7175,6 +7347,17 @@
                     "items": {
                         "$ref": "#/definitions/model.Province"
                     }
+                }
+            }
+        },
+        "model.Currency": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -7649,7 +7832,7 @@
                     "type": "integer"
                 },
                 "currency": {
-                    "$ref": "#/definitions/constvar.CurrencyType"
+                    "type": "integer"
                 },
                 "detail_address": {
                     "type": "string"
@@ -7782,6 +7965,15 @@
                 },
                 "id": {
                     "type": "integer"
+                },
+                "logisticCompany": {
+                    "type": "string"
+                },
+                "logisticCost": {
+                    "type": "number"
+                },
+                "logisticNumber": {
+                    "type": "string"
                 },
                 "memberId": {
                     "type": "integer"
@@ -8154,6 +8346,17 @@
                 }
             }
         },
+        "model.Status": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.SubOrder": {
             "type": "object",
             "properties": {
@@ -8506,6 +8709,17 @@
             "properties": {
                 "name": {
                     "description": "鍥藉鍚嶇О",
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddCurrency": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
                     "type": "string"
                 }
             }
@@ -9533,6 +9747,70 @@
                 }
             }
         },
+        "request.GetClientList": {
+            "type": "object",
+            "properties": {
+                "keyword": {
+                    "type": "string"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                }
+            }
+        },
+        "request.GetContactList": {
+            "type": "object",
+            "properties": {
+                "keyword": {
+                    "type": "string"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                }
+            }
+        },
+        "request.GetFollowRecordList": {
+            "type": "object",
+            "properties": {
+                "keyword": {
+                    "type": "string"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                }
+            }
+        },
+        "request.GetSalesLeadsList": {
+            "type": "object",
+            "properties": {
+                "keyword": {
+                    "type": "string"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                }
+            }
+        },
         "request.GetUserList": {
             "type": "object",
             "properties": {
@@ -9665,6 +9943,15 @@
                     "type": "string"
                 },
                 "deliveryDate": {
+                    "type": "string"
+                },
+                "logisticCompany": {
+                    "type": "string"
+                },
+                "logisticCost": {
+                    "type": "number"
+                },
+                "logisticNumber": {
                     "type": "string"
                 },
                 "memberId": {
@@ -10199,6 +10486,35 @@
                 "name": {
                     "description": "鍥藉鍚嶇О",
                     "type": "string"
+                }
+            }
+        },
+        "request.UpdateCurrency": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateCurrencys": {
+            "type": "object",
+            "required": [
+                "currency"
+            ],
+            "properties": {
+                "currency": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateCurrency"
+                    }
                 }
             }
         },
@@ -11510,6 +11826,21 @@
                 }
             }
         },
+        "request.UpdateVetting": {
+            "type": "object",
+            "required": [
+                "id",
+                "status"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "status": {
+                    "type": "integer"
+                }
+            }
+        },
         "response.AccountIdResponse": {
             "type": "object",
             "properties": {
@@ -11557,6 +11888,9 @@
         "response.ClientResponse": {
             "type": "object",
             "properties": {
+                "count": {
+                    "type": "integer"
+                },
                 "list": {
                     "type": "array",
                     "items": {
@@ -11590,6 +11924,9 @@
         "response.ContactResponse": {
             "type": "object",
             "properties": {
+                "count": {
+                    "type": "integer"
+                },
                 "list": {
                     "type": "array",
                     "items": {
@@ -11616,6 +11953,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Country"
+                    }
+                }
+            }
+        },
+        "response.CurrencyResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Currency"
                     }
                 }
             }
@@ -11672,6 +12020,13 @@
                         "$ref": "#/definitions/model.Country"
                     }
                 },
+                "currency": {
+                    "description": "甯佺",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Currency"
+                    }
+                },
                 "department": {
                     "description": "閮ㄩ棬",
                     "type": "array",
@@ -11726,6 +12081,13 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.OrderType"
+                    }
+                },
+                "possibility": {
+                    "description": "鍙兘鎬�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Possibility"
                     }
                 },
                 "province": {
@@ -11840,6 +12202,13 @@
                         "$ref": "#/definitions/model.SolveRate"
                     }
                 },
+                "status": {
+                    "description": "鐘舵��",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Status"
+                    }
+                },
                 "timely_rate": {
                     "description": "鍙婃椂鐜�",
                     "type": "array",
@@ -11885,6 +12254,9 @@
         "response.FollowRecordResponse": {
             "type": "object",
             "properties": {
+                "count": {
+                    "type": "integer"
+                },
                 "list": {
                     "type": "array",
                     "items": {
@@ -12145,6 +12517,9 @@
         "response.SalesLeadsResponse": {
             "type": "object",
             "properties": {
+                "count": {
+                    "type": "integer"
+                },
                 "list": {
                     "type": "array",
                     "items": {

--
Gitblit v1.8.0