course/starbook/session-login #144
Replies: 2 comments 1 reply
-
需要修改一下users.go/login方法
|
Beta Was this translation helpful? Give feedback.
1 reply
-
if user.Id == 0 { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
course/starbook/session-login
登录功能通过接收用户名和密码,验证成功生成Token返回。采用GoFrame框架,遵循三板斧开发原则,包括Api生成Controller,编写核心Logic逻辑。通过JwtKey生成签名,Token有效期为六小时。在Controller中调用核心逻辑实现登录功能,并测试接口确保功能正常。
https://goframe.org/course/starbook/session-login
Beta Was this translation helpful? Give feedback.
All reactions