github.com/bububa/oceanengine/marketing-api@v0.0.0-20210315120513-0b953137f7a6/model/oauth/user_info.go (about) 1 package oauth 2 3 import ( 4 "github.com/bububa/oceanengine/marketing-api/model" 5 ) 6 7 type UserInfoResponse struct { 8 model.BaseResponse 9 Data *UserInfoResponseData `json:"data,omitempty"` 10 } 11 12 type UserInfoResponseData struct { 13 ID uint64 `json:"id,omitempty"` // 用户id 14 Email string `json:"email,omitempty"` // 邮箱(已经脱敏处理) 15 DisplayName string `json:"display_name,omitempty"` // 用户名 16 }