dev
袁野 5 months ago
parent 8eceaf45f6
commit 418a485092
  1. 8
      cweb/src/main/java/com/cweb/controller/CommonController.java

@ -70,8 +70,14 @@ public class CommonController {
public ResponseData getLogisticsMsg(@RequestParam(value = "logisticsNo" , required = true) String logisticsNo) {
try {
Map<String, Object> params = new HashMap<>();
GoodsLogistics logistics = (GoodsLogistics) bsOrderGoodsService.getLogisticsMsg(logisticsNo);
return ResponseMsgUtil.success(logistics);
params.put("logistics", logistics);
JSONArray object = JSONArray.parseArray(logistics.getLogisticsTraceDetails());
params.put("logisticsTraceDetails", object);
return ResponseMsgUtil.success(params);
} catch (Exception e) {
log.error("error!",e);

Loading…
Cancel
Save