input = new FileInputStream(buildPath() +File.separator+fileName);
pngInputStream = new FileInputStream(buildPath() +File.separator+pngFileName);
Map<String,InputStream> fileInputSteamMap = new HashMap<String, InputStream>();
fileInputSteamMap.put(fileName, input);
fileInputSteamMap.put(pngFileName, pngInputStream);
FlowExplorerService flowExplorerService = new FlowExplorerServiceImpl();
flowExplorerService.deploy(fileInputSteamMap, deploymentId, userId);
success("发布成功", "string");
}catch(Exception ex){
ex.printStackTrace();
error("发布失败:" + ex.getMessage());
}