deatil / lakego-admin Goto Github PK
View Code? Open in Web Editor NEWlakego-admin 是使用 gin、JWT 和 RBAC 的前后端分离的 go 后台管理系统。An admin api system with gin, JWT and RBAC.
License: Apache License 2.0
lakego-admin 是使用 gin、JWT 和 RBAC 的前后端分离的 go 后台管理系统。An admin api system with gin, JWT and RBAC.
License: Apache License 2.0
v1.0.22
go 1.19
未测试
请求接口loalhost:8080/admin-api/admin?limit=3第一次正常,第二次报错too many open files,信息如下:
2023/02/28 14:57:47 /home/go/src/lakego-admin/pkg/lakego-app/doak-admin/admin/model/attachment.go:49 record not found
[0.563ms] [rows:0] SELECT * FROM lakego_attachment
WHERE id = '1f3cd4fb-f7e4-4b41-8663-167ca23ea5ab' ORDER BY lakego_attachment
.id
LIMIT 1
2023/02/28 14:57:47 too many open files
debug调试下用 lsof -p 18645|wc -l命令统计打开文件数,每次调用一次AttachmentUrl打开的文件数都会增加
No response
latest
1.18
可以
安装不成功
1 安装时候会因为sql不对卡住 体现在install.go 72行 Error 1065: Query was empty
2 github.com/deatil/lakego-doak/* 里面的包下载不下来
No response
listen tcp :8080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
在哪里调整端口号
【数据库配置后连不上,/config/database.yml 已配置】
==============>go run main.go lakego-admin:install
开始安装并导入数据...
panic: 数据库驱动[Mysql]配置不存在
1、Whereis the system route , they not in app/admin/route
or app/index/route
,where are they ?
2、the page refersh by cycle
just answer my question
"crypto/ecdh" 比如此包 需要1.20 (https://pkg.go.dev/crypto/[email protected]?tab=versions)
建议修改一下md 对分支适配版本描述清晰
后台运行正常,无出错
前端开启,在浏览器打开后出错, 后端自动断开
例子 Register 注册
例子 Boot 引导
too many open files
exit status 1
No response
admin / 123456
the account is wrong password
change correct password
v1.3.0
go 1.20.3
可以
問題發生在目前main branch下
主要 Issue 為 Redis 連接池無法釋放
Clone 目前main branch
配置好Redis Config後
啟動 lakego-admin 前後端
開啟登入頁面
觀察 Redis Server 上 connected_clients 數
開啟 lakego-admin 後端前
connected_clients 40
開啟 lakego-admin 登入頁後
connected_clients 440
此後每次刷新驗證碼即會增加100
connected_clients (440+ CaptchaRefreshTimes * 100)
自 lakego-admin 後端關閉之前
connected_clients 數量將不會變動
需關閉 lakego-admin後端 後或重啟 RedisServer 才會釋放
No response
1.0.1
1.18
可以
前端网络请求payload如下:
name
: "admin"
password
: "e10adc3949ba59abbe56e057f20f883e"
账号密码不对
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.