This commit is contained in:
zhao 2024-07-17 17:05:48 +08:00
commit 4b253893aa
2 changed files with 57 additions and 53 deletions

108
README.md
View File

@ -1,66 +1,70 @@
## 介绍
- 基于Vue3、TypeScript、Element Plus、Vue Router、Pinia、Axios、i18n、Vite等开发的后台管理使用门槛极低。
- 目前已实现maku-admin后端接口的有【maku-boot】 和 【maku-cloud】 2个后端开源项目。
- 开发文档https://maku.net/docs/maku-admin
- 官网地址https://maku.net
## 项目文档
## maku-boot | 单体低代码开发平台
- Gitee仓库https://gitee.com/makunet/maku-boot
- Github仓库https://github.com/makunet/maku-boot
- 演示环境https://demo.maku.net/maku-boot
数据库设计文档https://kdocs.cn/l/caIBoD7HcEBL
API接口设计文档https://apifox.com/apidoc/shared-ff0060f8-8bb5-40c5-87d2-f8a29ee5ecd5
API接口加入文档https://app.apifox.com/invite/project?token=Xp3BUXBEYQ34hiKcFX-ub
前端代码仓库http://47.96.1.176:3000/work/book-web
后端代码仓库http://47.96.1.176:3000/work/book-api
## 项目说明
### 书籍管理系统
角色 用户
书本管理员(账号与密码你们自己创建 管理员没有指定的创建入口 但客户要有注册功能)
书本录入管理员
功能:
书本的上架(书本的基本信息 封面的上传 书本币的定价 库存)
用户的管理 (基本的增删改查 可以禁止用户登录)
## maku-cloud | 微服务低代码开发平台
- Gitee仓库https://gitee.com/makunet/maku-cloud
- Github仓库https://github.com/makunet/maku-cloud
- 演示环境https://demo.maku.net/maku-cloud
书本商城网页
商城首页
功能点:
1、可以根据书名搜索图书
2、可以查看图书的详情界面
3、可以查看评论【评论不需要回复功能】
4、可以收藏、购买、加入购物车的图书
用户个人中心
功能点:
1、基本信息
2、头像
3、书本币余额【用来购买的图书】
4、我购买的图书列表
5、我收藏的图书列表
6、我的购物车
7、充值书本币(不需要接入真实的支付 模拟充值就ok)
注:没有登录,不可以收藏、加入购物车、评论、以及购买。
## 安装
注意:需使用 nodejs 长期维护版本,如:[18.x、20.x],能保证项目的稳定运行。
要求:
1、使用redis作为缓存,
```bash
# 克隆项目
git clone https://gitee.com/makunet/maku-admin.git
# 进入项目
cd maku-admin
# 安装依赖
npm install
# 运行项目
npm run dev
# 打包发布
npm run build
```
## 微信交流群
为了更好的交流,我们新提供了微信交流群,需扫描下面的二维码,关注公众号,回复【加群】,根据提示信息,作者会拉你进群的,感谢配合!
![](https://maku.net/app/img/qrcode.jpg)
## 开源汇总
- 低代码开发平台单体版https://gitee.com/makunet/maku-boot
- 低代码开发平台微服务https://gitee.com/makunet/maku-cloud
- 超好用的代码生成器https://gitee.com/makunet/maku-generator
- Vue3.x 后台管理UIhttps://gitee.com/makunet/maku-admin
- Vue3.x 表单设计器https://gitee.com/makunet/maku-form-design
2、不强制使用security,但是前端必须要有token,后端可以统一用拦截器拦截做校验是否登录
## 支持
如果觉得框架还不错,或者已经在使用了,希望你可以去 [Github](https://github.com/makunet/maku-admin) 或 [Gitee](https://gitee.com/makunet/maku-admin) 帮作者点个 ⭐ Star这将是对作者极大的鼓励与支持。
## 效果图
![输入图片说明](public/images/1.jpg)
![输入图片说明](public/images/2.jpg)
![输入图片说明](public/images/3.jpg)
![输入图片说明](public/images/4.jpg)

View File

@ -55,7 +55,7 @@
</el-card>
</template>
<script setup lang="ts" name="MakuT_userIndex">
<script setup lang="ts">
import {useCrud} from '@/hooks'
import {reactive, ref} from 'vue'
import {IHooksOptions} from '@/hooks/interface'