Эх сурвалжийг харах

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

guanhailong 3 жил өмнө
parent
commit
26e8f533b3

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