1 Star 3 Fork 0

还行啊 / commbiz-api

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

commbiz-api

介绍

后端通用API, 开箱即用。 代码简洁!!

  • 框架: SpringBoot, MybatisPlus, 自定义Token, Redis

  • 封装:

    1. 通用Ctrl, 提供基础使用函数;

    2. 自定义返回参数, 如接口需要返回model不存在的字段可直接使用: model.addExt(k, v); 而无需添加冗余字段;

    3. 接收前端传参可将扩展参数统一放置到 ext对象, 使用 model.extv().getString(k); 可直接获取参数;

    4. 统一异常处理返回code, 支持自定义错误接口;

    *5. RBAC设计思路: [用户] 1<->N [角色] 1<->N [权限] 1<->N [API接口] *

    6. 统一登录认证机制, 支持自定义token放置在redis中, 支持多用户登录/单点登录;

    7. 基础函数统一放置在commons项目中, 每个业务项目独立, 只关注具体业务逻辑

  • 相关业务整合:

    • 阿里云OSS前端直接上传方式;
    • AliyunSMS短信服务;
    • 小程序授权登录;
    • 运营平台登录接口;

软件架构

软件架构说明

安装教程

  1. xxxx
  2. xxxx
  3. xxxx

使用说明

  1. xxxx
  2. xxxx
  3. xxxx
MIT License Copyright (c) 2020 terrfly 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.

简介

通用的业务后端接口, 使用 spring-boot mybatis+, 搭建,非常方便的快速开发接口; 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/haixinga/commbiz-api.git
git@gitee.com:haixinga/commbiz-api.git
haixinga
commbiz-api
commbiz-api
master

搜索帮助