Git Product home page Git Product logo

luvwms's Introduction

仓储管理系统


基于SSM的前后端分离的仓储管理系统,前后端交互遵循Restful接口原则。

线上地址 :wms.luvletter.cn 账号:admin 密码:1

技术栈

后端

  • Spring+SpringMVC+MyBatis
  • 缓存使用Redis,并使用Spring Cache的缓存注解,可以直接应用到方法上。

@Cacheable(value = WMSConstant.REDIS_CACHE_NAME)
public ApiResult getComboBox(String pid,String value) {
    ApiResult apiResult = new ApiResult();
    List<Dictionary> dictionaries = dictionaryMapper.selectByParaId(pid, value);
    if(dictionaries == null || dictionaries.isEmpty()){
        apiResult.isFalse();
        return apiResult;
    }
    apiResult.setData(dictionaries.get(0));
    return apiResult;
}

前端

  • 使用阿里巴巴开源的Iceworks构建
(前端代码在这里

权限管理

  • Spring Security+JWT (可以细化到url的权限管理)

关键代码

//在身份验证前添加token验证
http.addFilterBefore(jwtAuthenticationTokenFilter,UsernamePasswordAuthenticationFilter.class);
//替换身份验证过滤器
http.addFilterAt(customAuthenticationFilter(), UsernamePasswordAuthenticationFilter.class);
//在权限筛选前添加自定义的url方式筛选
http.addFilterBefore(urlFilterSecurityInterceptor,FilterSecurityInterceptor.class);

登录权限验证过程

登录权限验证过程

访问页面权限验证过程

访问页面权限验证过程

系统功能图

系统功能图

部分系统截图

首页

首页

商品列表

商品列表

人员维护

人员维护

角色权限维护

角色权限维护

本地部署项目

  1. clone项目到本地
  2. 执行mysql脚本
  3. 数据库配置文件在luv-server中resources的jdbc.properties和wms-common中resources的jdbc.propertieste
  4. 安装Redis,并配置luv-server下resources的redis.properties
  5. 用Intellij IDEA打开项目,Maven加入luv-comm、luv-server、luv-wms-parent,并依次执行mvn clean install
  6. 配置tomcat,就可以运行了。

luvwms's People

Contributors

j2ephyr avatar

Watchers

 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.