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

增加权限控制 #7

Open
gaoyangxiaozhu opened this issue Aug 2, 2016 · 4 comments
Open

增加权限控制 #7

gaoyangxiaozhu opened this issue Aug 2, 2016 · 4 comments

Comments

@gaoyangxiaozhu
Copy link
Owner

No description provided.

@zhgui
Copy link

zhgui commented Jan 18, 2017

登陆的账号是啥呢?想进入看看

@yingp
Copy link

yingp commented Mar 10, 2017

默认账号怎么设置的

@njqaaa
Copy link

njqaaa commented May 17, 2017

DockerVI/server/config/seed.js

@njqaaa
Copy link

njqaaa commented May 17, 2017

User.countAsync().then(function (count) {
if(count === 0){
User.removeAsync().then(function () {
User.createAsync({
nickname:'admin',
email:'[email protected]',
role:'admin',
password:'admin',
status:1
});
});
}
});

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

4 participants