Code Monkey home page Code Monkey logo

iot-platform's Introduction

物联网云平台基础架构

#####本系统采用SpringBoot、SpringCloud基础框架搭建

具有以下模块

###一、shiro权限管理

  1. Shiro 初始权限动态加载
  2. Shiro Redis 的集成,权限修改后,可实时清空缓存
  3. Shiro Ajax请求未登录(过期)的解决方案,重写UserFilter过滤器,增加ajax全局错误事件
  4. Shiro Ajax请求权限不足的解决方案,增加全局异常UnauthorizedException、AuthorizationException的处理
  5. Shiro thymeleaf的标签封装
  6. 用户密码加密传输
  7. 验证码校验
  8. 记住我功能
  9. 登录失败次数限制(redis)
  10. 在线用户列表显示,强制下线功能
  11. 提供用户-角色-资源-权限的维护功能

###二、通用CURD的service层、mapper层封装

  1. 封装了BaseMapper接口,业务功能只需继承该接口就包含了通用的CURD功能
  2. 封装了BaseService,业务功能只需继承该类,就实现了通用的CURD功能
  3. 针对树形结构的功能,单独封装了BaseTreeMapper、BaseTreeService
  4. mapper.xml里面的sql语句未封装,需自己写
  5. 写日志到数据库功能封装,用@WriteLogs自定义注解实现,只需在要写日志的方法上加上注解即可
  6. 跨域功能的注解@AllowCORS,在需要跨域访问的controller方法上添加即可

iot-platform's People

Contributors

etongs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.