Compare commits

..

1 Commits

Author SHA1 Message Date
sugarBecomer f1dfa61578 🐛 充值bug 2025-11-03 20:42:45 +08:00
@@ -17,9 +17,6 @@ type BalanceServiceV1 struct {
}
func (v *BalanceServiceV1) ChangeUserBalance(ctx context.Context, userId int64, balance decimal.Decimal) {
if utils.IsAdminFromCtx(ctx) {
return
}
tx, err := db.Global.Tx(ctx)
utils.OkOrPanic(err, oops.WithContext(ctx).Wrap)
defer tx.Rollback()