package com.imdroid.secapi.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="VersionClient",url = "http://localhost:9916/ver_mgr")
public interface VersionClient {
    @PostMapping("/upgrade_cmd")
    HttpResp upgrade(@RequestParam(name = "deviceList") String deviceList, @RequestParam(name = "verFile") String verFile);
}
