Browse Source

修改请求路径

peng 2 years ago
parent
commit
02055950ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/AWS/KVSController.py

+ 1 - 1
Controller/AWS/KVSController.py

@@ -190,7 +190,7 @@ class KVSView(View):
                 return response.json(tko.code)
             response.lang = tko.lang
             user_id = tko.userID
-            if operation == 'get-device-midea_list':  # 获取设备列表
+            if operation == 'get-device-midea-list':  # 获取设备列表
                 return self.get_device_midea_list(request_dict, response)
             else:
                 return response.json(404)