Просмотр исходного кода

优化添加APP设备类型接口

guanhailong 3 лет назад
Родитель
Сommit
6c43f109c8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      AdminController/DeviceManagementController.py

+ 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)