商家寄件取消
查看技术文档 重置为默认值
请求参数
请求数据
public void testBorderOfficialCancel() throws Exception { PrintReq printReq = new PrintReq(); BOrderCancelReq bOrderCancelReq = new BOrderCancelReq(); bOrderCancelReq.setTaskId("F1F0BCB0BB0BF3D9388A6CA239835A82"); bOrderCancelReq.setOrderId("12301004"); bOrderCancelReq.setCancelMsg("测试单取消"); String t = String.valueOf(System.currentTimeMillis()); String param = new Gson().toJson(bOrderCancelReq); printReq.setKey(key); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); printReq.setMethod(ApiInfoConstant.B_ORDER_OFFICIAL_CANCEL_METHOD); IBaseClient bOrder = new BOrderOfficial(); System.out.println(bOrder.execute(printReq)); }