|
@ -26,12 +26,15 @@ import org.springframework.http.HttpStatus; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
import java.util.Random; |
|
|
|
|
|
|
|
|
@Service |
|
|
@Service |
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
@Slf4j |
|
|
@Slf4j |
|
|
public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
|
|
|
|
int a = 0; |
|
|
|
|
|
|
|
|
@Autowired |
|
|
@Autowired |
|
|
AcsConfigService acsConfigService; |
|
|
AcsConfigService acsConfigService; |
|
|
|
|
|
|
|
@ -50,8 +53,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
@Value("${acsTowms.token}") |
|
|
@Value("${acsTowms.token}") |
|
|
public String token; |
|
|
public String token; |
|
|
|
|
|
|
|
|
private String log_file_type="log_file_type"; |
|
|
private String log_file_type = "log_file_type"; |
|
|
private String log_type="ACS请求WMS"; |
|
|
private String log_type = "ACS请求WMS"; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public String applyTaskToWms(String device_code, String container_code, int height, int weight) { |
|
|
public String applyTaskToWms(String device_code, String container_code, int height, int weight) { |
|
@ -96,7 +99,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
// logServer.log("", "applyTaskToWms", type, jo.toString(), result2.body(), String.valueOf(result2.getStatus()), url, container_code);
|
|
|
// logServer.log("", "applyTaskToWms", type, jo.toString(), result2.body(), String.valueOf(result2.getStatus()), url, container_code);
|
|
|
log.info("applyTaskToWms-----输出参数{}", result2.body()); |
|
|
log.info("applyTaskToWms-----输出参数{}", result2.body()); |
|
|
return result2.body(); |
|
|
return result2.body(); |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -136,7 +139,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
} |
|
|
} |
|
|
log.info("applyTaskManipulatorToWms-----输出参数{}", result2.body()); |
|
|
log.info("applyTaskManipulatorToWms-----输出参数{}", result2.body()); |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -177,7 +180,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
} |
|
|
} |
|
|
log.info("applyOuttoKiln-----输出参数{}", result2.body()); |
|
|
log.info("applyOuttoKiln-----输出参数{}", result2.body()); |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -218,14 +221,13 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
} |
|
|
} |
|
|
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body()); |
|
|
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body()); |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public HttpResponse applyBarcode(JSONObject json) { |
|
|
public HttpResponse applyBarcode(JSONObject json) { |
|
|
try { |
|
|
try { |
|
@ -261,7 +263,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
} |
|
|
} |
|
|
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body()); |
|
|
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body()); |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -302,7 +304,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
} |
|
|
} |
|
|
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body()); |
|
|
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body()); |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -310,38 +312,59 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public JSONObject getVehicle(JSONObject json) { |
|
|
public JSONObject getVehicle(JSONObject json) { |
|
|
JSONObject map = new JSONObject(); |
|
|
// String getStation = json.getString("getStation");
|
|
|
map.put("code",200); |
|
|
// JSONObject map = new JSONObject();
|
|
|
map.put("message","成功"); |
|
|
// Random r = new Random();
|
|
|
map.put("getStation","X001"); |
|
|
// int i = 1;
|
|
|
map.put("putStation","L001"); |
|
|
// if (a == 20){
|
|
|
map.put("encoder_qty","1"); |
|
|
// i = 2;
|
|
|
map.put("boxtype","1"); |
|
|
|
|
|
return map; |
|
|
|
|
|
// try {
|
|
|
|
|
|
// MDC.put(log_file_type, log_type);
|
|
|
|
|
|
// String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL);
|
|
|
|
|
|
// AddressDto addressDto = addressService.findByCode("getVehicle");
|
|
|
|
|
|
// String methods_url = addressDto.getMethods_url();
|
|
|
|
|
|
// String url = wmsurl + methods_url;
|
|
|
|
|
|
// log.info("getVehicle----获取托盘信息请求参数{}", json.toString());
|
|
|
|
|
|
// HttpResponse result = null;
|
|
|
|
|
|
// try {
|
|
|
|
|
|
// result = HttpRequest.post(url)
|
|
|
|
|
|
// .header("Authorization", token)
|
|
|
|
|
|
// .body(String.valueOf(json))
|
|
|
|
|
|
// .execute();
|
|
|
|
|
|
// System.out.println(result);
|
|
|
|
|
|
// } catch (Exception e) {
|
|
|
|
|
|
// System.out.println(e.getMessage());
|
|
|
|
|
|
// }
|
|
|
|
|
|
// log.info("getVehicle----获取托盘信息返回参数{}", result.body());
|
|
|
|
|
|
// JSONObject jo = JSONObject.parseObject(result.body());
|
|
|
|
|
|
// return jo;
|
|
|
|
|
|
// } finally {
|
|
|
|
|
|
// MDC.remove(log_file_type);
|
|
|
|
|
|
// }
|
|
|
// }
|
|
|
|
|
|
// String a = "";
|
|
|
|
|
|
// if (i == 1) {
|
|
|
|
|
|
// a = "L001";
|
|
|
|
|
|
// } else if (i == 2){
|
|
|
|
|
|
// a = "L002";
|
|
|
|
|
|
// } else if (i == 3){
|
|
|
|
|
|
// a = "L003";
|
|
|
|
|
|
// } else if (i == 4){
|
|
|
|
|
|
// a = "L004";
|
|
|
|
|
|
// }else if (i == 5){
|
|
|
|
|
|
// a = "L005";
|
|
|
|
|
|
// }else if (i == 6){
|
|
|
|
|
|
// a = "L006";
|
|
|
|
|
|
// }else {
|
|
|
|
|
|
// a = "L002";
|
|
|
|
|
|
// }
|
|
|
|
|
|
// map.put("code",200);
|
|
|
|
|
|
// map.put("message","成功");
|
|
|
|
|
|
// map.put("getStation",getStation);
|
|
|
|
|
|
// map.put("putStation",a);
|
|
|
|
|
|
// map.put("encoder_qty","1");
|
|
|
|
|
|
// map.put("boxtype","1");
|
|
|
|
|
|
// return map;
|
|
|
|
|
|
try { |
|
|
|
|
|
MDC.put(log_file_type, log_type); |
|
|
|
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
|
|
|
|
AddressDto addressDto = addressService.findByCode("getVehicle"); |
|
|
|
|
|
String methods_url = addressDto.getMethods_url(); |
|
|
|
|
|
String url = wmsurl + methods_url; |
|
|
|
|
|
log.info("getVehicle----获取托盘信息请求参数{}", json.toString()); |
|
|
|
|
|
HttpResponse result = null; |
|
|
|
|
|
try { |
|
|
|
|
|
result = HttpRequest.post(url) |
|
|
|
|
|
.header("Authorization", token) |
|
|
|
|
|
.body(String.valueOf(json)) |
|
|
|
|
|
.execute(); |
|
|
|
|
|
System.out.println(result); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
System.out.println(e.getMessage()); |
|
|
|
|
|
} |
|
|
|
|
|
log.info("getVehicle----获取托盘信息返回参数{}", result.body()); |
|
|
|
|
|
JSONObject jo = JSONObject.parseObject(result.body()); |
|
|
|
|
|
return jo; |
|
|
|
|
|
} finally { |
|
|
|
|
|
MDC.remove(log_file_type); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
@ -367,7 +390,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
log.info("getVehicleTokiln----返回参数{}", result.body()); |
|
|
log.info("getVehicleTokiln----返回参数{}", result.body()); |
|
|
JSONObject jo = JSONObject.parseObject(result.body()); |
|
|
JSONObject jo = JSONObject.parseObject(result.body()); |
|
|
return jo; |
|
|
return jo; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -396,7 +419,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
log.info("getVehicleTokiln----返回参数{}", result.body()); |
|
|
log.info("getVehicleTokiln----返回参数{}", result.body()); |
|
|
return result; |
|
|
return result; |
|
|
|
|
|
|
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -425,7 +448,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
} |
|
|
} |
|
|
log.info("outKiln----返回参数{}", result.body()); |
|
|
log.info("outKiln----返回参数{}", result.body()); |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -454,7 +477,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
log.info("enterOrder----返回参数{}", result.body()); |
|
|
log.info("enterOrder----返回参数{}", result.body()); |
|
|
return result; |
|
|
return result; |
|
|
|
|
|
|
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -465,7 +488,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
try { |
|
|
try { |
|
|
MDC.put(log_file_type, log_type); |
|
|
MDC.put(log_file_type, log_type); |
|
|
|
|
|
|
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
@ -474,7 +497,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
String url = wmsurl + methods_url; |
|
|
String url = wmsurl + methods_url; |
|
|
|
|
|
|
|
|
JSONObject json = new JSONObject(); |
|
|
JSONObject json = new JSONObject(); |
|
|
json.put("device_code",device_code); |
|
|
json.put("device_code", device_code); |
|
|
|
|
|
|
|
|
log.info("getVehicleCode----请求参数{}", json.toString()); |
|
|
log.info("getVehicleCode----请求参数{}", json.toString()); |
|
|
HttpResponse result = null; |
|
|
HttpResponse result = null; |
|
@ -496,7 +519,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
try { |
|
|
try { |
|
|
MDC.put(log_file_type, log_type); |
|
|
MDC.put(log_file_type, log_type); |
|
|
|
|
|
|
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
@ -505,7 +528,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
String url = wmsurl + methods_url; |
|
|
String url = wmsurl + methods_url; |
|
|
|
|
|
|
|
|
JSONObject json = new JSONObject(); |
|
|
JSONObject json = new JSONObject(); |
|
|
json.put("vehicle_code",vehicle_code); |
|
|
json.put("vehicle_code", vehicle_code); |
|
|
|
|
|
|
|
|
log.info("getVehiclePoint----请求参数{}", json.toString()); |
|
|
log.info("getVehiclePoint----请求参数{}", json.toString()); |
|
|
HttpResponse result = null; |
|
|
HttpResponse result = null; |
|
@ -528,7 +551,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
try { |
|
|
try { |
|
|
MDC.put(log_file_type, log_type); |
|
|
MDC.put(log_file_type, log_type); |
|
|
|
|
|
|
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
@ -603,7 +626,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
resultJson.put("data", new JSONArray()); |
|
|
resultJson.put("data", new JSONArray()); |
|
|
log.info("feedbackPointStatusToWms----输出参数{}", resultJson.toString()); |
|
|
log.info("feedbackPointStatusToWms----输出参数{}", resultJson.toString()); |
|
|
return resultJson; |
|
|
return resultJson; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -611,26 +634,26 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public JSONArray getDeviceStatusToWms() { |
|
|
public JSONArray getDeviceStatusToWms() { |
|
|
try { |
|
|
try { |
|
|
MDC.put(log_file_type,log_type); |
|
|
MDC.put(log_file_type, log_type); |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
|
String wmsurl = acsConfigService.findConfigFromCache().get(AcsConfig.WMSURL); |
|
|
AddressDto addressDto = addressService.findByCode("getDeviceStatusToWms"); |
|
|
AddressDto addressDto = addressService.findByCode("getDeviceStatusToWms"); |
|
|
String methods_url = addressDto.getMethods_url(); |
|
|
String methods_url = addressDto.getMethods_url(); |
|
|
String url = wmsurl + methods_url; |
|
|
String url = wmsurl + methods_url; |
|
|
String result = ""; |
|
|
String result = ""; |
|
|
try { |
|
|
try { |
|
|
result = HttpRequest.get(url) |
|
|
result = HttpRequest.get(url) |
|
|
.execute().body(); |
|
|
.execute().body(); |
|
|
System.out.println(result); |
|
|
System.out.println(result); |
|
|
log.info("getTaskStatusToWms----返回参数{}", result); |
|
|
log.info("getTaskStatusToWms----返回参数{}", result); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
System.out.println(e.getMessage()); |
|
|
System.out.println(e.getMessage()); |
|
|
} |
|
|
} |
|
|
JSONArray jsonArray = JSONArray.parseArray(result); |
|
|
JSONArray jsonArray = JSONArray.parseArray(result); |
|
|
return jsonArray; |
|
|
return jsonArray; |
|
|
}finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -662,7 +685,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -698,7 +721,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -739,7 +762,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -771,7 +794,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result2; |
|
|
return result2; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -806,7 +829,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -845,7 +868,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -874,7 +897,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -905,7 +928,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
System.out.println(msg); |
|
|
System.out.println(msg); |
|
|
} |
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -933,7 +956,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} finally { |
|
|
} finally { |
|
|
MDC.remove(log_file_type); |
|
|
MDC.remove(log_file_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -942,9 +965,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
@Override |
|
|
@Override |
|
|
public JSONObject singlePlacementCompleted(JSONObject param) { |
|
|
public JSONObject singlePlacementCompleted(JSONObject param) { |
|
|
JSONObject map = new JSONObject(); |
|
|
JSONObject map = new JSONObject(); |
|
|
map.put("code",200); |
|
|
map.put("code", 200); |
|
|
map.put("message","成功"); |
|
|
map.put("message", "成功"); |
|
|
map.put("data",null); |
|
|
map.put("data", null); |
|
|
return map; |
|
|
return map; |
|
|
// try {
|
|
|
// try {
|
|
|
// MDC.put(log_file_type, log_type);
|
|
|
// MDC.put(log_file_type, log_type);
|
|
@ -972,10 +995,11 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public JSONObject stackingCompleted(JSONObject param) { |
|
|
public JSONObject stackingCompleted(JSONObject param) { |
|
|
|
|
|
a = 20; |
|
|
JSONObject map = new JSONObject(); |
|
|
JSONObject map = new JSONObject(); |
|
|
map.put("code",200); |
|
|
map.put("code", 200); |
|
|
map.put("message","成功"); |
|
|
map.put("message", "成功"); |
|
|
map.put("data",null); |
|
|
map.put("data", null); |
|
|
return map; |
|
|
return map; |
|
|
// try {
|
|
|
// try {
|
|
|
// MDC.put(log_file_type, log_type);
|
|
|
// MDC.put(log_file_type, log_type);
|
|
|