使用 kellnr
搭建私服
https://github.com/kellnr/kellnr
下载安装
1 | cd /opt |
修改配置
1 | vim config/default.toml |
1 | #admin用户密码 |
启动
1 | nohup ./kellnr > kellnr.log 2>&1 & |
访问: http://{ip}:8000/
使用 kellnr
搭建私服
https://github.com/kellnr/kellnr
1 | cd /opt |
1 | vim config/default.toml |
1 | #admin用户密码 |
启动
1 | nohup ./kellnr > kellnr.log 2>&1 & |
访问: http://{ip}:8000/
wrap_fn 方法使用wrap_fn
允许你以一种简洁的方式,将一个闭包转化为 Transform
类型,并且返回一个能够被 Actix Web
中间件使用的 Service
。这个闭包可以接受请求,并返回一个响应。它的作用是简化实现自定义中间件的过程。
1 | use actix_web::{ |
1 | # "uri": "/boot**" |
rust 递归菜单 遍历菜单
1 | CREATE TABLE `sys_menu` ( |
使用 actix-web上传文件
1 |
|
博主本项目地址
https://github.com/wchar-net/donuts
前端采用 bootstrap-admin 做的一套后台管理系统
java22+
gradle
mysql
国际化配置文件 搜索 个人中心 控制页面权限按钮显示 目前尚未完善
导入数据库文件 doc/sql/sql.sql
博主是后台程序员,前端写的不是很好,感谢 bootstrap-admin 提供的前端模板
请配置文件上传路径,不然头像显示不出来
0.0.1-SNAPSHOT
donuts/123456 管理员
user/123456 模拟普通用户
http://localhost:8080/doc.html
1 | version: '3.8' |
1 | docker-compose up -d |