新疆部署初始版本

This commit is contained in:
佟明轩 2025-05-29 14:53:28 +08:00
parent 3a1d0a4816
commit 22b2286bf2
1 changed files with 6 additions and 1 deletions

View File

@ -47,6 +47,7 @@ public class HttpUtil {
StringBuffer resultBuffer = new StringBuffer(); StringBuffer resultBuffer = new StringBuffer();
String infno =JSONObject.parseObject(params).getString("infno"); String infno =JSONObject.parseObject(params).getString("infno");
logger.info(""+infno+"】调用医保请求地址==》" + posturl);
logger.info(""+infno+"】调用医保请求入参==》" + params); logger.info(""+infno+"】调用医保请求入参==》" + params);
URL url = new URL(posturl); URL url = new URL(posturl);
URLConnection conn = url.openConnection(); URLConnection conn = url.openConnection();
@ -89,7 +90,11 @@ public class HttpUtil {
} }
public List<String[]> download(String version_name, int type) { public List<String[]> download(String version_name, int type) {
Map<String, Object> input = new HashMap<>(); Map<String, Object> input = new HashMap<>();
if (1306==type){
input.put("infver", "V1.0");
}else {
input.put("ver", version_name); input.put("ver", version_name);
}
String infno = String.valueOf(type); String infno = String.valueOf(type);
JSONObject result = null; JSONObject result = null;
try { try {