Explorar el Código

update order api

lang hace 4 años
padre
commit
1a67491281
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

@@ -978,7 +978,7 @@ class CloudStorageView(View):
         channel = request_dict.get('channel', None)
         pay_type = int(request_dict.get('pay_type', None))
         rank = request_dict.get('rank', None)
-        is_select_discount = request_dict.get('is_select_discount', None)
+        is_select_discount = request_dict.get('is_select_discount', 0)
 
         if not uid or not channel or not pay_type or not rank:
             return response.json(13, '参数有误.')