From e668092cf0bca471e665580c255c04a6ffc3cb8f Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 29 八月 2023 19:22:51 +0800
Subject: [PATCH] 采购负责人

---
 docs/docs.go | 1605 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 1,574 insertions(+), 31 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 3475348..42749da 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"
                     },
                     {
@@ -2054,12 +2099,9 @@
                 "summary": "棰勮Contract",
                 "parameters": [
                     {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -2145,6 +2187,12 @@
                 ],
                 "summary": "鑾峰彇鍗曚竴瀹㈡埛淇℃伅",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "description": "瀹㈡埛鍚�",
@@ -2897,6 +2945,12 @@
                 "summary": "鐢╥d鏌ヨIndustry",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -2936,6 +2990,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇Industry鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "name": "endCreatedAt",
@@ -3135,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"
                         }
                     }
                 }
@@ -3624,7 +4060,7 @@
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/test.Product"
+                            "$ref": "#/definitions/request.ProductCreate"
                         }
                     }
                 ],
@@ -3733,6 +4169,12 @@
                 "summary": "鐢╥d鏌ヨProduct",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "name": "deliveryTime",
                         "in": "query"
@@ -3751,6 +4193,11 @@
                     {
                         "type": "integer",
                         "name": "minimumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "modelNumber",
                         "in": "query"
                     },
                     {
@@ -3781,6 +4228,16 @@
                     {
                         "type": "integer",
                         "name": "shippingDuration",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "specifications",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierId",
                         "in": "query"
                     },
                     {
@@ -3818,6 +4275,12 @@
                 "summary": "鍒嗛〉鑾峰彇Product鍒楄〃",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "name": "deliveryTime",
                         "in": "query"
@@ -3847,6 +4310,11 @@
                     {
                         "type": "integer",
                         "name": "minimumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "modelNumber",
                         "in": "query"
                     },
                     {
@@ -3893,7 +4361,17 @@
                     },
                     {
                         "type": "string",
+                        "name": "specifications",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierId",
                         "in": "query"
                     },
                     {
@@ -3931,6 +4409,12 @@
                 "summary": "鍒嗛〉鑾峰彇Product鍒楄〃",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "name": "deliveryTime",
                         "in": "query"
@@ -3960,6 +4444,11 @@
                     {
                         "type": "integer",
                         "name": "minimumStock",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "modelNumber",
                         "in": "query"
                     },
                     {
@@ -4006,7 +4495,17 @@
                     },
                     {
                         "type": "string",
+                        "name": "specifications",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierId",
                         "in": "query"
                     },
                     {
@@ -4058,6 +4557,409 @@
                         "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/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"
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -4255,6 +5157,12 @@
                     },
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "detailAddress",
                         "in": "query"
                     },
@@ -4295,8 +5203,8 @@
                         "in": "query"
                     },
                     {
-                        "type": "integer",
-                        "name": "responsiblePersonId",
+                        "type": "string",
+                        "name": "responsiblePersonName",
                         "in": "query"
                     },
                     {
@@ -4365,6 +5273,12 @@
                     },
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "detailAddress",
                         "in": "query"
                     },
@@ -4428,8 +5342,8 @@
                         "in": "query"
                     },
                     {
-                        "type": "integer",
-                        "name": "responsiblePersonId",
+                        "type": "string",
+                        "name": "responsiblePersonName",
                         "in": "query"
                     },
                     {
@@ -4634,6 +5548,12 @@
                 "summary": "鐢╥d鏌ヨSupplierType",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -4673,6 +5593,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SupplierType鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "name": "endCreatedAt",
@@ -4881,6 +5807,12 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "鎻忚堪",
                         "name": "desc",
                         "in": "query"
@@ -4954,6 +5886,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SysDictionary鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "description": "鎻忚堪",
@@ -5197,6 +6135,12 @@
                 "summary": "鐢╥d鏌ヨSysDictionaryDetail",
                 "parameters": [
                     {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -5277,6 +6221,12 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SysDictionaryDetail鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "integer",
                         "description": "涓婚敭ID",
@@ -5589,6 +6539,12 @@
                     },
                     {
                         "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "閿欒淇℃伅",
                         "name": "error_message",
                         "in": "query"
@@ -5696,6 +6652,12 @@
                         "type": "string",
                         "description": "璇锋眰Body",
                         "name": "body",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鍒涘缓鏃堕棿",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -7191,6 +8153,10 @@
                     "description": "鐜鍊�",
                     "type": "string"
                 },
+                "grpc-admin-url": {
+                    "description": "grpc鏈嶅姟鍦板潃",
+                    "type": "string"
+                },
                 "grpc-url": {
                     "description": "grpc鏈嶅姟鍦板潃",
                     "type": "string"
@@ -7308,6 +8274,10 @@
         "example.ExaCustomer": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "customerName": {
                     "description": "瀹㈡埛鍚�",
                     "type": "string"
@@ -7344,6 +8314,10 @@
                 "chunkTotal": {
                     "type": "integer"
                 },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "exaFileChunk": {
                     "type": "array",
                     "items": {
@@ -7371,6 +8345,10 @@
         "example.ExaFileChunk": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "exaFileID": {
                     "type": "integer"
                 },
@@ -7389,6 +8367,10 @@
         "example.ExaFileUploadAndDownload": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -7408,6 +8390,395 @@
                 "url": {
                     "description": "鏂囦欢鍦板潃",
                     "type": "string"
+                }
+            }
+        },
+        "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": {
+                "contact": {
+                    "description": "鑱旂郴浜�",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "creator": {
+                    "description": "鍒跺崟浜�",
+                    "type": "string"
+                },
+                "deliveryDate": {
+                    "description": "浜や粯鏃ユ湡",
+                    "type": "string"
+                },
+                "handledBy": {
+                    "description": "缁忓姙浜�",
+                    "type": "string"
+                },
+                "id": {
+                    "description": "涓婚敭ID",
+                    "type": "integer"
+                },
+                "invoiceAmount": {
+                    "description": "宸叉敹绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "name": {
+                    "description": "閲囪喘鍚嶇О",
+                    "type": "string"
+                },
+                "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"
+                        }
+                    ]
+                },
+                "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": [
+                0,
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "WholeDiscountTypeDefault": "鏃犳姌鎵�",
+                "WholeDiscountTypeDiscount": "鐩存帴闄嶄环",
+                "WholeDiscountTypePercent": "鐧惧垎姣旈檷浠�"
+            },
+            "x-enum-varnames": [
+                "WholeDiscountTypeDefault",
+                "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"
                 }
             }
         },
@@ -7584,6 +8955,17 @@
                 }
             }
         },
