|
@@ -91,7 +91,7 @@ func NewUserRedPackageUpdateBasic(c *gin.Context) { |
|
|
IsDouble: req.IsDouble, |
|
|
IsDouble: req.IsDouble, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
affected, err := redPackageDb.NewUserRedPackageUpdate(setting.Id, newSetting, forceColumns...) |
|
|
|
|
|
|
|
|
_, err = redPackageDb.NewUserRedPackageUpdate(setting.Id, newSetting, forceColumns...) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
return |
|
|
return |
|
|