@GetMapping("/request/cookie/pass")
    public ResultBean requestCookie(@CookieValue("cookie") final String cookie) {
        final ResultBean response = new ResultBean();
        response.setCode(200);
        response.setMsg("pass");

        final Map<String, Object> param = new HashMap<>();
        param.put("cookie", cookie);
        response.setData(param);
        return response;
    }
request Pass.

@param cookie the cookie.
@return ResultBean result bean
shenyu-examples/shenyu-examples-springmvc-tomcat/src/main/java/org/apache/shenyu/examples/springmvc/controller/HttpTestController.java