Browse Source

🎉 优化依赖

test
smallchill 6 years ago
parent
commit
49e7f622d2
  1. 3
      blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/rpc/BlogMock.java
  2. 2
      blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/controller/BlogController.java

3
blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogMock.java → blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/rpc/BlogMock.java

@ -14,11 +14,10 @@
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.example.consumer.rpc;
package org.springblade.example.provider.rpc;
import org.springblade.example.provider.entity.Blog;
import org.springblade.example.provider.rpc.IBlogRpc;
/**
* 降级容错

2
blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/controller/BlogController.java

@ -36,7 +36,7 @@ public class BlogController {
@Reference(
version = "${blade.service.version}",
mock = "org.springblade.example.consumer.rpc.BlogMock",
mock = "org.springblade.example.provider.rpc.BlogMock",
//stub = "org.springblade.example.consumer.rpc.BlogStub",
check = false
)

Loading…
Cancel
Save