Design and Implementation of Electronic Mall System Based on SSM+MySQL

Source code and sql file download address : https://download.csdn.net/download/sheziqiong/87788718
Source code and sql file download address : https://download.csdn.net/download/sheziqiong/87788718

Morning is a basic Java development platform built on the basis of Spring Framework. It uses Spring MVC as the model view controller, MyBatis as the data access layer, Apache Shiro as the authority authorization layer, SLF4J+Log4j2 as log management, and Ehcahe to cache common data. , using the Dubbo distributed service framework for distributed system development.

Background management system (CMS) , including administrator management module, member management module, product management module, transaction management module, system management module, etc.

E-mall system (OS) , including user login module, commodity tour module, commodity purchase module, online comment module, online question module, personal center module, account management module, etc.

Technology Selection

1. Backend

  • Core framework: Spring Framework 4.3.5
  • Security Framework: Apache Shiro 1.3.2
  • View framework: Spring MVC 4.3.5
  • Task scheduling: Spring + Quartz 2.2.3
  • Persistence layer framework: MyBatis 3.4.2 + Mybatis-plus 2.0.1
  • Database connection pool: Alibaba Druid 1.0
  • Cache framework: Ehcache 2.6 + Redis 2.9.0
  • Log management: SLF4J 1.7 + Log4j2 2.7
  • Layout Framework: SiteMesh 3.0.1
  • Distributed Application Coordination Service: ZooKeeper 3.3.1
  • Distributed service framework: Dubbo 2.5.3
  • Interface testing framework: Swagger2 2.6.1
  • Tools: Apache Commons, Jackson 2.2, fastjson 1.2.20

2. Front end

  • JS framework: Jquery
  • Table plugin: Bootstrap Table
  • Form validation plugin: BootstrapValidator
  • Date picker plugin: Datepicker for Bootstrap
  • Pop-up component: Layer
  • Data chart: Echarts
  • Form beautification plugin: ICheck
  • Tree View Plugin: Ztree
  • Background management system template: H+
  • E-mall system template: Xiaomi official website

project structure

insert image description here
insert image description here


Quick experience

Run the project configuration instructions

1. The background management system (CMS) project does not depend on the ZooKeeper service. (Do not use the Dubbo distributed service framework for distributed system development)

1、具备运行环境:JDK1.7+、Maven3.0+、MySql5+

2、根据 morning-common\src\main\resources\properties\jdbc.properties 配置数据库

3、导入数据库 project-doc\database\pussinboots_morning.sql

4、用Tomcat等服务器运行morning-cms-web

5、后台管理系统(CMS),账号:admin 密码:123456    测试地址:http://localhost:8080/system.morning/login

2. The e-mall system (OS) project does not depend on the ZooKeeper service. (Do not use the Dubbo distributed service framework for distributed system development)

1、具备运行环境:JDK1.7+、Maven3.0+、MySql5+

2、根据 morning-common\src\main\resources\properties\jdbc.properties 配置数据库

3、导入数据库 project-doc\database\pussinboots_morning.sql

4、用Tomcat等服务器运行morning-os-web

5、电子商城系统(OS),账号:[email protected] 密码:xh2013212542    测试地址:http://localhost:8080/morning/index

3. For the distributed system development of the Dubbo distributed service framework, I have been working on business logic. Interested friends can refer to the 2.0.0-SNAPSHOT version and modify it by yourself.
https://git.oschina.net/Morning_/Morning/tree/2.0.0-SNAPSHOT/

Development progress

Background management system (CMS) development progress

insert image description here

E-mall system (OS) development progress

insert image description here

data model

Background management module database conceptual structure design ER diagram

insert image description here

ER Diagram of Conceptual Structure Design of Commodity Module Database

insert image description here

ER diagram of conceptual structure design of order module database

insert image description here

User module database conceptual structure design ER diagram

insert image description here

E-mall module database conceptual structure design ER diagram

insert image description here

demo interface

Background management system (CMS) preview

insert image description here
insert image description here
insert image description here


E-mall system (OS) preview

insert image description here
insert image description here
insert image description here
insert image description here


Source code and sql file download address : https://download.csdn.net/download/sheziqiong/87788718
Source code and sql file download address : https://download.csdn.net/download/sheziqiong/87788718

Guess you like

Origin blog.csdn.net/newlw/article/details/130699476