This commit is contained in:
2025-07-14 18:53:38 +08:00
parent df4b8caf8b
commit ef254199c4

View File

@@ -50,10 +50,8 @@ public class V5PayService {
JSONObject jsonObject = JSON.parseObject(resultBody);
Map<String, Object> resultObject = convertJsonToMapExcludeSign(jsonObject);
String responseSign = signature(buildPlainText(resultObject));
if (responseSign.equalsIgnoreCase(jsonObject.getString("sign"))) {
return JSONObject.parseObject(resultBody, V5PayResponseVo.class);
}
log.info("V5PayService.createOrder responseSign:{}" , responseSign);
return JSONObject.parseObject(resultBody, V5PayResponseVo.class);
} catch (Exception e) {
log.error("V5PayService.createOrder:e:{}", e);
}