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

注册接口问题 #61

Open
RocChing opened this issue Sep 9, 2021 · 1 comment
Open

注册接口问题 #61

RocChing opened this issue Sep 9, 2021 · 1 comment

Comments

@RocChing
Copy link

RocChing commented Sep 9, 2021

User.register(user)

注册接口 的返回值中 能否增加 一个过期时间的字段,告诉当前账号的token的过期时间;否则, 注册成功了 不知道 这个token的过期时间;

请求成功
{
"code": 200,
"userId": "ujadk90ha",
"token": "SfJQnrPDLZNMxSl+cNLZNMxSl+cNGDRLrkqw5cNGDRLrkqw5Xap7yf5"
}

@Rick0301
Copy link

过期时间不是管理后台自己设置的嘛,啥时候过期自己应该清楚的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants