From 3887bb15b5e2662c19825234925c9b6da3fe902f Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 30 八月 2023 14:33:22 +0800
Subject: [PATCH] update

---
 docs/docs.go | 2272 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 2,189 insertions(+), 83 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index c4ef0fd..9156122 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1899,6 +1899,57 @@
                 }
             }
         },
+        "/con/downloadContract": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Contract"
+                ],
+                "summary": "涓嬭浇Contract",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "fileName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierID",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"涓嬭浇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
         "/con/findContract": {
             "get": {
                 "security": [
@@ -1918,12 +1969,9 @@
                 "summary": "鐢╥d鏌ヨContract",
                 "parameters": [
                     {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -1973,16 +2021,13 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "name": "endCreatedAt",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "type": "string",
+                        "name": "endCreatedAt",
                         "in": "query"
                     },
                     {
@@ -2055,16 +2100,8 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "name": "endCreatedAt",
-                        "in": "query"
-                    },
-                    {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -2076,29 +2113,6 @@
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
-                        "in": "query"
-                    },
-                    {
-                        "type": "string",
-                        "description": "鍏抽敭瀛�",
-                        "name": "keyword",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "椤电爜",
-                        "name": "page",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "姣忛〉澶у皬",
-                        "name": "pageSize",
-                        "in": "query"
-                    },
-                    {
-                        "type": "string",
-                        "name": "startCreatedAt",
                         "in": "query"
                     },
                     {
@@ -2173,6 +2187,12 @@
                 ],
                 "summary": "鑾峰彇鍗曚竴瀹㈡埛淇℃伅",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "description": "瀹㈡埛鍚�",
@@ -2925,6 +2945,12 @@
                 "summary": "鐢╥d鏌ヨIndustry",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -2964,6 +2990,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇Industry鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "name": "endCreatedAt",
@@ -3038,7 +3070,7 @@
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/test.Industry"
+                            "$ref": "#/definitions/request.IndustryList"
                         }
                     }
                 ],
@@ -3163,6 +3195,382 @@
                                     }
                                 }
                             ]