+        "request.ProductCreate": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/test.Product"
+                    }
+                }
+            }
+        },
         "request.Register": {
             "type": "object",
             "properties": {
@@ -7643,6 +9025,10 @@
             "properties": {
                 "apiGroup": {
                     "description": "api缁�",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -7849,6 +9235,72 @@
                     "items": {
                         "$ref": "#/definitions/request.CasbinInfo"
                     }
+                }
+            }
+        },
+        "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"
                 }
             }
         },
@@ -8159,6 +9611,10 @@
                     "description": "api缁�",
                     "type": "string"
                 },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "description": {
                     "description": "api涓枃鎻忚堪",
                     "type": "string"
@@ -8230,6 +9686,10 @@
         "system.SysAutoCode": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
@@ -8262,6 +9722,10 @@
                 },
                 "component": {
                     "description": "瀵瑰簲鍓嶇鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -8313,6 +9777,10 @@
         "system.SysBaseMenuBtn": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
@@ -8331,6 +9799,10 @@
         "system.SysBaseMenuParameter": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -8355,6 +9827,10 @@
         "system.SysDictionary": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "desc": {
                     "description": "鎻忚堪",
                     "type": "string"
@@ -8386,6 +9862,10 @@
         "system.SysDictionaryDetail": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -8435,6 +9915,10 @@
                 },
                 "component": {
                     "description": "瀵瑰簲鍓嶇鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -8495,6 +9979,10 @@
                 },
                 "body": {
                     "description": "璇锋眰Body",
+                    "type": "string"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "error_message": {
@@ -8562,6 +10050,10 @@
                     "description": "鍩虹棰滆壊",
                     "type": "string"
                 },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "email": {
                     "description": "鐢ㄦ埛閭",
                     "type": "string"
@@ -8611,11 +10103,9 @@
         "test.Contract": {
             "type": "object",
             "properties": {
-                "fileContent": {
-                    "type": "array",
-                    "items": {
-                        "type": "integer"
-                    }
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
                 },
                 "fileName": {
                     "type": "string"
@@ -8632,6 +10122,10 @@
         "test.Industry": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -8641,9 +10135,35 @@
                 }
             }
         },
+        "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"
                 },
@@ -8656,6 +10176,9 @@
                 },
                 "minimumStock": {
                     "type": "integer"
+                },
+                "modelNumber": {
+                    "type": "string"
                 },
                 "name": {
                     "type": "string"
@@ -8673,6 +10196,15 @@
                     "type": "string"
                 },
                 "shippingDuration": {
+                    "type": "integer"
+                },
+                "specifications": {
+                    "type": "string"
+                },
+                "supplier": {
+                    "$ref": "#/definitions/test.Supplier"
+                },
+                "supplierId": {
                     "type": "integer"
                 },
                 "unit": {
@@ -8693,6 +10225,13 @@
                     "type": "string"
                 },
                 "contact": {
+                    "type": "string"
+                },
+                "contract": {
+                    "$ref": "#/definitions/test.Contract"
+                },
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "detailAddress": {
@@ -8720,8 +10259,8 @@
                 "phone": {
                     "type": "string"
                 },
-                "responsiblePersonId": {
-                    "type": "integer"
+                "responsiblePersonName": {
+                    "type": "string"
                 },
                 "status": {
                     "type": "integer"
@@ -8737,6 +10276,10 @@
         "test.SupplierType": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"

--
Gitblit v1.8.0