go-admin
go-admin copied to clipboard
FixBug: update user.go, solve login bug interface conversion:
-
Environment: DB: mysql orm: unuse
-
Description:
When I have installed go-admin, and I login on 127.0.0.1/admin/login use default admin/123456. I found this error
. This is because interface converse in line353 plugins/admin/models/user.go. And in my db, there is some menu that don't have parent
- Solve
I remove the rows that without parent_id.
mysql 驱动版本问题