修复proxy不传递query参数的问题
This commit is contained in:
@@ -51,24 +51,15 @@ service home-user-auth {
|
||||
post /api/user/order-delete(RequestOrderId) returns (response);
|
||||
|
||||
@handler UserGoogleLoginHandler
|
||||
post /api/user/oauth2/login/google(RequestGoogleLogin) returns (response);
|
||||
|
||||
@handler UserOAuth2LoginHandler
|
||||
post /api/user/oauth2/login(RequestOAuth) returns (response);
|
||||
get /api/user/oauth2/login/google(RequestGoogleLogin) returns (response);
|
||||
|
||||
}
|
||||
|
||||
type RequestGoogleLogin {
|
||||
ID string `json:"id,,optional"`
|
||||
Email string `json:"email,,optional"`
|
||||
VerifiedEmail bool `json:"verified_email,,optional"`
|
||||
Name string `json:"name,,optional"`
|
||||
GivenName string `json:"given_name,,optional"`
|
||||
FamilyName string `json:"family_name,,optional"`
|
||||
Link string `json:"link,,optional"`
|
||||
Picture string `json:"picture,,optional"`
|
||||
Gender string `json:"gender,,optional"`
|
||||
Locale string `json:"locale,,optional"`
|
||||
Code string `form:"code"`
|
||||
Scope string `form:"scope"`
|
||||
AuthUser string `form:"authuser"`
|
||||
Prompt string `form:"prompt"`
|
||||
}
|
||||
|
||||
type RequestOAuth {
|
||||
|
||||
Reference in New Issue
Block a user