-num lines-num-new">
@@ -128,6 +128,12 @@ def order_paid_success(order):
128 128
     order.pay_status = OrderInfo.PAID
129 129
     order.paid_at = tc.utc_datetime()
130 130
     order.save()
131
+    
132
+    PackGoodsSaleInfo.create(
133
+        pack_id=order.pack_id,
134
+        user_id=order.user_id,
135
+        saleinfo=order.goods_info
136
+    )
131 137
 
132 138
 
133 139
 def order_paid_fail(order):

kodo - Gogs: Go Git Service

Nessuna descrizione

huangqimin001: e7da55aaf2 :art: Add complement_code 5 anni fa
..
migrations 96c4bec605 :art: Add api activity_group_share 5 anni fa
__init__.py df1df69fe3 add api upgrade/splash 10 anni fa
admin.py 018d52f61d Update package django_xxx 8 anni fa
models.py 597ee33ba6 Pai2 => Kodo 8 anni fa
tests.py fabef63211 set line_length=200 for isort 10 anni fa
views.py e7da55aaf2 :art: Add complement_code 5 anni fa