Преглед на файлове

联通测试服,优化添加和编辑卡套餐接口

guanhailong преди 3 години
родител
ревизия
26e8f533b3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      AdminController/UnicomManageController.py

+ 1 - 1
AdminController/UnicomManageController.py

@@ -253,7 +253,7 @@ class UnicomComboView(View):
         remark = request_dict.get('remark', None)
         is_show = request_dict.get('show', None)
 
-        if not all([pay_type, price, combo_name]):
+        if not all([pay_type, price, is_show, status, combo_type, flow_total, expiration_days, expiration_type]):
             return response.json(444)
         flow_total = int(flow_total)
         expiration_days = int(expiration_days)