|
60精币
@Test
public void getTradeDetailBatch() throws Exception {
String tb_seller_nick = Config.TBSellerNick ;
//业务参数
Map<String, String> data = new HashMap<String, String>();
data.put("appid", Config.AppId);
data.put("tb_seller_nick", tb_seller_nick);
Long timestamp = System.currentTimeMillis() / 1000;
data.put("timestamp", timestamp.toString());
data.put("tids", "1702708671154565830,1645829892702565830,1024065443098565830");
data.put("sign", Utils.Sign(data,Config.AppSecret));
// 调用服务API
doHttpRequest(Config.TaoBaoOrderDetailBatchUrl ,data);
}
|
最佳答案
查看完整内容
这个跟之前的那个?
$signstr=网页_参数Ascii排序(提交参数)
$secret=秘钥
$sign =取特征码($secret+$signstr.+$secret)
|