it234 / goapp Goto Github PK
View Code? Open in Web Editor NEWGin + GORM + Casbin + vue-element-admin 实现的权限管理系统(golang)
Gin + GORM + Casbin + vue-element-admin 实现的权限管理系统(golang)
之前看过另外一个gin-casbin的项目,但是目录层级太多,梳理关系太麻烦了。这个就不一样,感谢作者~
你好,你这个项目我比较感兴趣,有计划做一个代码生成器吗?直接生成api,这样可以提高开发效率
因为你有本地其他mod,vendor是多余的,在goland中必须去掉vendor否则找不到本地其他mod
rt
把goapp的服务端开启,试图重新用vue-element-admin写一个前端连服务端的接口,当通过src/api/user.js的login登陆时,出现问题。
接口是同一个:http://172.18.70.xxx:8080/api/user/login
1.当使用goapp的前端提交请求是成功的
2.当使用官网下的vue-element-admin提交请求提示网络错误Network Error。
为什么同一个端口,作者写的goapp前端就通,我从官网下的就不通呢?
root@server:/data/go/src/github.com/it234/goapp/cmd/manageweb# go run main.go
main.go:4:2: cannot find package "goapp/internal/app/manageweb" in any of:
/data/go/src/github.com/it234/goapp/vendor/goapp/internal/app/manageweb (vendor tree)
/usr/local/go/src/goapp/internal/app/manageweb (from $GOROOT)
/data/go/src/goapp/internal/app/manageweb (from $GOPATH)
能否更新下文档, 说明go mod和vendor目录的生成方法? 谢谢
运行项目后,点击登录按钮控制台报错
Proxy error: Could not proxy request /api/user/login from localhost:9530 to http://127.0.0.1:8080.
请问要怎么解决,本人初学者,再次感谢这个项目!多谢指点
是否把前端路由和后端路由的分开会更好点,目前所有的权限管控都杂糅在菜单管理里面
左侧菜单,一个展开会所有的都展开,关闭也是
cmd/manageweb 下的服务默认配置是 8080. 假如端口被占用了。go run main.go 不会报错。但 localhost:8080 也无法访问
为什么运行的时候,app.js16.6M这么大呢
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.