浏览代码

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

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)
         remark = request_dict.get('remark', None)
         is_show = request_dict.get('show', 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)
             return response.json(444)
         flow_total = int(flow_total)
         flow_total = int(flow_total)
         expiration_days = int(expiration_days)
         expiration_days = int(expiration_days)