Skip to content
New issue

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

[bug]: 发送短信获取验证码后登录用户获取设备ID异常 #350

Open
3 tasks done
BrotherJie opened this issue Apr 18, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@BrotherJie
Copy link
Contributor

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已确认我已升级到最新版本(最新代码)测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

campus框架版本

No response

本项目 campus-imaotai 版本

1.0.13

运行环境

Linux

运行架构

x86

问题描述

已查看无类似issue。

项目部署在linux的服务器上,之前我已正常添加一位用户,但是今天再添加用户时发送验证码正常,点击登录时后端服务器出现缺少设备id(见日志)。

查看源码发现设备id是由前端初次登录时生成的,不清楚哪里导致无设备id

期望的结果是什么?

账户注册成功

简单的复现代码/链接(可选)

No response

日志记录(可选)

2024-04-18 10:33:06 |ERROR |IMTServiceImpl.java:172 |「登录请求-失败」{"code":4000,"message":"缺少设备Id"}
2024-04-18 10:33:06 |ERROR |GlobalExceptionHandler.java:53 |登录失败,本地错误日志已记录
com.oddfar.campus.common.exception.ServiceException: 登录失败,本地错误日志已记录
at com.oddfar.campus.business.service.impl.IMTServiceImpl.login(IMTServiceImpl.java:173)

补充说明(可选)

No response

@BrotherJie BrotherJie added the bug Something isn't working label Apr 18, 2024
@BrotherJie BrotherJie changed the title [bug]: [bug]: 发送短信获取验证码后登录用户获取设备ID异常 Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant