info get profile
This commit is contained in:
parent
93b0cadea9
commit
194dc50eaa
|
@ -18,7 +18,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||||
Handler: InfoHandler(serverCtx),
|
Handler: InfoHandler(serverCtx),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Method: http.MethodGet,
|
Method: http.MethodPost,
|
||||||
Path: "/api/info/user/profile",
|
Path: "/api/info/user/profile",
|
||||||
Handler: UserGetProfileHandler(serverCtx),
|
Handler: UserGetProfileHandler(serverCtx),
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,7 @@ service info {
|
||||||
post /api/info/user(UserInfoRequest) returns (response);
|
post /api/info/user(UserInfoRequest) returns (response);
|
||||||
|
|
||||||
@handler UserGetProfileHandler
|
@handler UserGetProfileHandler
|
||||||
get /api/info/user/profile(QueryProfileRequest) returns (response);
|
post /api/info/user/profile(QueryProfileRequest) returns (response);
|
||||||
|
|
||||||
@handler UpdateProfileHandler
|
@handler UpdateProfileHandler
|
||||||
post /api/info/user/profile/update(ProfileRequest) returns (response);
|
post /api/info/user/profile/update(ProfileRequest) returns (response);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user