Browse Source

添加场景类型

lihui001 3 years ago
parent
commit
18f182277d

+ 1 - 1
zoniot-water/zoniot-water-web/src/main/java/com/bz/zoneiot/water/web/controller/SceneController.java

@@ -77,7 +77,7 @@ public class SceneController {
     }
 
     @ApiOperation(value = "查询场景树")
-    @RequestMapping(value = "/selectListByType", method = RequestMethod.GET)
+    @RequestMapping(value = "/listByTypeName", method = RequestMethod.POST)
     @ResponseBody
     public AjaxMessage selectListByType(@RequestParam(required = false) List<String> sceneTypeName) {
         return AjaxMessage.success(sceneService.findListByTypeName(sceneTypeName));