第三方平台账号授权

请求参数

param

taobao
请求数据
public void testThirdAuth() throws Exception{ PrintReq printReq = new PrintReq(); ThirdAuthReq thirdAuthReq = new ThirdAuthReq(); thirdAuthReq.setNet("taobao"); thirdAuthReq.setCallBackUrl("http://www.baidu.com"); thirdAuthReq.setView("web"); String t = System.currentTimeMillis() + ""; String param = new Gson().toJson(thirdAuthReq); printReq.setKey(key); printReq.setT(t); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setParam(param); IBaseClient thirdAuth = new ThirdAuth(); System.out.println(thirdAuth.execute(printReq)); }