|
|
@ -34,6 +34,7 @@ public class BaseController extends Controller {
|
|
|
|
|
|
|
|
|
|
|
|
public void index() {
|
|
|
|
public void index() {
|
|
|
|
String path = getRequest().getRequestURI();
|
|
|
|
String path = getRequest().getRequestURI();
|
|
|
|
|
|
|
|
System.out.println(path);
|
|
|
|
String serviceUrl = route(path); // 根据路径决定转发到哪个微服务
|
|
|
|
String serviceUrl = route(path); // 根据路径决定转发到哪个微服务
|
|
|
|
|
|
|
|
|
|
|
|
if (serviceUrl == null) {
|
|
|
|
if (serviceUrl == null) {
|
|
|
|