mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
2.5.11
This commit is contained in:
@@ -14,8 +14,8 @@ import com.gitee.sop.gatewaycommon.secret.IsvManager;
|
||||
import com.gitee.sop.gatewaycommon.util.RequestUtil;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.io.IOException;
|
||||
@@ -26,7 +26,7 @@ import java.util.Map;
|
||||
* @author tanghc
|
||||
*/
|
||||
@Slf4j
|
||||
@Controller
|
||||
@RestController
|
||||
public class ConfigChannelController {
|
||||
|
||||
private static Map<String, Class<? extends ChannelMsgProcessor>> processorMap = new HashMap<>(16);
|
||||
@@ -43,7 +43,7 @@ public class ConfigChannelController {
|
||||
@Value("${zuul.secret}")
|
||||
private String secret;
|
||||
|
||||
@PostMapping("/sop/configChannelMsg")
|
||||
@PostMapping("/configChannelMsg")
|
||||
public String configChannel(HttpServletRequest request) throws IOException {
|
||||
String requestJson = RequestUtil.getText(request);
|
||||
String sign = request.getHeader("sign");
|
||||
|
Reference in New Issue
Block a user