正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -71,7 +71,7 @@ service Core { | @@ -71,7 +71,7 @@ service Core { | ||
71 | post /mini/user/unfollow (FollowRequest) | 71 | post /mini/user/unfollow (FollowRequest) |
72 | @doc "我点赞的文章或评论" | 72 | @doc "我点赞的文章或评论" |
73 | @handler miniMyLike | 73 | @handler miniMyLike |
74 | - post /user/mylike (MiniMyLikeRequest)returns (MiniMyLikeResponse) | 74 | + post /mini/user/mylike (MiniMyLikeRequest)returns (MiniMyLikeResponse) |
75 | } | 75 | } |
76 | 76 | ||
77 | type( | 77 | type( |
@@ -242,7 +242,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { | @@ -242,7 +242,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { | ||
242 | }, | 242 | }, |
243 | { | 243 | { |
244 | Method: http.MethodPost, | 244 | Method: http.MethodPost, |
245 | - Path: "/user/mylike", | 245 | + Path: "/mini/user/mylike", |
246 | Handler: user.MiniMyLikeHandler(serverCtx), | 246 | Handler: user.MiniMyLikeHandler(serverCtx), |
247 | }, | 247 | }, |
248 | }, | 248 | }, |
-
请 注册 或 登录 后发表评论