Răsfoiți Sursa

优化后台添加预备退款订单代码

linhaohong 9 luni în urmă
părinte
comite
02672b0e35
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      AdminController/ServeManagementController.py

+ 2 - 2
AdminController/ServeManagementController.py

@@ -2944,12 +2944,12 @@ class serveManagement(View):
         if app_type:
             InAppRefund.objects.create(
                 uid=uid, transaction_id=transaction_id,
-                orderID=order_id, refund_progress=4,
+                orderID=order_id, refund_progress=4, app_type=app_type,
                 created_time=now_time, updated_time=now_time)
         else:
             InAppRefund.objects.create(
                 uid=uid, transaction_id=transaction_id,
-                orderID=order_id, refund_progress=4, app_type=app_type,
+                orderID=order_id, refund_progress=4,
                 created_time=now_time, updated_time=now_time)
         return response.json(0)