fixbug mail bug

master
wangning 7 years ago
parent 1399fb38a5
commit 0c5f5cb392

@ -10,8 +10,6 @@ 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")
@ -28,10 +26,8 @@ public class MailCallBackController {
@RequestMapping(value = "/callback/dropped", method = RequestMethod.POST)
public void contractList(HttpServletRequest req, HttpServletResponse res) throws Exception {
logger.info("kira"+req.getRequestURL().toString());
// logger.info("kira"+content);
// mailService.dealDroppedNotify(content);
public void contractList(@RequestBody String content) throws Exception {
mailService.dealDroppedNotify(content);
}
}
Loading…
Cancel
Save