瀏覽代碼

修复赋值问题

locky 1 年之前
父節點
當前提交
124b6ac15b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      AdminController/ServeManagementController.py

+ 3 - 0
AdminController/ServeManagementController.py

@@ -385,6 +385,9 @@ class serveManagement(View):
 
                 # 查询product_id
                 product_id = ''
+                subscription_group = ''
+                subscription_group_id = ''
+                package_type = 0
                 in_app_purchase_qs = InAppPurchasePackage.objects.filter(rank__id=store_meal_id).\
                     values('product_id', 'subscription_group', 'subscription_group_id', 'package_type')
                 if in_app_purchase_qs.exists():