+                        }
+                    }
+                }
+            }
+        },
+        "/m/createMember": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鍒涘缓Member",
+                "parameters": [
+                    {
+                        "description": "鍒涘缓Member",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/test.Member"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/m/deleteMember": {
+            "delete": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鍒犻櫎Member",
+                "parameters": [
+                    {
+                        "description": "鍒犻櫎Member",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/test.Member"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鍒犻櫎鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/m/deleteMemberByIds": {
+            "delete": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鎵归噺鍒犻櫎Member",
+                "parameters": [
+                    {
+                        "description": "鎵归噺鍒犻櫎Member",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.IdsReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鎵归噺鍒犻櫎鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/m/findMember": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鐢╥d鏌ヨMember",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "nickname",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "userName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "uuid",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鏌ヨ鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/m/getMemberList": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鍒嗛〉鑾峰彇Member鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "endCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "nickname",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "userName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "uuid",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/m/getMemberListFromGrpc": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鍒嗛〉鑾峰彇Member鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "endCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "nickname",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "userName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "uuid",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/m/updateMember": {
+            "put": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Member"
+                ],
+                "summary": "鏇存柊Member",
+                "parameters": [
+                    {
+                        "description": "鏇存柊Member",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/test.Member"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鏇存柊鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
                         }
                     }
                 }
@@ -3628,6 +4036,997 @@
                 }
             }
         },
+        "/p/createProduct": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鍒涘缓Product",
+                "parameters": [
+                    {
+                        "description": "鍒涘缓Product",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.ProductCreate"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/p/deleteProduct": {
+            "delete": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鍒犻櫎Product",
+                "parameters": [
+                    {
+                        "description": "鍒犻櫎Product",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/test.Product"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鍒犻櫎鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/p/deleteProductByIds": {
+            "delete": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鎵归噺鍒犻櫎Product",
+                "parameters": [
+                    {
+                        "description": "鎵归噺鍒犻櫎Product",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.IdsReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鎵归噺鍒犻櫎鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/p/findProduct": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鐢╥d鏌ヨProduct",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "deliveryTime",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "maximumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "minimumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "modelNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "number",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "productType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "number",
+                        "name": "purchasePrice",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "remark",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "shippingDuration",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "specifications",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierId",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "unit",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鏌ヨ鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/p/getProductList": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鍒嗛〉鑾峰彇Product鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "deliveryTime",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "endCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "maximumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "minimumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "modelNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "number",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "productType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "number",
+                        "name": "purchasePrice",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "remark",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "shippingDuration",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "specifications",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierId",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "unit",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/p/getProductListFromGrpc": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鍒嗛〉鑾峰彇Product鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "deliveryTime",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "endCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "maximumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "minimumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "modelNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "number",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "productType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "number",
+                        "name": "purchasePrice",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "remark",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "shippingDuration",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "specifications",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierId",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "unit",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/p/updateProduct": {
+            "put": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Product"
+                ],
+                "summary": "鏇存柊Product",
+                "parameters": [
+                    {
+                        "description": "鏇存柊Product",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/test.Product"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"鏇存柊鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/purchase": {
+            "put": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鏇存柊閲囪喘鍗曚俊鎭�",
+                "parameters": [
+                    {
+                        "description": "閲囪喘鍗旾D, 閲囪喘鍗曚俊鎭�",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/purchaserequest.UpdatePurchase"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鏇存柊閲囪喘鍗曚俊鎭�",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            },
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鍒涘缓閲囪喘鍗�",
+                "parameters": [
+                    {
+                        "description": "閲囪喘鍗�,閲囪喘鍗曚骇鍝�",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/purchaserequest.AddPurchase"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鍒涘缓閲囪喘鍗�",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/purchase/{id}": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鑾峰彇鍗曚竴閲囪喘鍗曚俊鎭�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "閲囪喘鍗旾D",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鑾峰彇鍗曚竴閲囪喘鍗曚俊鎭�,杩斿洖鍖呮嫭閲囪喘鍗曡鎯�",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.PurchaseResponse"
+                                        },
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            },
+            "delete": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鍒犻櫎閲囪喘鍗�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "閲囪喘鍗旾D",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鍒犻櫎閲囪喘鍗�",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/purchaseList": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.PageResult"
+                                        },
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/purchaseType": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鍒涘缓閲囪喘绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "閲囪喘绫诲瀷list",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/purchaserequest.PurchaseType"
+                            }
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鍒涘缓閲囪喘绫诲瀷",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/purchaseTypeList": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鑾峰彇閲囪喘绫诲瀷鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "鑾峰彇閲囪喘绫诲瀷鍒楄〃",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/purchase.PurchaseType"
+                                            }
+                                        },
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/qualityInspectList": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "QualityInspect"
+                ],
+                "summary": "鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.PageResult"
+                                        },
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/purchase/submit/{id}": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鎻愪氦閲囪喘鍗�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "閲囪喘鍗旾D",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎻愪氦閲囪喘鍗�",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/s/changeSupplierStatus": {
             "post": {
                 "security": [
@@ -3820,6 +5219,12 @@
                     },
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "detailAddress",
                         "in": "query"
                     },
@@ -3829,8 +5234,8 @@
                         "in": "query"
                     },
                     {
-                        "type": "string",
-                        "name": "file",
+                        "type": "integer",
+                        "name": "fileId",
                         "in": "query"
                     },
                     {
@@ -3860,8 +5265,8 @@
                         "in": "query"
                     },
                     {
-                        "type": "integer",
-                        "name": "responsiblePersonId",
+                        "type": "string",
+                        "name": "responsiblePersonName",
                         "in": "query"
                     },
                     {
@@ -3930,6 +5335,12 @@
                     },
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "detailAddress",
                         "in": "query"
                     },
@@ -3944,8 +5355,8 @@
                         "in": "query"
                     },
                     {
-                        "type": "string",
-                        "name": "file",
+                        "type": "integer",
+                        "name": "fileId",
                         "in": "query"
                     },
                     {
@@ -3993,8 +5404,8 @@
                         "in": "query"
                     },
                     {
-                        "type": "integer",
-                        "name": "responsiblePersonId",
+                        "type": "string",
+                        "name": "responsiblePersonName",
                         "in": "query"
                     },
                     {
@@ -4199,6 +5610,12 @@
                 "summary": "鐢╥d鏌ヨSupplierType",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -4238,6 +5655,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SupplierType鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "name": "endCreatedAt",
@@ -4312,7 +5735,7 @@
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/test.SupplierType"
+                            "$ref": "#/definitions/request.SupplierTypeList"
                         }
                     }
                 ],
@@ -4446,6 +5869,12 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "鎻忚堪",
                         "name": "desc",
                         "in": "query"
@@ -4519,6 +5948,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SysDictionary鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "description": "鎻忚堪",
@@ -4762,6 +6197,12 @@
                 "summary": "鐢╥d鏌ヨSysDictionaryDetail",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -4842,6 +6283,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SysDictionaryDetail鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "integer",
                         "description": "涓婚敭ID",
@@ -5154,6 +6601,12 @@
                     },
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "閿欒淇℃伅",
                         "name": "error_message",
                         "in": "query"
@@ -5261,6 +6714,12 @@
                         "type": "string",
                         "description": "璇锋眰Body",
                         "name": "body",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -6563,7 +8022,7 @@
                     }
                 },
                 "email": {
-                    "$ref": "#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email"
+                    "$ref": "#/definitions/srm_config.Email"
                 },
                 "excel": {
                     "$ref": "#/definitions/config.Excel"
@@ -6756,6 +8215,14 @@
                     "description": "鐜鍊�",
                     "type": "string"
                 },
+                "grpc-admin-url": {
+                    "description": "grpc鏈嶅姟鍦板潃",
+                    "type": "string"
+                },
+                "grpc-url": {
+                    "description": "grpc鏈嶅姟鍦板潃",
+                    "type": "string"
+                },
                 "iplimit-count": {
                     "type": "integer"
                 },
@@ -6869,6 +8336,10 @@
         "example.ExaCustomer": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "customerName": {
                     "description": "瀹㈡埛鍚�",
                     "type": "string"
@@ -6905,6 +8376,10 @@
                 "chunkTotal": {
                     "type": "integer"
                 },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "exaFileChunk": {
                     "type": "array",
                     "items": {
@@ -6932,6 +8407,10 @@
         "example.ExaFileChunk": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "exaFileID": {
                     "type": "integer"
                 },
@@ -6950,6 +8429,10 @@
         "example.ExaFileUploadAndDownload": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -6972,36 +8455,393 @@
                 }
             }
         },
-        "github_com_flipped-aurora_gin-vue-admin_server_config.Email": {
+        "purchase.OrderStatus": {
+            "type": "integer",
+            "enum": [
+                1,
+                2,
+                3,
+                4
+            ],
+            "x-enum-comments": {
+                "OrderStatusCompleted": "宸插畬鎴�",
+                "OrderStatusConfirmed": "宸蹭笅鍗�",
+                "OrderStatusReceived": "宸插埌璐�",
+                "OrderStatusStored": "宸插叆搴�"
+            },
+            "x-enum-varnames": [
+                "OrderStatusConfirmed",
+                "OrderStatusReceived",
+                "OrderStatusStored",
+                "OrderStatusCompleted"
+            ]
+        },
+        "purchase.PriceAdjustmentType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "PriceAdjustmentTypeAdd": "澧炲姞",
+                "PriceAdjustmentTypeSub": "鍑忓皯"
+            },
+            "x-enum-varnames": [
+                "PriceAdjustmentTypeAdd",
+                "PriceAdjustmentTypeSub"
+            ]
+        },
+        "purchase.Purchase": {
             "type": "object",
             "properties": {
-                "from": {
-                    "description": "鍙戜欢浜�  浣犺嚜宸辫鍙戦偖浠剁殑閭",
+                "contact": {
+                    "description": "鑱旂郴浜�",
                     "type": "string"
                 },
-                "host": {
-                    "description": "鏈嶅姟鍣ㄥ湴鍧� 渚嬪 smtp.qq.com  璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚",
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
-                "is-ssl": {
-                    "description": "鏄惁SSL   鏄惁寮�鍚疭SL",
-                    "type": "boolean"
-                },
-                "nickname": {
-                    "description": "鏄电О    鍙戜欢浜烘樀绉� 閫氬父涓鸿嚜宸辩殑閭",
+                "creator": {
+                    "description": "鍒跺崟浜�",
                     "type": "string"
                 },
-                "port": {
-                    "description": "绔彛     璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚 澶у涓� 465",
+                "deliveryDate": {
+                    "description": "浜や粯鏃ユ湡",
+                    "type": "string"
+                },
+                "handledBy": {
+                    "description": "缁忓姙浜�",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
                     "type": "integer"
                 },
-                "secret": {
-                    "description": "瀵嗛挜    鐢ㄤ簬鐧诲綍鐨勫瘑閽� 鏈�濂戒笉瑕佺敤閭瀵嗙爜 鍘婚偖绠眘mtp鐢宠涓�涓敤浜庣櫥褰曠殑瀵嗛挜",
+                "invoiceAmount": {
+                    "description": "宸叉敹绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "name": {
+                    "description": "閲囪喘鍚嶇О",
                     "type": "string"
                 },
-                "to": {
-                    "description": "鏀朵欢浜�:澶氫釜浠ヨ嫳鏂囬�楀彿鍒嗛殧 渚嬶細a@qq.com b@qq.com 姝e紡寮�鍙戜腑璇锋妸姝ら」鐩綔涓哄弬鏁颁娇鐢�",
+                "number": {
+                    "description": "閲囪喘缂栧彿",
                     "type": "string"
+                },
+                "orderSource": {
+                    "description": "鍗曟嵁鏉ユ簮",
+                    "type": "string"
+                },
+                "orderType": {
+                    "description": "鍗曟嵁绫诲瀷",
+                    "type": "string"
+                },
+                "paidAmount": {
+                    "description": "宸蹭粯閲戦",
+                    "type": "number"
+                },
+                "phone": {
+                    "description": "鑱旂郴浜虹數璇�",
+                    "type": "string"
+                },
+                "priceAdjustment": {
+                    "description": "浠锋牸璋冩暣鍊�",
+                    "type": "number"
+                },
+                "priceAdjustmentType": {
+                    "description": "浠锋牸璋冩暣绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.PriceAdjustmentType"
+                        }
+                    ]
+                },
+                "principal": {
+                    "description": "閲囪喘璐熻矗浜�",
+                    "type": "string"
+                },
+                "purchaseType": {
+                    "$ref": "#/definitions/purchase.PurchaseType"
+                },
+                "purchaseTypeId": {
+                    "description": "閲囪喘绫诲瀷id",
+                    "type": "integer"
+                },
+                "quantity": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "realTotalPrice": {
+                    "description": "鏈�缁堜环鏍�",
+                    "type": "number"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "shouldPayAmount": {
+                    "description": "搴斾粯閲戦",
+                    "type": "number"
+                },
+                "signingDate": {
+                    "description": "绛剧害鏃ユ湡",
+                    "type": "string"
+                },
+                "status": {
+                    "description": "鐘舵��",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.OrderStatus"
+                        }
+                    ]
+                },
+                "supplier": {
+                    "$ref": "#/definitions/test.Supplier"
+                },
+                "supplierId": {
+                    "description": "渚涘簲鍟唅d",
+                    "type": "integer"
+                },
+                "totalPrice": {
+                    "description": "浠风◣鍚堣",
+                    "type": "number"
+                },
+                "unInvoiceAmount": {
+                    "description": "鏈敹绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "warehouse": {
+                    "description": "鏀惰揣浠撳簱",
+                    "type": "string"
+                },
+                "wholeDiscount": {
+                    "description": "鏁村崟鎶樻墸鍊�",
+                    "type": "number"
+                },
+                "wholeDiscountType": {
+                    "description": "鏁村崟鎶樻墸绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.WholeDiscountType"
+                        }
+                    ]
+                }
+            }
+        },
+        "purchase.PurchaseProducts": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "price": {
+                    "description": "閲囪喘鍗曚环",
+                    "type": "number"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "integer"
+                },
+                "purchaseId": {
+                    "description": "閲囪喘id",
+                    "type": "integer"
+                },
+                "remark": {
+                    "description": "鎻忚堪",
+                    "type": "string"
+                },
+                "total": {
+                    "description": "閲囪喘鎬讳环",
+                    "type": "number"
+                }
+            }
+        },
+        "purchase.PurchaseType": {
+            "type": "object",
+            "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "閲囪喘绫诲瀷",
+                    "type": "string"
+                },
+                "pin": {
+                    "description": "鏄惁缃《",
+                    "type": "boolean"
+                },
+                "sort": {
+                    "description": "鎺掑簭",
+                    "type": "integer"
+                }
+            }
+        },
+        "purchase.WholeDiscountType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "WholeDiscountTypeDiscount": "鐩存帴闄嶄环",
+                "WholeDiscountTypePercent": "鐧惧垎姣旈檷浠�"
+            },
+            "x-enum-varnames": [
+                "WholeDiscountTypePercent",
+                "WholeDiscountTypeDiscount"
+            ]
+        },
+        "purchaserequest.AddPurchase": {
+            "type": "object",
+            "properties": {
+                "productList": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/purchase.PurchaseProducts"
+                    }
+                },
+                "purchase": {
+                    "$ref": "#/definitions/purchaserequest.Purchase"
+                }
+            }
+        },
+        "purchaserequest.Purchase": {
+            "type": "object",
+            "properties": {
+                "contact": {
+                    "description": "鑱旂郴浜�",
+                    "type": "string"
+                },
+                "deliveryDate": {
+                    "description": "浜や粯鏃ユ湡",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "閲囪喘鍚嶇О",
+                    "type": "string"
+                },
+                "number": {
+                    "description": "閲囪喘缂栧彿",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "鑱旂郴浜虹數璇�",
+                    "type": "string"
+                },
+                "priceAdjustment": {
+                    "description": "浠锋牸璋冩暣鍊�",
+                    "type": "number"
+                },
+                "priceAdjustmentType": {
+                    "description": "浠锋牸璋冩暣绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.PriceAdjustmentType"
+                        }
+                    ]
+                },
+                "purchaseTypeId": {
+                    "description": "閲囪喘绫诲瀷id",
+                    "type": "integer"
+                },
+                "quantity": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "realTotalPrice": {
+                    "description": "鏈�缁堜环鏍�",
+                    "type": "number"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "signingDate": {
+                    "description": "绛剧害鏃ユ湡",
+                    "type": "string"
+                },
+                "status": {
+                    "description": "鐘舵��",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.OrderStatus"
+                        }
+                    ]
+                },
+                "supplierId": {
+                    "description": "渚涘簲鍟唅d",
+                    "type": "integer"
+                },
+                "totalPrice": {
+                    "description": "浠风◣鍚堣",
+                    "type": "number"
+                },
+                "wholeDiscount": {
+                    "description": "鏁村崟鎶樻墸鍊�",
+                    "type": "number"
+                },
+                "wholeDiscountType": {
+                    "description": "鏁村崟鎶樻墸绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.WholeDiscountType"
+                        }
+                    ]
+                }
+            }
+        },
+        "purchaserequest.PurchaseType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "閲囪喘绫诲瀷",
+                    "type": "string"
+                },
+                "pin": {
+                    "description": "鏄惁缃《",
+                    "type": "boolean"
+                },
+                "sort": {
+                    "description": "鎺掑簭",
+                    "type": "integer"
+                }
+            }
+        },
+        "purchaserequest.UpdatePurchase": {
+            "type": "object",
+            "properties": {
+                "productList": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/purchase.PurchaseProducts"
+                    }
+                },
+                "purchase": {
+                    "$ref": "#/definitions/purchaserequest.Purchase"
                 }
             }
         },
