Compare commits

...

2 Commits

Author SHA1 Message Date
sugarBecomer f1dfa61578 🐛 充值bug 2025-11-03 20:42:45 +08:00
RecordingTheSmile 2c0026267e fix: actions构建问题 2025-11-03 18:25:40 +08:00
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Extract metadata for Docker
id: meta
@@ -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()