【支付宝通知回调】:
 AbstractAlipayClient.java :
添加支付宝回调参数str转map
通知回调:
Map<String, String> params = notifyData.getParams();
Map<String, String> params = strToMap(notifyData.getBody());
This commit is contained in:
zwy 2022-04-27 10:18:47 +08:00
parent daca7c98f6
commit 03ad548aa2

View File

@ -130,6 +130,15 @@ public abstract class AbstractAlipayClient extends AbstractPayClient<AlipayPayCl
} }
} }
/**
*
* 支付宝统一回调参数 str转map
*
* @param s 支付宝支付通知回调参数
* @return map 支付宝集合
*/
public static Map<String, String> strToMap(String s) { public static Map<String, String> strToMap(String s) {
Map<String, String> stringStringMap = new HashMap<>(); Map<String, String> stringStringMap = new HashMap<>();
//调整时间格式 //调整时间格式