code: @GetMapping("/syncSwitch/{destination}")
      public Map<String, String> etl(@PathVariable String destination) {
          boolean status = syncSwitch.status(destination);
          String resStatus;
          if (status) {
              resStatus = "on";
          } else {
              resStatus = "off";
          }
          Map<String, String> res = new LinkedHashMap<>();
          res.put("stauts", resStatus);
          return res;
      }
docs: 获取实例开关状态 curl http://127.0.0.1:8081/syncSwitch/example
  
  @param destination 实例名称
  @return