Browse Source

update order api

lang 4 years ago
parent
commit
1a67491281
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

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