Explorar el Código

修改获取参数

locky hace 3 años
padre
commit
d653f9ce10
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      AdminController/DeviceManagementController.py

+ 1 - 1
AdminController/DeviceManagementController.py

@@ -346,7 +346,7 @@ class DeviceManagement(View):
     @staticmethod
     @staticmethod
     def get_device_icon(request_dict, response):
     def get_device_icon(request_dict, response):
         lang = request_dict.get('lang', None)
         lang = request_dict.get('lang', None)
-        app_bundle_id = request_dict.get('app_bundle_id', None)
+        app_bundle_id = request_dict.get('appBundleId', None)
 
 
         if not all([lang, app_bundle_id]):
         if not all([lang, app_bundle_id]):
             return response.json(444)
             return response.json(444)