From 7cba557a683e8c70fb1c66f85b323d69f86d8144 Mon Sep 17 00:00:00 2001 From: liuxiaobo <1224730913@qq.com> Date: Wed, 4 Jun 2025 23:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BA=8F=E5=88=97=E5=8C=96bu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/model/tableOperation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/model/tableOperation.go b/common/model/tableOperation.go index 6bac8f9..09ea40e 100644 --- a/common/model/tableOperation.go +++ b/common/model/tableOperation.go @@ -60,7 +60,7 @@ func (s *TableOp[T]) findByRedis(id uint) *T { return nil } var result resultT[T] - us, err := serialization.MapStringToStruct[T](maps) + us, err := serialization.MapToStruct[T](maps) if err != nil { log.ErrorF("serialization map to struct err: %v", err) return nil