|
|
@ -123,14 +123,14 @@ public class TuanYouConfig { |
|
|
|
* @return 请求结果 |
|
|
|
* @return 请求结果 |
|
|
|
* @throws Exception |
|
|
|
* @throws Exception |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static JSONObject queryThirdOrderDretail(String thirdSerialNo) throws Exception { |
|
|
|
public static JSONObject queryThirdOrderDetail(String thirdSerialNo) throws Exception { |
|
|
|
Map<String,Object> paramMap = new HashMap<>(); |
|
|
|
Map<String,Object> paramMap = new HashMap<>(); |
|
|
|
paramMap.put("app_key", CommonSysConst.getSysConfig().getTuanYouAppKey()); |
|
|
|
paramMap.put("app_key", CommonSysConst.getSysConfig().getTuanYouAppKey()); |
|
|
|
paramMap.put("timestamp", new Date().getTime()); |
|
|
|
paramMap.put("timestamp", new Date().getTime()); |
|
|
|
paramMap.put("companyCode", "new Date().getTime()"); |
|
|
|
paramMap.put("companyCode", CommonSysConst.getSysConfig().getTuanYouAppKey()); |
|
|
|
paramMap.put("thirdSerialNo", thirdSerialNo); |
|
|
|
paramMap.put("thirdSerialNo", thirdSerialNo); |
|
|
|
paramMap.put("sign", MD5Util.encode(generateTuanYouSignature(paramMap,CommonSysConst.getSysConfig().getTuanYouAppSecret()).getBytes()).toLowerCase()); |
|
|
|
paramMap.put("sign", MD5Util.encode(generateTuanYouSignature(paramMap,CommonSysConst.getSysConfig().getTuanYouAppSecret()).getBytes()).toLowerCase()); |
|
|
|
return HttpsUtils.doPost(CommonSysConst.getSysConfig().getTuanYouUrl()+"/services/vp/openapi/queryCompanyAccountInfo2JD", JSON.toJSONString(paramMap)); |
|
|
|
return HttpsUtils.doPost(CommonSysConst.getSysConfig().getTuanYouUrl()+"/services/vp/openapi/queryThirdOrderDetail", JSON.toJSONString(paramMap)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|