Browse Source

修改获取参数保存

zhangdongming 3 years ago
parent
commit
24f1fea0e8
1 changed files with 1 additions and 1 deletions
  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)