后端用户登录接口完成
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.cxyxiaomo.epp;
|
||||
package com.cxyxiaomo.epp.gateway;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
@@ -1,4 +1,4 @@
|
||||
package com.cxyxiaomo.epp.controller;
|
||||
package com.cxyxiaomo.epp.gateway.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
@@ -19,8 +19,7 @@ spring:
|
||||
uri: lb://microservice-provider-user
|
||||
predicates:
|
||||
- Path=/user/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
- Method=GET,POST
|
||||
|
||||
- id: test1
|
||||
uri: lb://microservice-provider-test
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.cxyxiaomo.epp;
|
||||
package com.cxyxiaomo.epp.gateway;
|
||||
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
Reference in New Issue
Block a user