Authored by qinchao

增加一个接口 ,给后台,订单清关失败

@@ -158,7 +158,20 @@ public class ErpGWOrderController { @@ -158,7 +158,20 @@ public class ErpGWOrderController {
158 158
159 159
160 /** 160 /**
161 - * 平台确认收货 161 + * 后台手工确认的清关失败的订单
  162 + */
  163 + @IgnoreSession
  164 + @IgnoreSignature
  165 + @RequestMapping(value = "/cancelOverseasOrderForBuyerClearFail")
  166 + public ApiResponse cancelOverseasOrderForBuyerClearFail(@RequestBody BuyerOrderCancelReq request) {
  167 + LOG.info("api cancelClearFailOrderManual in, req is {}", request);
  168 + buyerOrderCancelService.cancelOverseasOrder(request.getOrderCode(), CutomsClearanceFailType.BUYER);
  169 + LOG.info("api cancelClearFailOrderManual out, req is {}", request);
  170 + return new ApiResponse.ApiResponseBuilder().code(200).message("取消海外直邮订单成功").build();
  171 + }
  172 +
  173 + /**
  174 + * 清关失败调用
162 */ 175 */
163 @IgnoreSession 176 @IgnoreSession
164 @IgnoreSignature 177 @IgnoreSignature