同城配送下单

请求参数

param

shunfeng - 顺丰同城

收件人信息

寄件人信息

附加信息

KG
0 : 立即单

goods

请求数据
public void testOrder() throws Exception { PrintReq printReq = new PrintReq(); OrderReq orderReq = new OrderReq(); orderReq.setCom(CompanyConstant.KFW); //替换成贵司在闪送的店铺id orderReq.setStoreId("123456"); orderReq.setSendManName("张三"); orderReq.setSendManMobile("13012312345"); orderReq.setSendManPrintAddr("深圳市南山区金蝶软件园"); orderReq.setRecManName("李四"); orderReq.setRecManMobile("13812312345"); orderReq.setRecManPrintAddr("北京市海淀区长春桥路"); orderReq.setPrice(100); orderReq.setOrderSourceType("饿了么"); orderReq.setOrderSourceType("ele11111111"); orderReq.setWeight(1.5); orderReq.setPartnerId("1999328601"); orderReq.setPartnerKey("806cdf87a2977e99e360a1b8de9dfb000326375d"); orderReq.setRemark("测试订单待会取消"); orderReq.setServiceType("火锅"); orderReq.setCallbackUrl("http://www.baidu.com"); orderReq.setOrderType(0); String t = String.valueOf(System.currentTimeMillis()); String param = new Gson().toJson(orderReq); printReq.setKey(key); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); printReq.setMethod(ApiInfoConstant.SAME_CITY_ORDER_METHOD); IBaseClient sameCityOrder = new SameCityOrder(); System.out.println(sameCityOrder.execute(printReq)); }