This commit is contained in:
eson
2023-07-24 19:17:02 +08:00
parent a10e100364
commit b43b5dbd59
33 changed files with 109 additions and 415 deletions

View File

@@ -14,13 +14,13 @@ service auth {
post /api/auth/login(RequestUserLogin) returns (response);
@handler AcceptCookieHandler
post /api/user/accept-cookie(request) returns (response);
post /api/auth/accept-cookie(request) returns (response);
@handler UserGoogleLoginHandler
get /api/user/oauth2/login/google(RequestGoogleLogin) returns (response);
get /api/auth/oauth2/login/google(RequestGoogleLogin) returns (response);
@handler UserEmailRegisterHandler
get /api/user/oauth2/login/register(RequestEmailRegister) returns (response);
get /api/auth/oauth2/login/register(RequestEmailRegister) returns (response);
}
// UserAddAddressHandler 用户登录请求结构

View File

@@ -173,8 +173,6 @@ type RequestOrderId {
RefundReason string `json:"refund_reason"` //取消原因
}
// UserBasicInfoHandler 返回data结构
type DataUserBasicInfo {
Type int64 `json:"type"` // 1普通餐厅 2连锁餐厅