This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f591d50  修改类为接口 (#696)
f591d50 is described below

commit f591d504066aa40651eae3fa85c03870d647aa3d
Author: Carlisler <[email protected]>
AuthorDate: Tue Jan 5 16:42:14 2021 +0800

    修改类为接口 (#696)
    
    此处应该是interface,而不是class
---
 content/zh/docs/v2.7/user/rest.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/zh/docs/v2.7/user/rest.md 
b/content/zh/docs/v2.7/user/rest.md
index 9e45579..33e33ae 100644
--- a/content/zh/docs/v2.7/user/rest.md
+++ b/content/zh/docs/v2.7/user/rest.md
@@ -133,7 +133,7 @@ http://localhost:8080/users/register
 首先,开发服务的接口:
 
 ```java
-public class UserService {    
+public interface UserService {    
    void registerUser(User user);
 }
 ```

Reply via email to