Files
litemall/doc/4.md
2018-03-30 16:31:47 +08:00

49 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 4 litemall后台管理
这里的后台管理业务参考了[platform](https://gitee.com/fuyang_lipengjun/platform).
技术架构:
* 后台管理前端即litemall-admin模块
* vue
* vuex
* vue-router
* axios
* element-ui
* vue-element-admin
* 其他见package.json
* 后台管理后端, 即litemall-admin-api模块
* Spring Boot 1.5.10
* Spring MVC
目前存在的问题
* 大部分页面仅仅是一个表CRUD的效果交互性一般。
例如显示商品的时候只是简单显示表中保存的类目ID和品牌商ID更好的效果可能是显示对应的类目名称和品牌商名称同时能够显示更详细的类目信息和品牌商信息。
* 地址优化,目前每一次点击都会请求后台,应该缓存已有的数据
* 管理员角色和权限设计
* 首页中实现一些小组件,同时点击能够跳转相应页面
* 查询时排序功能
* 业务功能重新设计,例如即使是管理员也不能删除修改用户的相关数据
* 用户密码加密存储
* 富文本编辑器
* vue和vue-element-admin等及时更新
## 4.1 litemall-admin-api
### 4.1.1 业务
### 4.1.2 安全配置
### 4.1.3 CROS配置
## 4.2 litemall-admin
litemall-admin模块的代码基于[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
## 4.3 开发新组件
这里介绍开发一个新的组件的流程。