@@ -7093,6 +8933,17 @@
                 }
             }
         },
+        "request.IndustryList": {
+            "type": "object",
+            "properties": {
+                "industries": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/test.Industry"
+                    }
+                }
+            }
+        },
         "request.InitDB": {
             "type": "object",
             "required": [
@@ -7167,6 +9018,17 @@
                 }
             }
         },
+        "request.ProductCreate": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/test.Product"
+                    }
+                }
+            }
+        },
         "request.Register": {
             "type": "object",
             "properties": {
@@ -7226,6 +9088,10 @@
             "properties": {
                 "apiGroup": {
                     "description": "api缁�",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -7298,6 +9164,17 @@
                 },
                 "status": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.SupplierTypeList": {
+            "type": "object",
+            "properties": {
+                "supplierTypes": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/test.SupplierType"
+                    }
                 }
             }
         },
@@ -7424,6 +9301,72 @@
                 }
             }
         },
+        "response.PurchaseProducts": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "deliveryTime": {
+                    "type": "integer"
+                },
+                "modelNumber": {
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "price": {
+                    "description": "閲囪喘鍗曚环",
+                    "type": "number"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "integer"
+                },
+                "productType": {
+                    "type": "string"
+                },
+                "purchaseId": {
+                    "description": "閲囪喘id",
+                    "type": "integer"
+                },
+                "purchasePrice": {
+                    "type": "number"
+                },
+                "shippingDuration": {
+                    "type": "integer"
+                },
+                "specifications": {
+                    "type": "string"
+                },
+                "total": {
+                    "description": "閲囪喘鎬讳环",
+                    "type": "number"
+                },
+                "unit": {
+                    "type": "string"
+                }
+            }
+        },
+        "response.PurchaseResponse": {
+            "type": "object",
+            "properties": {
+                "productList": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.PurchaseProducts"
+                    }
+                },
+                "purchase": {
+                    "$ref": "#/definitions/purchase.Purchase"
+                }
+            }
+        },
         "response.Response": {
             "type": "object",
             "properties": {
@@ -7546,6 +9489,39 @@
             "properties": {
                 "user": {
                     "$ref": "#/definitions/system.SysUser"
+                }
+            }
+        },
+        "srm_config.Email": {
+            "type": "object",
+            "properties": {
+                "from": {
+                    "description": "鍙戜欢浜�  浣犺嚜宸辫鍙戦偖浠剁殑閭",
+                    "type": "string"
+                },
+                "host": {
+                    "description": "鏈嶅姟鍣ㄥ湴鍧� 渚嬪 smtp.qq.com  璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚",
+                    "type": "string"
+                },
+                "is-ssl": {
+                    "description": "鏄惁SSL   鏄惁寮�鍚疭SL",
+                    "type": "boolean"
+                },
+                "nickname": {
+                    "description": "鏄电О    鍙戜欢浜烘樀绉� 閫氬父涓鸿嚜宸辩殑閭",
+                    "type": "string"
+                },
+                "port": {
+                    "description": "绔彛     璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚 澶у涓� 465",
+                    "type": "integer"
+                },
+                "secret": {
+                    "description": "瀵嗛挜    鐢ㄤ簬鐧诲綍鐨勫瘑閽� 鏈�濂戒笉瑕佺敤閭瀵嗙爜 鍘婚偖绠眘mtp鐢宠涓�涓敤浜庣櫥褰曠殑瀵嗛挜",
+                    "type": "string"
+                },
+                "to": {
+                    "description": "鏀朵欢浜�:澶氫釜浠ヨ嫳鏂囬�楀彿鍒嗛殧 渚嬶細a@qq.com b@qq.com 姝e紡寮�鍙戜腑璇锋妸姝ら」鐩綔涓哄弬鏁颁娇鐢�",
+                    "type": "string"
                 }
             }
         },
@@ -7698,6 +9674,10 @@
                     "description": "api缁�",
                     "type": "string"
                 },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "description": {
                     "description": "api涓枃鎻忚堪",
                     "type": "string"
@@ -7769,6 +9749,10 @@
         "system.SysAutoCode": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
@@ -7801,6 +9785,10 @@
                 },
                 "component": {
                     "description": "瀵瑰簲鍓嶇鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -7852,6 +9840,10 @@
         "system.SysBaseMenuBtn": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
@@ -7870,6 +9862,10 @@
         "system.SysBaseMenuParameter": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -7894,6 +9890,10 @@
         "system.SysDictionary": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "desc": {
                     "description": "鎻忚堪",
                     "type": "string"
@@ -7925,6 +9925,10 @@
         "system.SysDictionaryDetail": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -7974,6 +9978,10 @@
                 },
                 "component": {
                     "description": "瀵瑰簲鍓嶇鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -8034,6 +10042,10 @@
                 },
                 "body": {
                     "description": "璇锋眰Body",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "error_message": {
@@ -8101,6 +10113,10 @@
                     "description": "鍩虹棰滆壊",
                     "type": "string"
                 },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "email": {
                     "description": "鐢ㄦ埛閭",
                     "type": "string"
@@ -8150,11 +10166,9 @@
         "test.Contract": {
             "type": "object",
             "properties": {
-                "fileContent": {
-                    "type": "array",
-                    "items": {
-                        "type": "integer"
-                    }
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
                 },
                 "fileName": {
                     "type": "string"
@@ -8171,11 +10185,92 @@
         "test.Industry": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
                 },
                 "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "test.Member": {
+            "type": "object",
+            "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "nickname": {
+                    "type": "string"
+                },
+                "userName": {
+                    "type": "string"
+                },
+                "uuid": {
+                    "type": "string"
+                }
+            }
+        },
+        "test.Product": {
+            "type": "object",
+            "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "deliveryTime": {
+                    "type": "integer"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "maximumStock": {
+                    "type": "integer"
+                },
+                "minimumStock": {
+                    "type": "integer"
+                },
+                "modelNumber": {
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "productType": {
+                    "type": "string"
+                },
+                "purchasePrice": {
+                    "type": "number"
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "shippingDuration": {
+                    "type": "integer"
+                },
+                "specifications": {
+                    "type": "string"
+                },
+                "supplier": {
+                    "$ref": "#/definitions/test.Supplier"
+                },
+                "supplierId": {
+                    "type": "integer"
+                },
+                "unit": {
                     "type": "string"
                 }
             }
@@ -8195,14 +10290,21 @@
                 "contact": {
                     "type": "string"
                 },
+                "contract": {
+                    "$ref": "#/definitions/test.Contract"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "detailAddress": {
                     "type": "string"
                 },
                 "email": {
                     "type": "string"
                 },
-                "file": {
-                    "type": "string"
+                "fileId": {
+                    "type": "integer"
                 },
                 "id": {
                     "description": "涓婚敭ID",
@@ -8220,8 +10322,8 @@
                 "phone": {
                     "type": "string"
                 },
-                "responsiblePersonId": {
-                    "type": "integer"
+                "responsiblePersonName": {
+                    "type": "string"
                 },
                 "status": {
                     "type": "integer"
@@ -8237,6 +10339,10 @@
         "test.SupplierType": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"

--
Gitblit v1.8.0