同城配送账号授权

请求参数

param

shansong - 闪送
请求数据
public void testAuth() throws Exception { PrintReq printReq = new PrintReq(); AuthReq authReq = new AuthReq(); authReq.setCom(CompanyConstant.SS); //替换成贵司在闪送的店铺id authReq.setStoreId("123456"); authReq.setCallbackUrl("http://www.baidu.com"); String t = String.valueOf(System.currentTimeMillis()); String param = new Gson().toJson(authReq); printReq.setKey(key); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); printReq.setMethod(ApiInfoConstant.SAME_CITY_AUTH_METHOD); IBaseClient sameCityOrder = new SameCityOrder(); System.out.println(sameCityOrder.execute(printReq)); }