Merge branch 'claude/app-50-bugs-fixes-1531ef' into main
This commit is contained in:
@@ -5,6 +5,7 @@ from django.urls import path, reverse
|
||||
from django.utils.html import format_html
|
||||
|
||||
from apps.account.models import User
|
||||
from apps.account.send_sms import send_gift_gem_sms
|
||||
|
||||
from .api.services import GemWalletService
|
||||
from .forms import GemGiftForm
|
||||
@@ -207,6 +208,7 @@ class GemTransactionAdmin(admin.ModelAdmin):
|
||||
GemTransaction.Reason.ADMIN_ADJUSTMENT,
|
||||
note=note,
|
||||
)
|
||||
send_gift_gem_sms(user.phone, amount)
|
||||
|
||||
if users:
|
||||
messages.success(
|
||||
|
||||
Reference in New Issue
Block a user