From e6a8ea828f9a0680f3e2e1fbf308c061e1f1b0e0 Mon Sep 17 00:00:00 2001 From: sharpzhango <1404405160@qq.com> Date: Mon, 14 Dec 2020 22:01:37 +0800 Subject: [PATCH] Update README.md Wrong annotation ====> Correct annotation @service ====> @DubboService @reference ====> @DubboReference --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ebdf45d4..022bc3d41 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ public interface DemoService { 1. Service Provider implements `DemoService` ```java - @Service(version = "1.0.0") + @DubboService(version = "1.0.0") public class DefaultDemoService implements DemoService { /** @@ -176,7 +176,7 @@ public interface DemoService { private final Logger logger = LoggerFactory.getLogger(getClass()); - @Reference(version = "1.0.0", url = "dubbo://127.0.0.1:12345") + @DubboReference(version = "1.0.0", url = "dubbo://127.0.0.1:12345") private DemoService demoService; public static void main(String[] args) {