Skip to content

Commit

Permalink
优化 Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wkunzhi committed Dec 13, 2019
1 parent 7190ec5 commit c0a853f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,39 @@

# 截图
**菜单分配**
![](https://zok-blog.oss-cn-hangzhou.aliyuncs.com/images/20191213/WX20191213-110528.png)
![](static/img/WX20191213-110528.png)
**用户管理**
![](https://zok-blog.oss-cn-hangzhou.aliyuncs.com/images/20191213/WX20191213-110557.png)
![](static/img/WX20191213-110557.png)
**权限分配**
![](https://zok-blog.oss-cn-hangzhou.aliyuncs.com/images/20191213/WX20191213-110617.png)
![](static/img/WX20191213-110617.png)
**菜单路由**
![](https://zok-blog.oss-cn-hangzhou.aliyuncs.com/images/20191213/WX20191213-110714.png)
![](static/img/WX20191213-110714.png)
**信息管理**
![](https://zok-blog.oss-cn-hangzhou.aliyuncs.com/images/20191213/WX20191213-110731.png)
![](static/img/WX20191213-110731.png)

# 使用说明
1. 根目录下 `Company.sql` 为数据库, 需要先导入到自己数据库中。
2. 在 CompanyQuiry -> setting.py 中该部分设置

```python
DATABASES = {
'default': {
# 连接数据库类型 在末尾写入mysql即可
'ENGINE': 'django.db.backends.mysql',
# 数据库地址
'HOST': '127.0.0.1',
# 端口
'PORT': 3306,
# 数据库名
'NAME': 'Company',
# 用户
'USER': 'root',
# 密码
'PASSWORD': ''

```python
DATABASES = {
'default': {
# 连接数据库类型 在末尾写入mysql即可
'ENGINE': 'django.db.backends.mysql',
# 数据库地址
'HOST': '127.0.0.1',
# 端口
'PORT': 3306,
# 数据库名
'NAME': 'Company',
# 用户
'USER': 'root',
# 密码
'PASSWORD': ''
}
}
}
```

```
3. 启动Django项目


# rbac 组件使用
Expand Down
Binary file added static/img/WX20191213-110528.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/WX20191213-110557.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/WX20191213-110617.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/WX20191213-110714.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/WX20191213-110731.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0a853f

Please sign in to comment.