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

系统的账号和密码是多少? #1

Open
biglin6 opened this issue Apr 11, 2023 · 4 comments
Open

系统的账号和密码是多少? #1

biglin6 opened this issue Apr 11, 2023 · 4 comments

Comments

@biglin6
Copy link

biglin6 commented Apr 11, 2023

系统的账号和密码是多少?

@Cheung-Pui-Lam
Copy link
Owner

你好!账号密码是由自己设计的数据库里面的数据决定的哦!并不是统一的,谢谢

@xuiang
Copy link

xuiang commented Sep 11, 2023

那请问你有设置吗?我现在运行项目没有看到注册入口,这个应该有统一的账户密码吧 比如admin,123456

@xuiang
Copy link

xuiang commented Sep 11, 2023

嗷嗷,知道了,要自己手动操作MongoDB加一条数据,我用的是studio 3t的intellShell ,语句如下:
db.getCollection("users").insert({ username:'admin',// 用户名 password:'123456',// 密码 gender:1, //性别 ,0[保密],1[男],2[女] introduction:'管理员' ,//简介 avatar:'',// 头像 role:1 //管理员1 ,编辑2 })谢谢 @biglin6 @Cheung-Pui-Lam

@Cheung-Pui-Lam
Copy link
Owner

對的!賬號密碼資料是由你自己設定的,通過向數據庫插入對應的數據來實現登錄功能!

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

3 participants