Files
dify-plus/admin/server/model/system/response/oa_login.go
T
2025-03-28 15:18:33 +08:00

19 lines
461 B
Go

package response
// OaUserInfoRes 请求OA用户信息接口返回值
type OaUserInfoRes struct {
Code int `json:"code"`
Info string `json:"info"`
Data struct {
Username string `json:"username"`
Name string `json:"name"`
Email string `json:"email"`
} `json:"data"`
}
// OaAccessTokenRes 请求OA access-token接口返回值
type OaAccessTokenRes struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
}