From d2be142f7b42b20b3125d9ffb398e5b295155327 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 29 八月 2023 11:32:16 +0800
Subject: [PATCH] fix

---
 model/test/contract.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/model/test/contract.go b/model/test/contract.go
index 80f22a7..87d5ad4 100644
--- a/model/test/contract.go
+++ b/model/test/contract.go
@@ -10,8 +10,8 @@
 	global.GVA_MODEL
 	SupplierID  *int   `json:"supplierID" form:"supplierID" gorm:"column:supplier_id;comment:渚涘簲鍟唅d;"`
 	FileName    string `json:"fileName" form:"fileName" gorm:"column:file_name;comment:鏂囦欢鍚嶇О;size:255;"`
-	FileContent []byte `json:"fileContent" form:"fileContent" gorm:"type:mediumblob;column:file_content;comment:鏂囦欢鍐呭;"`
-	FileType    string `json:"fileType" form:"fileType" gorm:"column:file_type;comment:鏂囦欢绫诲瀷;size:255;"`
+	FileContent []byte `json:"-" form:"fileContent" gorm:"type:mediumblob;column:file_content;comment:鏂囦欢鍐呭;"`
+	FileType    string `json:"-" form:"fileType" gorm:"column:file_type;comment:鏂囦欢绫诲瀷;size:255;"`
 }
 
 // TableName Contract 琛ㄥ悕

--
Gitblit v1.8.0