Explorar o código

Merge branch 'dev' of http://192.168.136.99:3000/SERVER/AnsjerServer into bin

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
38fb9e4654
Modificáronse 1 ficheiros con 1 adicións e 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)
         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, '参数有误.')