lang %!s(int64=4) %!d(string=hai) anos
pai
achega
1c625b0ebb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

@@ -893,7 +893,7 @@ class CloudStorageView(View):
         pay_type = int(request_dict.get('pay_type', None))
         rank = request_dict.get('rank', None)
 
-        if not uid or not channel or not commodity_code or not pay_type or not rank:
+        if not uid or not channel or not commodity_code or not rank:
             return response.json(13, '参数有误.')
         dv_qs = Device_Info.objects.filter(userID_id=userID, UID=uid, isShare=False, isExist=1)
         if not dv_qs.exists():