提交代码

dev-discount
胡锐 3 years ago
parent 8a5ffaad80
commit 994ad0a606
  1. 2
      hai-cweb/src/main/java/com/cweb/controller/HighTestController.java
  2. 6
      hai-service/src/main/java/com/hai/config/TuanYouConfig.java

File diff suppressed because one or more lines are too long

@ -123,14 +123,14 @@ public class TuanYouConfig {
* @return 请求结果
* @throws Exception
*/
public static JSONObject queryThirdOrderDretail(String thirdSerialNo) throws Exception {
public static JSONObject queryThirdOrderDetail(String thirdSerialNo) throws Exception {
Map<String,Object> paramMap = new HashMap<>();
paramMap.put("app_key", CommonSysConst.getSysConfig().getTuanYouAppKey());
paramMap.put("timestamp", new Date().getTime());
paramMap.put("companyCode", "new Date().getTime()");
paramMap.put("companyCode", CommonSysConst.getSysConfig().getTuanYouAppKey());
paramMap.put("thirdSerialNo", thirdSerialNo);
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));
}
/**

Loading…
Cancel
Save