Jelajahi Sumber

修改获取参数保存

zhangdongming 3 tahun lalu
induk
melakukan
24f1fea0e8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Controller/UnicomCombo/UnicomComboController.py

+ 1 - 1
Controller/UnicomCombo/UnicomComboController.py

@@ -210,7 +210,7 @@ class UnicomComboView(View):
                 iccid = request_dict.get('iccid', None)
                 combo_id = request_dict.get('id', None)
                 pay_type = request_dict.get('payType', None)
-                activate_type = request.get('activateType', 0)
+                activate_type = request_dict.get('activateType', 0)
                 if not all([iccid, combo_id, pay_type]):
                     return response.json(444)
                 combo_id = int(combo_id)