|
|
|
@ -10,6 +10,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping(value = "/mailgun")
|
|
|
|
@ -26,9 +28,10 @@ public class MailCallBackController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/callback/dropped", method = RequestMethod.POST)
|
|
|
|
|
public void contractList(@RequestBody String content) throws Exception {
|
|
|
|
|
logger.info("kira"+content);
|
|
|
|
|
mailService.dealDroppedNotify(content);
|
|
|
|
|
public void contractList(HttpServletRequest req, HttpServletResponse res) throws Exception {
|
|
|
|
|
logger.info("kira"+req.getRequestURL().toString());
|
|
|
|
|
// logger.info("kira"+content);
|
|
|
|
|
// mailService.dealDroppedNotify(content);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|