From b0113676f423ca930bc3dd93ac9d9ea292458dfa Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 23 十一月 2023 11:28:56 +0800
Subject: [PATCH] 1.修改MoveHistory字段类型 2.完成MoveHistory插入数据 3.operation增加审批时间、收货人、收货地址、联系电话字段,并修改相应接口以及打印

---
 controllers/attachment.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/attachment.go b/controllers/attachment.go
index f4b1b11..b0de492 100644
--- a/controllers/attachment.go
+++ b/controllers/attachment.go
@@ -73,7 +73,7 @@
 		attachmentList = append(attachmentList, attachment)
 
 		if fileType == constvar.FileType_Picture {
-			thumbnailBytes, err := image.CreateThumbnail(fileBytes, 0, 600, 800)
+			thumbnailBytes, err := image.CreateThumbnail(fileBytes, 60, 0, 0)
 			if err != nil {
 				logx.Errorf("file upload err: %v", err)
 				util.ResponseFormat(c, code.RequestParamError, "鐢熸垚缂╃暐鍥惧け璐ワ細"+err.Error())

--
Gitblit v1.8.0