From bc2d29ead3ab56bc65cad2f9f15d1566665acab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Fri, 27 Feb 2026 14:34:01 +0800 Subject: [PATCH] .gitignore --- dao/ad_position_dao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/ad_position_dao.go b/dao/ad_position_dao.go index 3198122..e5ee9b4 100644 --- a/dao/ad_position_dao.go +++ b/dao/ad_position_dao.go @@ -32,7 +32,7 @@ func (d *adPosition) Update(ctx context.Context, id *bson.ObjectID, updateData * filter := bson.M{"_id": id} if !g.IsEmpty(updateData) { - bsonm, err := mongo.EntityToBSONM(updateData) + bsonm, err := mongo.BuildUpdateData(ctx, updateData) if err != nil { return err }