We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
获取用户行为日志接口的返回类型UserActionLogRespDto.class中的字段eventType为枚举类,和接口返回值对不上。接口返回汉字
UserActionLogRespDto.class
eventType
/** * 事件类型: * - `login`: 登录 * - `logout`: 登出 * - `register`: 注册 * - `verifyMfa`: 验证 MFA * - `updateUserProfile`: 修改用户信息 * - `updateUserPassword`: 修改密码 * - `updateUserEmail`: 修改邮箱 * - `updateUserPhone`: 修改手机号 * - `bindMfa`: 绑定 MFA * - `bindEmail`: 绑定邮箱 * - `bindPhone`: 绑定手机号 * - `unbindPhone`: 解绑手机号 * - `unbindEmail`: 解绑邮箱 * - `unbindMFA`: 解绑 MFA * - `deleteAccount`: 注销账号 * - `verifyFirstLogin`: 首次登录验证 * */ @JsonProperty("eventType") private EventType eventType;
返回的部分字段
{ "userId": "XX", "appId": "XX", "appName": "XX平台", "clientIp": "192.168.XX.XX", "eventType": "登录", "appLogo": "http://XXX", "userAgent": "XX", "geoip": {}, "timestamp": "2024-08-02T16:45:08.848+0800", "requestId": "62269d2c-47d5-448e-a8ca-dd89e4d731b9" }
Minimal code-snippet showcasing the problem
client.getUserActionLogs(reqDto);
接口返回枚举类,或者eventType类型改为String
接口返回中文字符串,eventType类型为英文枚举
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
获取用户行为日志接口的返回类型
UserActionLogRespDto.class
中的字段eventType
为枚举类,和接口返回值对不上。接口返回汉字返回的部分字段
Minimal code-snippet showcasing the problem
Expected behavior
接口返回枚举类,或者
eventType
类型改为StringActual behavior
接口返回中文字符串,
eventType
类型为英文枚举The text was updated successfully, but these errors were encountered: