|
|
@ -31,7 +31,7 @@ public class MailGunServiceImpl implements MailGunService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void dealNotify(String nofityString) throws Exception {
|
|
|
|
public void dealNotify(String nofityString) throws Exception {
|
|
|
|
String dd = URLDecoder.decode(nofityString, "UTF-8");
|
|
|
|
String dd = URLDecoder.decode(nofityString, "UTF-8");
|
|
|
|
Map<String, String> mailgunNotify = getQueryMap(nofityString);
|
|
|
|
Map<String, String> mailgunNotify = getQueryMap(dd);
|
|
|
|
String myData = mailgunNotify.get("my-custom-data");
|
|
|
|
String myData = mailgunNotify.get("my-custom-data");
|
|
|
|
String recipient = mailgunNotify.get("recipient");
|
|
|
|
String recipient = mailgunNotify.get("recipient");
|
|
|
|
if (StringUtils.isNotEmpty(myData) && StringUtils.isNotEmpty(recipient)) {
|
|
|
|
if (StringUtils.isNotEmpty(myData) && StringUtils.isNotEmpty(recipient)) {
|
|
|
|