| 1234567891011121314151617181920212223242526272829303132333435363738 | package httptype OAuth2TokenResp struct {	AccessToken  string `json:"access_token"`  // 授权令牌	ExpiresIn    int64  `json:"expires_in"`    // 授权令牌的有效期	RefreshToken string `json:"refresh_token"` // 刷新令牌	TokenType    string `json:"token_type"`    // 令牌类型	Scope        string `json:"scope"`         // 授权范围}type OAuth2AddUserReq struct {	Data      string `json:"data"`	EventType string `json:"eventType"`}type OAuth2AddUser struct {	Id       string `json:"id"`	Username string `json:"username"`	Name     string `json:"name"`	UserId   string `json:"userId"`	PassWord string `json:"password"`	Disabled bool   `json:"disabled"`	Pasture  string `json:"pasture"`	//	OrganizationId  string   `json:"organizationId"`	//	OrganizationIds []string `json:"organizationIds"`	//	Disabled        bool     `json:"disabled"`	//	Number          int      `json:"number"`	//	Switch          bool     `json:"switch"`	//	Text            string   `json:"text"`	//	MultivaluedText []string `json:"multivaluedText"`}//type T struct {//	Data      string `json:"data"`//	EventType string `json:"eventType"`//	Nonce     string `json:"nonce"`//	Timestamp int64  `json:"timestamp"`//}
 |