修复zuul推送问题

This commit is contained in:
tanghc
2020-05-26 14:15:14 +08:00
parent 5f9bab5807
commit b2f6159f0c
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ public class ConfigChannelController {
@Value("${sop.secret}")
private String secret;
@PostMapping("/configChannelMsg")
@PostMapping("/sop/configChannelMsg")
public String configChannel(HttpServletRequest request) throws IOException {
String requestJson = RequestUtil.getText(request);
String sign = request.getHeader("sign");

View File

@@ -37,6 +37,7 @@ public class ZuulErrorController implements ErrorController {
, response.getStatus()
, ZuulContext.getApiParam()
, throwable);
RequestContext.getCurrentContext().setRequest(request);
return this.buildResult(throwable);
}