mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
修复zuul推送问题
This commit is contained in:
@@ -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");
|
||||
|
@@ -37,6 +37,7 @@ public class ZuulErrorController implements ErrorController {
|
||||
, response.getStatus()
|
||||
, ZuulContext.getApiParam()
|
||||
, throwable);
|
||||
RequestContext.getCurrentContext().setRequest(request);
|
||||
return this.buildResult(throwable);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user