浏览代码

修改获取参数保存

zhangdongming 3 年之前
父节点
当前提交
24f1fea0e8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
                 iccid = request_dict.get('iccid', None)
                 combo_id = request_dict.get('id', None)
                 combo_id = request_dict.get('id', None)
                 pay_type = request_dict.get('payType', 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]):
                 if not all([iccid, combo_id, pay_type]):
                     return response.json(444)
                     return response.json(444)
                 combo_id = int(combo_id)
                 combo_id = int(combo_id)