{"id":13813942,"url":"https://github.com/yunnet/gardens","last_synced_at":"2025-05-15T01:32:21.652Z","repository":{"id":30188872,"uuid":"124191905","full_name":"yunnet/gardens","owner":"yunnet","description":":gem: IoT background management platform :heavy_plus_sign: 开源交流群：202196300","archived":false,"fork":false,"pushed_at":"2023-03-06T22:56:19.000Z","size":42050,"stargazers_count":349,"open_issues_count":7,"forks_count":122,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-17T03:45:20.080Z","etag":null,"topics":["adminlte2","beego","d3js","garden","mysql","redis"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yunnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-03-07T06:46:49.000Z","updated_at":"2024-09-07T12:07:09.000Z","dependencies_parsed_at":"2023-10-01T16:22:00.747Z","dependency_job_id":null,"html_url":"https://github.com/yunnet/gardens","commit_stats":{"total_commits":73,"total_committers":3,"mean_commits":"24.333333333333332","dds":0.136986301369863,"last_synced_commit":"9fc9633a15a09ebbf865dfe3768baca8de4f7e15"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunnet%2Fgardens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunnet%2Fgardens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunnet%2Fgardens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunnet%2Fgardens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunnet","download_url":"https://codeload.github.com/yunnet/gardens/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256275,"owners_count":22040262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adminlte2","beego","d3js","garden","mysql","redis"],"created_at":"2024-08-04T04:01:37.416Z","updated_at":"2025-05-15T01:32:18.260Z","avatar_url":"https://github.com/yunnet.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# gardens\n\n[![QQ 群](https://img.shields.io/badge/QQ%E7%BE%A4-202196300-orange.svg)](https://jq.qq.com/?_wv=1027\u0026k=5QFXX0k)\n\n## 简介\n基于Beego开发的易用、易扩展、界面友好的轻量级功能权限管理系统。前端框架基于AdminLTE2进行资源整合，包含了多款优秀的插件，是笔者对多年后台管理系统开发经验精华的萃取。\n本系统非常适合进行后台管理系统开发，统一的代码和交互给二次开发带来极大的方便，在没有前端工程师参与的情况下就可以进行快速的模块式开发，并保证用户使用的友好性和易用性。系统里整合了众多优秀的资源，在此感谢各位大神的无私奉献。\n# 非原创\n  - 框架来源于 https://github.com/lhtzbj12/sdrms\n  - 本文博客http://blog.csdn.net/lhtzbj12/article/details/78847482\n\n## 特点\n* 分页列表页面的搜索条件、搜索面板、PageSize、当前页数、显示/隐藏列在变化时自动保存，页面刷新后、重新进入时，这些状态依然保持；\n* TreeTabe列表节点展开/收缩状态、滚动条位置时自动保存，页面刷新后、重新进入时，这些状态依然保持；\n* 编辑分页列表、TreeTabe列表中数据后，当前数据行背景闪烁，如果当前数据行由于顺序变化跳出可视区域，则滚动条自动滚动，将当前数据行移动至可视区域；\n* 精确至Action的轻量级功能权限控制，后台用户与角色、角色与资源（菜单、按钮）都是多对多关系，可以灵活配置用户可访问的资源。\n\n## 后端框架\n* 基于Beego，使用官方的orm、cache、session、logs等模块，感谢原作者提供了如此简单易用的框架（\u003ca href=\"https://beego.me/\"\u003e更多信息\u003c/a\u003e）;\n* 代码风格源自笔者本人其他语言的风格，但参考了多个开源系统的代码风格如 PPGo_ApiAdmin（\u003ca href=\"https://github.com/george518/PPGo_ApiAdmin\"\u003e更多信息\u003c/a\u003e）、ERP系统（\u003ca href=\"https://github.com/hexiaoyun128/ERP\"\u003e更多信息\u003c/a\u003e）等。\n\n## 前端框架\n* 基于AdminLTE2（\u003ca href=\"https://adminlte.io/themes/AdminLTE/index2.html\"\u003e更多信息\u003c/a\u003e）；\n* 弹出层插件使用了Layer（\u003ca href=\"http://layer.layui.com/\"\u003e更多信息\u003c/a\u003e）；\n* 分页列表使用Bootstrap-table（\u003ca href=\"http://bootstrap-table.wenzhixin.net.cn/zh-cn/getting-started/\"\u003e更多信息\u003c/a\u003e），并集成cookie、x-editable等辅助插件（\u003ca href=\"http://bootstrap-table.wenzhixin.net.cn/zh-cn/extensions/\"\u003e更多信息\u003c/a\u003e）实现状态保持、快速编辑等功能。对Bootstrap-table进行了扩展使分页导航可以通过下拉迅速定位。修复Bootstrap-table-cookie的若干Bug；\n* TreeTable列表使用jQuery-treetable插件，按照Boostrap风格进行了样式调整（\u003ca href=\"http://ludo.cubicphuse.nl/jquery-treetable/\"\u003e更多信息\u003c/a\u003e）；\n* 下拉框使用Bootstrap-select（\u003ca href=\"http://silviomoreto.github.io/bootstrap-select/\"\u003e更多信息\u003c/a\u003e）；\n* 高亮显示使用的是笔者自已开发的插件；\n* 分页列表里搜索条件、搜索面板状态自动保存使用的是笔者自已开发的插件。\n\n## 增加部分\n* 增加了font-awesome图标选择的功能；\n* 增加了font-awesome图标显示页面；\n* 增加了d3.js展示客户树信息和可全屏展示（\u003ca href=\"http://www.robschmuecker.com/d3-js-drag-and-drop-zoomable-tree/\"\u003e更多信息\u003c/a\u003e）；\n* 增加了用户登陆信息日志显示；\n* 增加了eCharts和百度地图的展示和全屏展示；\n* 增加了BoxWidget.prototype.maximize功能；\n* 增加了websocket测试实例；\n* 增加了nprogress（\u003ca href=\"https://github.com/rstacruz/nprogress/\"\u003e更多信息\u003c/a\u003e）；\n* 增加了bootstrapTable控件表头合并列显示方式（\u003ca href=\"https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/sticky-header/\"\u003e更多信息\u003c/a\u003e）；\n* 修改dashborad中增加connectedSortable可移动box；\n* 增加了bootstrap-table列宽手工调整功能（\u003ca href=\"https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/resizable/\"\u003e更多信息\u003c/a\u003e）；\n* 对百度地图做了动态线功能\n* 对eCharts拆线图增加了扩大缩小比例尺\n* 增加了对https的支持\n\n## 安装方法\n本系统基于beego开发，默认使用mysql数据库，缓存redis\n* 安装golang环境（ 略）\n* 运行MySQL和Redis\n\n## 使用\n* 安装本系统\n\t- `go get github.com/yunnet/gardens`\n* 将doc目录下的gardens.sql和kxtimingdata.sql导入mysql(业务需求，分库治理)\n* 修改配置文件 `conf/app.conf`\n* 运行在gardens目录使用beego官方提供的命令运行\n\t- `bee run`\n* 访问方式\n\t- http: 在浏览器里打开 `http://localhost:8080` 进行访问\n\t- https: 在浏览器里打开 `https://localhost:10443` 进行访问\n\n* 升级\n\t- go 1.17\n\t- beego v2.0.1\n\n  使用goland请设置代理\n\n  https://goproxy.cn/\n\n\n## 系统截图\n![登陆页面](https://github.com/yunnet/gardens/blob/master/doc/image/login2.png)\n![仪表板](https://github.com/yunnet/gardens/blob/master/doc/image/dashboard3.png)\n\n## License\n* MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunnet%2Fgardens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunnet%2Fgardens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunnet%2Fgardens/lists"}