From edf111b4b16641d159cefe1fdfd571c3e79100d3 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Mon, 18 Nov 2024 15:29:27 +0800 Subject: [PATCH] update --- .../marketing_applications/new_user_red_package/hdl_basic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/marketing_applications/new_user_red_package/hdl_basic.go b/app/hdl/marketing_applications/new_user_red_package/hdl_basic.go index 67eaa55..64e156f 100644 --- a/app/hdl/marketing_applications/new_user_red_package/hdl_basic.go +++ b/app/hdl/marketing_applications/new_user_red_package/hdl_basic.go @@ -91,7 +91,7 @@ func NewUserRedPackageUpdateBasic(c *gin.Context) { IsDouble: req.IsDouble, } - affected, err := redPackageDb.NewUserRedPackageUpdate(setting.Id, newSetting, forceColumns...) + _, err = redPackageDb.NewUserRedPackageUpdate(setting.Id, newSetting, forceColumns...) if err != nil { e.OutErr(c, e.ERR_DB_ORM, err.Error()) return