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

测试用户名密码多少? #2

Open
insomniatt opened this issue Sep 5, 2018 · 4 comments
Open

测试用户名密码多少? #2

insomniatt opened this issue Sep 5, 2018 · 4 comments

Comments

@insomniatt
Copy link

测试用户名密码多少?

@zxadgithub
Copy link

zxadgithub commented Sep 6, 2018 via email

@insomniatt
Copy link
Author

你可以看你自己的数据库啊 Tao Ju notifications@github.com 于2018年9月5日周三 下午4:19写道:

测试用户名密码多少? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2>, or mute the thread https://github.com/notifications/unsubscribe-auth/ARSjZSWtbbNvM3V3OsrxSj4MHZHx8Vxpks5uX4kDgaJpZM4WaZ6Y .

数据库建好以后, 新建了user, 和 shop, 但是还是报401 或者 404错误 , shiro 和 jwt 这块不太懂啊~能不能给一些建议

@zxadgithub
Copy link

你可以看你自己的数据库啊Tao Ju notifications@github.com于2018年9月5日周三下午4:19写道:
...
测试用户名密码多少? - 您收到此消息是因为您订阅了此主题。直接回复此电子邮件,在GitHub < #2 > 上查看,或者将线程静音https://github.com/notifications/unsubscribe-auth/ARSjZSWtbbNvM3V3OsrxSj4MHZHx8Vxpks5uX4kDgaJpZM4WaZ6Y。

数据库建好以后,新建了用户,和商店,但是还是报401或者404错误,shiro和jwt这块不太懂啊〜能不能给一些建议
后台代码utils有个密码加密,用你的用户名生成密码,然后添加到数据库user表,然后在user_role表关联下你新加的用户id,,,关联角色设置1最高权限

@insomniatt
Copy link
Author

谢谢 我发现不是这个问题
我在 controller中加了 @RequestMapping("/api")

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