This commit is contained in:
eson
2023-07-14 19:26:00 +08:00
parent b9f8876fde
commit e837c745b1
5 changed files with 96 additions and 6 deletions

View File

@@ -10,6 +10,10 @@ info (
import "basic.api"
service home-user-auth {
@handler UserRegisterHandler
post /api/user/register(RequestUserRegister) returns (response);
@handler UserLoginHandler
post /api/user/login(RequestUserLogin) returns (response);
@@ -26,7 +30,7 @@ service home-user-auth {
post /api/user/basic-info(RequestBasicInfoForm) returns (response);
@handler UserStatusConfigHandler
post /api/user/status-config(request) returns (response);
get /api/user/status-config(request) returns (response);
@handler UserBasicInfoHandler
get /api/user/basic-info(request) returns (response);