Commit 6deb688c by 徐高华

托管回调

parent 0f0770d5
......@@ -10,6 +10,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
......@@ -28,6 +29,7 @@ public class QywxCallbackController extends WebBaseController {
@RequestMapping("qywx-msg-notice")
@IgnoreLogin
@ResponseBody
public Object callback(HttpServletRequest request , HttpServletResponse response) throws IOException {
try {
String body = IOUtils.toString(request.getInputStream()) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment