|
@@ -1,12 +1,13 @@
|
|
|
package com.caimei365.cloud.config;
|
|
|
|
|
|
import com.caimei365.cloud.service.TouristService;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.apache.rocketmq.spring.core.RocketMQTemplate;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
-import org.springframework.http.HttpCookie;
|
|
|
import org.springframework.http.ResponseCookie;
|
|
|
+import org.springframework.http.HttpCookie;
|
|
|
import org.springframework.http.server.reactive.ServerHttpRequest;
|
|
|
import org.springframework.http.server.reactive.ServerHttpResponse;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -19,7 +20,6 @@ import reactor.core.publisher.Mono;
|
|
|
import javax.annotation.PostConstruct;
|
|
|
import javax.annotation.Resource;
|
|
|
import java.net.InetSocketAddress;
|
|
|
-import java.util.List;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
/**
|
|
@@ -28,6 +28,7 @@ import java.util.Objects;
|
|
|
* @author : Charles
|
|
|
* @date : 2021/3/24
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@Configuration
|
|
|
public class WebConfiguration implements WebFluxConfigurer {
|
|
|
|