接口返回参数

public ResponseData deliveryScan(WmsInspectTaskVO dto, HttpServletRequest request) {
IRequest requestContext = createRequestContext(request);

ResponseData responseData = new ResponseData();

try {
responseData = service.deliveryScan(requestContext, dto);
} catch (Exception e) {
responseData.setSuccess(false);
responseData.setMessage(e.getMessage());
}

return responseData;
}
posted @ 2021-02-01 00:17  奥里给  阅读(283)  评论(0编辑  收藏  举报