1 Star 0 Fork 22

yirenji / lzq.admin

forked from 糊涂的老知青 / lzq.admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

lzq.admin

介绍

Golang语言实现的多租户SaaS系统,项目基于gin、xorm、jwt、swagger、vue实现的前后端分离多租户后台管理系统,主要功能有多租户、用户管理、RBAC权限管理、按钮级别的权限校验及redis缓存,日志支持Elasticsearch

功能

  1. 多租户:同套代码,同套部署,根据租户进行数据隔离
  2. 系统用户管理
  3. 菜单管理
  4. 操作权限管理:支持菜单、按钮级别的权限校验
  5. 角色管理:支持账号多角色授权
  6. 日志系统:支持本地日志文件和Elasticsearch

软件架构

软件架构说明

安装教程

开发环境搭建
  1. 安装MySql数据库>=5.7(必须)
  2. 安装Redis数据库(必须)
  3. 安装ELK
  4. 安装Node(必须)
后端
  1. 安装golang及搭建golang开发环境
  2. 安装Goland或VisualStudio Code开发工具
  3. 复制tools目录下的hsf_basic_dev.sql脚本到自己的mysql数据库中执行
  4. 使用golang开发工具运行代码或者进入项目的lzq-admin目录中,使用操作系统命令方式运行golang项目(go run main.go)
前端
1. cd lzq-admin-vue
2. npm install --registry=https://registry.npm.taobao.org
3. npm run dev

可能出现的问题及解决办法

1. 报node-sass错误

解决办法:

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass 

界面展示

MIT License Copyright (c) 2022 糊涂的老知青 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Golang语言实现的SaaS系统,项目基于gin、xorm、jwt、vue实现的前后端分离多租户后台管理系统,主要功能有多租户、用户管理、权限管理 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/thinkphpbox/lzq.admin.git
git@gitee.com:thinkphpbox/lzq.admin.git
thinkphpbox
lzq.admin
lzq.admin
master

搜索帮助