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