|
@@ -20,6 +20,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
@@ -29,6 +30,7 @@ import java.util.stream.Collectors;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/api/v1/order")
|
|
|
+@Lazy
|
|
|
public class OrderController {
|
|
|
private static final Logger LOG = LoggerFactory.getLogger(OrderController.class);
|
|
|
|