单号回传及订单发货
查看技术文档 重置为默认值
请求参数
请求数据
public void testUploadNum() throws Exception { UploadNumReq uploadNumReq = new UploadNumReq(); uploadNumReq.setShopType(ThirdPlatformConstant.TAO_BAO); uploadNumReq.setShopId("123456789"); uploadNumReq.setOrderNum("1232321"); uploadNumReq.setKuaidiCom(CompanyConstant.YD); uploadNumReq.setKuaidiNum("12345678"); String param = new Gson().toJson(uploadNumReq); PrintReq printReq = new PrintReq(); printReq.setKey(key); printReq.setSign(SignUtils.sign(param + key + secret)); printReq.setParam(param); IBaseClient baseClient = new ThirdPlatformOrderUploadNum(); HttpResult result = baseClient.execute(printReq); System.out.println(result); if (result!=null && result.getStatus() == HttpStatus.SC_OK && result.getBody()!= null){ ThirdPlatformBaseResp baseResp = new Gson().fromJson(result.getBody(),new TypeToken<ThirdPlatformBaseResp>(){}.getType()); } }