|
@@ -18,7 +18,7 @@ public class WxClueController {
|
|
|
private AliyunLogger logger;
|
|
|
|
|
|
@RequestMapping("wx_create")
|
|
|
- public void wxCreate(@RequestBody String wxXml, @RequestParam("echostr") String nonce, HttpServletResponse response) throws IOException {
|
|
|
+ public void wxCreate(@RequestBody(required = false) String wxXml, @RequestParam("echostr") String nonce, HttpServletResponse response) throws IOException {
|
|
|
|
|
|
logger.info("wx xml", wxXml);
|
|
|
response.getWriter().write(nonce);
|