Эх сурвалжийг харах

优化添加APP设备类型接口

guanhailong 3 жил өмнө
parent
commit
6c43f109c8

+ 1 - 1
AdminController/DeviceManagementController.py

@@ -88,7 +88,7 @@ class DeviceManagement(View):
         name = request_dict.get('name', None)
         sort = request_dict.get('sort', None)
 
-        if not all([model, type, name]):
+        if not all([model, type, icon, lang, name, sort]):
             return response.json(444)
         type = int(type)
         model = int(model)