Commit 685909cd by 丁伟峰

统一加上url前缀,以便gateway进行微服务区分

1 parent ac4707ce
...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequestMapping("/per-order") @RequestMapping("/pea-order")
public class CapacityController { public class CapacityController {
@Autowired @Autowired
......
...@@ -28,7 +28,7 @@ import org.springframework.validation.annotation.Validated; ...@@ -28,7 +28,7 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/per-order") @RequestMapping("/pea-order")
public class OrderCreateController { public class OrderCreateController {
@Autowired @Autowired
......
...@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j @Slf4j
@RestController @RestController
@RequestMapping("/per-order") @RequestMapping("/pea-order")
public class OrganizationController { public class OrganizationController {
@Autowired @Autowired
......
...@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j @Slf4j
@RestController @RestController
@RequestMapping("/per-order") @RequestMapping("/pea-order")
public class PublicController { public class PublicController {
@Autowired @Autowired
......
...@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j @Slf4j
@RestController @RestController
@RequestMapping("/per-order") @RequestMapping("/pea-order")
public class WorkbenchController { public class WorkbenchController {
@Autowired @Autowired
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!