فهرست منبع

修改获取参数保存

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)
                 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)